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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.28-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.28-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.28-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.28-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.28-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.28-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.28-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.28-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.28-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.28-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.28-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 86e4a3219279d4f23bca1c3c1e0d5dfae5ebc4c958d82a0b3687cec4a57f0c68
MD5 c32aefe6b1b78dbeabdb81420168574b
BLAKE2b-256 23dbaef5f067e29435f0868d919b7109446d78bd0b5fa0c7e5647428f854e007

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a5fc5b6205da3eed3dae8349eb4d09e92b09f74fc8e5b7e5ae8c996847dce39b
MD5 372da712fae90973e827bd5cf79d78b1
BLAKE2b-256 5b2f61eb741a03b673a4ebe3dcdeaed1d47d4aa6cb8042bdc5ec4286503b53c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 208ad3e5c5e99576f2ae6b974bce9dd4ea3e64f55a675627760e8ffa199fea90
MD5 f649128f7a91d1be51a53f74c07e1eac
BLAKE2b-256 cb6d18aa2b1012886f42452c6dfc1ff4a8c6c398f284797e0f5dd64cb5b2de0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4a40e8593b6c42ddf5bccba324cd009cc3910f0b5ccea7078c3752d05ed55297
MD5 e9ead2ec1174e051c449ec28979c699e
BLAKE2b-256 c851adcc23cfcc707f942fe20c8c573c62def600de5ab8dc3cb5ff8f89c154a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.28-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.28-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 691f45ac423d04e85122c89f18f67919f7130eb5ccaad06912aca8cc7a331080
MD5 be028b4518a466a4bdef115d5c0e74b0
BLAKE2b-256 25069a219726a2e329dfd6fe0a8623b1896dccd40c1770920dfb52c554d2c1fd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8e4546e405a8a5c67ba3d80af59f23da2ec56cbff5305c8d33bdf634ab75293c
MD5 c6cb0143a52735923599c098df28953f
BLAKE2b-256 a240ae3836c9b229f5f635597b028513cf6bfb12fa9515773f88aa8aea82351a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f32ed1eba4bd621a2955e7cef13bae5c1c45c175f01448f3d1ba11c55df9983d
MD5 a82daf148ab362e5e7f8d49cf7626dc2
BLAKE2b-256 04d47d5d3b1df8358c263f0eb0a4c0270e8a9912d13d5f32b4c8ed7a31ca2391

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b2a3294b762fcbb691a3ed3cd510ec3c77808048152c8cab066dcba710f7d8ca
MD5 ecc50562f5c6e6d7edf4b2e4d2cc05f5
BLAKE2b-256 ed57860795a9546a262bc733e84ce8bac4bd0f107cf107e67a4e73ec81ac05ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.28-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.28-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9be34d7183e4ed2c352e4e2cc8d9dd02761fc2911ccb8123ac6ca55962e1600d
MD5 45ca3c5f2f061ced4bb90b58277dfdbf
BLAKE2b-256 93c255f8175734ce450f9a2c0d6b38c0fb25e9882ba4f776e9e3986505227562

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c98fc6eabe2ee2e2cd6cb9b7cbb5568b17d2cab8a8bcfc766c9bbf8133488edc
MD5 a8c8c472a3d61578404d79c74a66ca04
BLAKE2b-256 f014a3176413452cf1b2082007a9efa8804a8b4dbd5ecd74e44023835a50abc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 625cf77ef030e770d8981826a6edd763f61f76f91323190f6d267e28542dcb76
MD5 3be301db1e6e82360fb978715f8f19b3
BLAKE2b-256 5ce874e6a544e7f164f031119d8f3fb443515bd61dde060cee85bc95b7d07e87

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.28-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.28-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.28-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 99bbf144fb5d2db4431f67feadbe0c6e674b6b4a276e5ea2d7b42dea5f8fde90
MD5 0289444eb80889b51daec83eb41de217
BLAKE2b-256 b6fa4e2739df88eead7fc74b65647bf5a865a5b922b76f8289e704b2de77aabd

See more details on using hashes here.

Provenance

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