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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.33-cp313-cp313-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.33-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.33-cp312-cp312-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.33-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.33-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.33-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.33-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.33-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.33-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f2b907d7fb997bab4c2aa69c8b2b271cbed5d9437a70cee40c03963262b2a85d
MD5 6f170802d631532c36a0f835f65b6870
BLAKE2b-256 c983f29d083998330a022988058a250fc8cc54087cbd2d4b480a49170c541c71

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ba101e8d59d79a4d2a089fce3026350204124942caea4af302b0356eee132f0b
MD5 940b7e880058426fa1a65b48651f5f7b
BLAKE2b-256 79b697511c7ca95caea5f107b4c3b18795e95244de3ead20167b3fbf5d637be8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b8cffaaae5cedc8e6a5ced5fb588082707b3dec89b488fc4f40e250c88314d6b
MD5 e0c933c9006e464f68608eae3d8e507c
BLAKE2b-256 5ccff64594b11facddcc16e98db8bb6db9cac645105623937283ed6531ba5e6b

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.33-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e2bb2044a65796b600c12bf81a7500912fe12b5bf06e4598fed29fdebe6bcfba
MD5 b37cf6c4d5272d7490d412e7706337a2
BLAKE2b-256 386e6f1cc244d0e78b5901f13a0c6a3cb3475cd5a2bf480a823de7acdd3c7d28

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.33-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a5aada1843840396880ed18ea883bc8849a77c373363851c4e3af3b0d4491a65
MD5 6ab5af598f0a239fc0eef8e9420332a3
BLAKE2b-256 dc3bc5dc4e1bdbed9f172dbc184ad59110546f105f333ece6bb18da0690fe671

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f234768cfc5025510ab170c428ab3367b0cb8196e50cc57045da686d3db19eec
MD5 645d717699093b05bdd3a368f20d2d6b
BLAKE2b-256 6c433e00c446b5019e467a5e40302188924d43aad585ccd56e75f483343c63e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cbfbe1ceeb9585b0c2b9d820a7338b6e74510c73d334442ffa38b46db6d6be19
MD5 bfa675cbedf3f87e3fb4db063bc8b9ab
BLAKE2b-256 eb2aa1466a8796db60acb9943bcd7a56138d00b2971991a2fb8796d30a09b780

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.33-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8c262d465527a2be51bed5c23e5fa495a86a5868ac42c32848ce61d168b46ae5
MD5 f4b867fbfa4d1146bb74214bc58ed202
BLAKE2b-256 b37cd5ae7ed45a72a693bbc9419ca7683e6690a93597fde06b4e1bb1617ffe81

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.33-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e9af40e9c3d8b59ea2f9dda79e1a017fd6227f824028a388f2c3227b366fa750
MD5 629ebe0b20f1f061352b264875d66fa0
BLAKE2b-256 2cb436a6fcf0c0503da1d77dc8c6b9baf78e1eda260fc5217d82239b28526d7d

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9c98d765e13523460d3ca57ad5ec6e1496d7229e206e36b090f5c977ff0bc128
MD5 9376def8eadbceb2221eada3f56c8f3f
BLAKE2b-256 44578f49d1e5c2762a8b7c5f89b15deb70306cc693e83a2ee869c62217d2d5b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b9102c2743453c1cbb2afc6c5940aa6c8ec831eb2e8103b01cbcdf056ba1e8c6
MD5 5965d686a63446f861f4ef81656b7bf0
BLAKE2b-256 0d694c60c1f5e53832b8cea90df825c81bc64685cc3df2a0a2579467c6e8b7cc

See more details on using hashes here.

Provenance

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

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.33-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.33-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fcd92a87c996ab42b5a64b7ce35c7cb6c9b4d3ad659710a2f821dc95e453535b
MD5 1cca96b5275f70da4d5500287ba85c57
BLAKE2b-256 eee4c0923ec12b58c798fe0297ddc5e9e6f738ba051dbde48ae7c8bd9329d679

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.33-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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