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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.23-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.23-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.23-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.23-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.23-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.23-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.23-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.23-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fa32a52ed6b48f6f987d652c6da2351b4120b0c084af1f47e028f7d083f79bf5
MD5 ddaac8410033b7ed56efe148d779f222
BLAKE2b-256 37337150965cad96a967879aca06f00db88c38c7fdecdfd60d4cb12f0f71d26e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3936a33bfa08ff744a37f70e90d1d4e46371689d6e97cdb8e4a2b04630bb177b
MD5 641e23da2e049751197fe936c15a9ab7
BLAKE2b-256 c45b2b8c25f2fa33125031bec1e6ca6c6e8c99319ebefb33c370ea3b5ac991f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eb16145cac3dc516d895c69531b807cd458af13c69581db7389fbdd61e97c993
MD5 c8e4bc1b0501fb8c3921a46e6f2da27b
BLAKE2b-256 0e578573a10abbc07cbc4d4fb827900774d69e145e7bf85a542a6d851442f1cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4913e56e8ac0267064401d57f7c258ae352a2cb0753b198872099a7456022aef
MD5 6bdb61bc78bfde6e4d1211f53d3f21db
BLAKE2b-256 2c1894aec2b0e0c12e526680992d451ffdc274ca8264b33025f64c39ecb4795a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ba32ba182566c50c69a82c5e9be71ca5e5222f607e52d9c7ef219a6bb01262f3
MD5 163b5e515afeb769653e9d954c25dacb
BLAKE2b-256 5d80fb8ac1298d6cfdb36e1595144b683ef3fe71eb2788ea60e9831a86165848

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0764bece843b57d52d04199e5a5ed5880fa8cdc8839e0d1825807233f1736546
MD5 fab316fb82f461d23c5e27c820292b1c
BLAKE2b-256 703ee592373dd94f69704edfe6af2c343b440189b06cb7d9c488b38a9ee0be96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 198fa19da024c7e9384737045cdfce7ebfe13a131aa764bf321f36b19cb73c7f
MD5 549dac75f60826ce2b087e785e714841
BLAKE2b-256 71dbd8949b416b714d38dcf0d4aec1985c2676efb5642c5d2a2f142d9e803833

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1bf779609723c11de465b49355bf3c46f044994de11d759f91c94df3359dbdda
MD5 19e0aac440c797ecc4746d48dca62932
BLAKE2b-256 14b2eefbcba5c10ae47b92b1e13245cc11bd0abd13b44916aea1634895d199e5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2ae8be7f27b521ca400572bce26ab2314a30d67a3ddc672b1813136ed99b9f43
MD5 679fb05e81aecfdfad3563b144fdce32
BLAKE2b-256 452f927c515d2d40eb51053854a51ebc1b8c530156a290e7ecba22c4ad15a0b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e2a9da242cc553c41fd2a1df12fe11ee41691ba13eedad8b662127cfc33824ca
MD5 d288654e2ca4f49184ed6e59b5a8cea6
BLAKE2b-256 de82507f4142cd83291a6a0eec966a564460d60684eb491017146a998727ede9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 098fd093b76adfad9ae37e204ea9ee230a113a82e1cc338d3a9a942488e0af17
MD5 c9619e6bf19172b0a3f31a56e464ca25
BLAKE2b-256 d80beed30b6a7a3facf9d79d30f2a716b60d36ac44483b05e8eb8b388ea7d838

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.23-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 696c348cc87e280e76b5c5b6b3f4f50802a386da7b8e3f4708344a6d5b80c7dc
MD5 b54055e4cb574f413c478e3eba91d45b
BLAKE2b-256 2d132cc9ce5b29ec0ffa194c6adeadab54499aa3a87af922190431df4f9c67d7

See more details on using hashes here.

Provenance

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