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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.51-cp313-cp313-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.51-cp313-cp313-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.51-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.51-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.51-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.51-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.51-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.51-cp311-cp311-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.51-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.51-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.51-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6c3f23f9d7d527a9c5a022f40cc32a7ce6ddce86449263dcfeef8b78c7013cea
MD5 ddba8c9676391690170d17900afbe1f0
BLAKE2b-256 ba10bba3532f0aeb6ad591f57f29aa91a5348a023532bf849ce570659eb83fd8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f2899951e2d5f9c09b388e068080003a7b8800ba3d25c61dc00157e060b5a466
MD5 7244ad3fbb5707c2bccfb044457ebb7b
BLAKE2b-256 037746747f843e7959064415c4331d172a1a3b6e6530676b0408013e7b81230e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bd77d4a56a46513a4ecbd8dda782b95b5fcdf1f9b4270b2ae3ceeea4d0f7e79e
MD5 65a239ea53b4a89f2b8f6e770742cb22
BLAKE2b-256 ecf2aeb052908d5313b3a6fd277d7e277d5afb4dfd5ed06cdb2a4a905617285d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2f0720dbd922487311a4b4c49d1d24a07b1a9bc85c7a01142a4e326df28ca538
MD5 438105a6ae08639ed3fa5c5e6e2a121f
BLAKE2b-256 3105bd60ab2c4aebdfe7eb0a3216c2dea39144ca42da0c08a945b95df7610b29

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8878358b9d60f96de3ffcf428f615fec98e8231c25bda67a2dd3f30afcb0bbea
MD5 5d9bdbac48987615a2df7703b092aa12
BLAKE2b-256 39dfbcb00b6390844ab3c1caca48f7077026c73e0864afdfb8765ae1547fa0f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c0b74856613c40755721d97dca421516028523c6d849d65dd6ea87528e84088c
MD5 d399ebbb40b683ee27ca65e39a5d9e0e
BLAKE2b-256 6bcca7a9c4c655309e77e6556f736b42bd9af9e1b8626900db5bc2d83c93e276

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3dc3d41bb173b4b35a52a1788cc23ab5b5b556b516c5dea80e3f90dd13215d4b
MD5 82025b9cc71cdb119611dc174e9b293f
BLAKE2b-256 63cea7b718120c3ae99cc02449d1711d7ffe432a78f122cb9bb7d8b73998aa76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a12ceb71905aee4e70d6e1e9bc471479e48c70430aa774e209987929ee56f301
MD5 7dd41489226d1f7fc0c944aa0aa87d4e
BLAKE2b-256 d94221b3bdb2690c7f11ec90be6cae5959f98c33e8a120aab07ef33f2147c028

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fb30d153905cca8a900833353823063f84106f22a5636e2fdafefdd7580a0ca0
MD5 a9a3db1d6c2b4e178877d26cd2323b54
BLAKE2b-256 d12f7474ce6786a5b6f3ad2cc63ad87652e64e8feb348344dc4780d66b842790

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 73f383d6d147e5f8c7186e6c743225d283a3ac16bd72af0dd86d29b7d34d077a
MD5 b1205b1f8476e76f80f3dc088fc40749
BLAKE2b-256 6358f1b762818acc988c0a99c102e573ecb5eb83524f1b6913dd0dfcf39255c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 78f13315ac82dc945903a5379fa99317a1b33e2c5b37dea770cd0a9ec5de8cca
MD5 521d265889032a651d2c1a4a46a4a4c4
BLAKE2b-256 ad41f6f6aa32882e989c69001fe51c277ab4edc727b3e947c5892c1672ab2611

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.51-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 34e9babaeea731c3f5db5424f6e80236204084f74b78dfa04a95c15913589b6b
MD5 3f7ec0cc0a24a09fff43c588820603c3
BLAKE2b-256 a901f7f814ad22420b5dad2bca5e818c0859767d51582476aa6d1e2417e22a6e

See more details on using hashes here.

Provenance

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