Skip to main content

A library containing components related to model inferences in Gen AI applications.

Project description

GLLM Inference

Description

A library containing components related to model inferences in Gen AI applications.

Installation

Prerequisites

1. Installation from Artifact Registry

Choose one of the following methods to install the package:

Using pip

pip install gllm-inference-binary

Using Poetry

poetry add gllm-inference-binary

2. Development Installation (Git)

For development purposes, you can install directly from the Git repository:

poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git#subdirectory=libs/gllm-inference"

Available extras:

  • anthropic: Install Anthropic models dependencies
  • google-genai: Install Google Generative AI models dependencies
  • google-vertexai: Install Google Vertex AI models dependencies
  • huggingface: Install HuggingFace models dependencies
  • openai: Install OpenAI models dependencies
  • twelvelabs: Install TwelveLabs models dependencies

Managing Dependencies

  1. Go to root folder of gllm-inference module, e.g. cd libs/gllm-inference.
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-inference requirements for the first time.
  5. Run poetry update if you update any dependency module version at pyproject.toml.

Contributing

Please refer to this Python Style Guide to get information about code style, documentation standard, and SCA that you need to use when contributing to this project

  1. Activate pre-commit hooks using pre-commit install
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-inference requirements for the first time.
  5. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  6. Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gllm_inference_binary-0.4.48-cp313-cp313-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.48-cp313-cp313-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.48-cp313-cp313-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.48-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.48-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.48-cp312-cp312-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.48-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.48-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.48-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.48-cp311-cp311-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.48-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.48-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_inference_binary-0.4.48-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d50e1419f6975eb2ee9049e954461aa5fbab358cf18b7ac670601ca2a28bedca
MD5 b8ae5b767b760104ec0fd2fed77e776b
BLAKE2b-256 ddcac1e0558b3e8ef791f22933ea8d5afd713c731ad249d293698ad7da1d3d93

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.48-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.48-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ef4e3cd07291d0094d4949a7ed0c88324867c707aa084e4d41f0d4adea1f6377
MD5 d8acea3960d563b9dd1ea184814157db
BLAKE2b-256 58b0a38816f35aba5c539a1f00116da04b057d3e96a67108b676ed84ad7025c3

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.48-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0b4db333650cbf6a7de386a330c5e3ad47a81c215c2f3c03e1f72a8188a33da9
MD5 1dc1fd3ec84848eb35cd7a0a8eb7170a
BLAKE2b-256 897ac688ee3d88200d0ed935da1b87fc2f76164e87caed7525d0eb463917f6eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.48-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.48-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 39019219c581e2fbb3810037a36f36a7d8a2facc113feea4b36d40c44cd3ebd6
MD5 75bd3942f9e892ab182ff061e404e325
BLAKE2b-256 8bc980dd48920682850052cca42c298ed59e5edb18426b7a08e00bbd9128a2de

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.48-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.48-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7592b5efb22b1f5e640c29ccf9fddae2c68fb066d17ef61bb33f70dead719cff
MD5 1452c44cfb7077b229c3d1fa19f6cc88
BLAKE2b-256 30a380cc86b0f44fb7fab07d6edcd51e79e5c1e986eb1d7e93c29ea528386d50

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.48-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.48-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 dbbe7f279c0cf30a8988c1e55afa304b70603c848be0889d7834d88c4c0a5c06
MD5 7f8ace526889543a5a36164ec066c32f
BLAKE2b-256 feec90a6d15541a6ece957da017381b6b5caf0bb2bbf01b428928b29b107ddd0

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.48-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9485593321ab377a1d7dd164caea71739c2ab5d9f0d6110a52d755cd475fce52
MD5 3870fce306783488db1964d07850459f
BLAKE2b-256 5977116665fc6e09fd74d53ba13f2010cdd178933bcb21f1bedf6f8be1a299f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.48-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.48-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 661e9d460c7207fa2ae53bb3a0503dd3bbc64f4735068a7bb80aa61be2205a76
MD5 faab3e083d8de24df3877c51cf20ce8b
BLAKE2b-256 75912881a7609d78c04c3e423dd4e9b40f594575c77c8179933ad4383389de20

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.48-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.48-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0119be64472a28b82780c70b9b7a4d19385b06993a7ac3acb5c2e19aff0ba54e
MD5 7b8f8b02dec6eacbcd6458a5341663fc
BLAKE2b-256 47d98659341541b81d20824e799b9cc4433290aac116051c60aef990f5d2e99e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.48-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.48-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4c8f464cd70f98d77f5f73439cb1997c546c28148c8e2cbd13506c78017a3577
MD5 d22d088a5262b7ac7d4f0eb11097b206
BLAKE2b-256 ef5e5a9d2a5c8943fce1238a312ce3280282272fa5cce5ec927e92df5bd8bf25

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.48-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 32f852059e19a44b68b47b9fdd5fe987dd2f383905879bbf72b63d63fc5f8b76
MD5 e707b2b3487c6cf780370a1655bfe629
BLAKE2b-256 4ad6fab0f03299922cf1a9b26eb0b9f9ccf9be715c328efaf57326678f5d60fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.48-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gllm_inference_binary-0.4.48-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.48-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d145bfa5165283c17a89db985299a265e0c5083e3ca8e43a5033423adb9072be
MD5 ec47a25048bbc331a822600ccafef13d
BLAKE2b-256 3973f8ec11b1beb3bfd3bc55f702f0270a4f6b7a66f0b940466d539ab9b1b4ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.48-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page