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.2.52-cp312-cp312-win_amd64.whl (853.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.2.52-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.2.52-cp312-cp312-macosx_14_0_arm64.whl (941.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.2.52-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.2.52-cp311-cp311-win_amd64.whl (864.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.2.52-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.2.52-cp311-cp311-macosx_14_0_arm64.whl (932.9 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.2.52-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.2.52-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.52-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4bdef2df051df89a287d03601df0fcf908e18b2a85685790a9bfde65554a236a
MD5 da443a413abccb58a0770d478584dcd0
BLAKE2b-256 1ea0e04bae53945d172c0cc574ad8a7f0d5c6f4abec9b01127756c7ba6540b64

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.52-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4b665c57a3fe9273f9135a0490833c0a74d207a7495961ff15e27be50072ab04
MD5 4be96520da38805cb471b647600378ca
BLAKE2b-256 aebd70c565ce9b9841c1907888bb388080777c2749c2e10faf36dc9640dcf9a3

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.52-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.52-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4456935c482bc3ec25116d14f2c7abee659ba2c8723552e57309c742144cec74
MD5 6ae536e614d16403803adcfde60a4702
BLAKE2b-256 774ce54a94b96073af663e02664bd6f8208d9bc052b7be187a5c9c9cdeadfcc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.52-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.2.52-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.52-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 92ccaea1a6b7acd0ecfd202f5d5e8052e98d43aa4cc4eb776668af441236fe86
MD5 6d19bf52bc36730172f039c205ce5804
BLAKE2b-256 1732834fff46de9e56e5dfc6cd4012b4ea3ffacdd1fbaf2e025bfe63c9aeae19

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.52-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 740f86122e65c8809d539e7c7400b74c6d9058e87981afb333b0e67ac5453675
MD5 51a1381af943e5f656285f4e8b73a04d
BLAKE2b-256 1656b4623f23978590708919a4dbf33c6a8b54d4e1ca3e2d085d86958e70edb7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.52-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 db23304c9d502ec874c77e65341939c1193aaa23b30c39e93abd00c492c053be
MD5 cd803251c47113ba39bed991655c0ddd
BLAKE2b-256 70c897cac2572c39ff101d239ef61eb27142695c5f9d78209704295d940d20b4

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.52-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.52-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bf7db7814e0c53054e4f66c2531586b855a9f953239d184d15500691f5fa3b53
MD5 afad270e788a71176a16aad4e69d9d4c
BLAKE2b-256 c398bd04e1274fe88538d2adf9355d31ae04a6e7362b7338f532abdf764c5f98

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.52-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.2.52-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.52-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1cfe3903f565726e91fb2fc1d36212ee81eececd596b6ec3b107a9cc00f6005e
MD5 830ec5e55b8ee342e5a1402627b7165b
BLAKE2b-256 c21c8e61fd52eed52e28a9c2e304515233d71564f240dce00be22a9977c7928f

See more details on using hashes here.

Provenance

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