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.3.0.post1-cp313-cp313-win_amd64.whl (835.8 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.0.post1-cp313-cp313-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.0.post1-cp313-cp313-macosx_14_0_arm64.whl (923.3 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

gllm_inference_binary-0.3.0.post1-cp313-cp313-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.3.0.post1-cp312-cp312-win_amd64.whl (837.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.0.post1-cp312-cp312-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.0.post1-cp312-cp312-macosx_14_0_arm64.whl (918.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.3.0.post1-cp312-cp312-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.3.0.post1-cp311-cp311-win_amd64.whl (845.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.0.post1-cp311-cp311-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.0.post1-cp311-cp311-macosx_14_0_arm64.whl (908.4 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.3.0.post1-cp311-cp311-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

Details for the file gllm_inference_binary-0.3.0.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1a8a3f63ffec384edf96af36a4b97277356df68ba83d27c27d4868a4bbfc6b31
MD5 d66ec98bde2eb09437e512b21ea2adb1
BLAKE2b-256 fe7df454819957206c999d71e0f3ae572f78924d5ac4fa33d334dcbbf983cbd9

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.0.post1-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9fd5883716e075cfa97f2fd859eee5308a2b6c239d89c829cfd1f9dbb73fd935
MD5 db61e4379884750121f24b5fa43ba2fc
BLAKE2b-256 2293075666b0489e5bd957d1734f0558b2bab56c2bc264eeea66bfb61da5d3b5

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.0.post1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5514ed53d6f941e661f43184c4fe09b34b9e9562b56926669b930bad6c16c76e
MD5 923167942eb8700fab03eff62bd86f03
BLAKE2b-256 a7f47cfdc1588694e24a1abd5dc1932d924b84f6430e7c9a46370bc88c036679

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.0.post1-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.0.post1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e64bd9446dbc821228e58a157190e82431acadc88bec2f23ff40da87a9f6119c
MD5 121a3eadc3888fb168a903635fb386dc
BLAKE2b-256 26a3650ed6c77faffe6f0f590604eee1ee3c7d2e48e3b495a15d35af5b3d4002

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.0.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 596872dbc54924ca51a14031f2ed8facde942083531ab5442fc6bc6044394ffe
MD5 99eb7fd4f311289af331f10f1452e19e
BLAKE2b-256 8b306bc7b440b7aee0a26fd6187f8c9e53d6ef886b516cdf77a04af3cbc7fcc7

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.0.post1-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 44625ddd0d6ef79940763b7d4b0e3fd71519bc259b01b8c220a327e722676c35
MD5 0c72df35127dfa39b28142ea37104756
BLAKE2b-256 9b949377a0d043331585d8b46a6f0e029614e22786479bc5a4d493fab58deb8c

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.0.post1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fa521397e15a98f2eb03407835b197ca14d2aeff07aa212f1b75a97255ec670c
MD5 9721dc1ad04c9b5993f639194da5c534
BLAKE2b-256 da4b95f316628ac17e5d36b0656711de69244cc2fa7f74d39e2efd0400948617

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.0.post1-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.0.post1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 40f07109bb2a0b4ff883cc7420731a01213ce9e79186f4acc5dd14bb2e2819f6
MD5 f54bdef5023fbca39e5e4025269f49cb
BLAKE2b-256 d879cbd6ef5bc77cc45ba4d62498884f28140486d6a4550cee298816de9f4434

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.0.post1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 96d191986a7314ae43b6a48518a146c60548d99bfcb83b771737d0bce5fb851e
MD5 ca41fbf3a6a16bc5c6494b4634b1cfdd
BLAKE2b-256 89dc37b056424ee39bd53955b1797d11762ab35ee6c71fa63e024d8026d58db5

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.0.post1-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6ba86eef64cfaa815495c2fd1b32488d2e5d12debdc4c47b45d367524c673a23
MD5 8a8a3317ed9ca8f2192e9a7bd2813a4e
BLAKE2b-256 303bd0368c9665b14ac821060def35759ddbcdf2c3b749d34e1ee05624b20517

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.0.post1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 87999fde26dba9c9981d54dcd62bc5e204140c194d815a1e0c5e96a9c04587b8
MD5 593b7ea02d81b2df47f57f7b1fc900f2
BLAKE2b-256 904f7af59f87b6a258914c8d1fe18221be1af66451b24314fdfd5e2b656e4d74

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.0.post1-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.0.post1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.0.post1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bc7ecc552bbfd4b8424cba7ef90e92e62db4ee1b1befdd3c01c694a2e2b71890
MD5 5d5536387e1bd6e6272c050266c24828
BLAKE2b-256 2ee93ee8828a6549f5afa0f542f9dad992be0c97303d7d9069b0499780bcbb9b

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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