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.24-cp313-cp313-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.24-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.24-cp313-cp313-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.24-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.24-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.24-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.24-cp312-cp312-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.24-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.24-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.24-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.24-cp311-cp311-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.24-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6a2153daa3c8a3c1918758dac67e11d8cee5fbc2b544c4238ef75f4661c70e34
MD5 666345e4d088219987322b63b6830c28
BLAKE2b-256 b61271256268e37238ba2ca19ed0c2a913b35069e4c21dd73f280e71de3d41c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.24-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.4.24-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0d7ec27adb5b449d71999ef305405e204da7a1d767a65b1bc20eb36eab41e66d
MD5 3c3d4274b23be185a665185d56cfa387
BLAKE2b-256 bcd0740a3d9ccdc3a036e347b96ea9e4364475824e5eeba7eea4c29c62282c60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 50e4e1b80046d1626d1e3bd4ff0420405de04d4019286aabd2d1473d6c7c9373
MD5 8c0f785280f7bfda1c0aaf62eb7dbd81
BLAKE2b-256 90faedb7a0a055840a155cfaea24127885de99f46bc5e8acd7b9247f3d9d4190

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.24-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.4.24-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fb5fa4a22f754f2a5c34d8ca8ca1a4405402e626948dcf7cd020434cdbcb117a
MD5 f0a4cde703ed720257b557880b58dc1c
BLAKE2b-256 22bd57e21caabc8f962da47e23b5d167e878775bb1a0b474df45db7653eb5795

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.24-cp313-cp313-macosx_13_0_arm64.macosx_15_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.4.24-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 33a351edbaad49629bd26e3ecb1b164f28445655aad4446cd4586919b96e663a
MD5 649388121ef4c4e0c9c16a94e0f6ec4a
BLAKE2b-256 2bf27b85e2a25e38a814abdbb4afefd355d2b53493b4b07b310ef842534d4e33

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.24-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.4.24-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 eee5b13b3a9e000b72d4176b642d031123817c98c1fb2fed2fd6c301685e6be6
MD5 7a4b2e54fd9d0b2a26cd862ae69c8124
BLAKE2b-256 ebbcc5861a3fc95347c1748b91cb7f4dfd7777000083cd668e2bad5a06ffbe06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8f452ee933bcd9830be39a9fb5575a9e71a4d995ec7f787a2df49dd47509fbdf
MD5 1962f0fd0f31c4719db8892d69a34ca3
BLAKE2b-256 72021f43a0bb450c6546e9e622af1fad47eb8db5220edb5353702f3c9c4dc1fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.24-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.4.24-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ed59054f7ccb7b204f4de930519c07adcb0b3d60ab38187876bfc865b285e9d1
MD5 95290ef474b3f363292948594cf6abc5
BLAKE2b-256 aa05ee3061731db1f122c7ba1492ba170fd0e0dc87f980e7378dbd9493651c17

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.24-cp312-cp312-macosx_13_0_arm64.macosx_15_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.4.24-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f4032e73ea23abbc693c4d66f3c8a777ec2c0397109ddf458f8824c558440dba
MD5 1a915d7e8aa57cd1859ded9ef760e95c
BLAKE2b-256 81b6935a7cbbfda868b8fe766fac19ae5e919d53eee97af05605b76fab544c05

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.24-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.4.24-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3929f1ee8281f415a81cd1413fc37147a1a533af2859a2d44ea31aecef787f82
MD5 d3f89612b398eba10503b9a8a1fb84bf
BLAKE2b-256 d8d042b8456dc5a381d8fd6925da0c6e556e75fbe28fd73abe7b3e1971a4938f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 705e531c904f47a541b923735c83598d6e405a47fb27f36872114c1cbd99b094
MD5 dda2547d50d6906b242d1a699daa71a2
BLAKE2b-256 c80f66858e9c92f7d85a03b43a2e20c2f17226a0e35f70d33a888c73dc4655ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.24-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.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.24-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e49f38c75278a6824337fb8b7be86a994bbdbdca253a172a0c2ad38e43805704
MD5 6a77fbfbb2842a23243c2788192063ba
BLAKE2b-256 24d6cd9614fc1130cb6a2c41d7e8bc00c5f0840e3a73c5128502de09fc3d07a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.24-cp311-cp311-macosx_13_0_arm64.macosx_15_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.

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