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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.11-cp313-cp313-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.11-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.11-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.11-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.11-cp312-cp312-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.11-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.11-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.11-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.11-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.11-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.11-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ddc0d10be560327443ab4c98e5e09190d0ca680ca2d6ae411c36bc43e8103d08
MD5 1475c712979ab9e22ba58faf110ab2c3
BLAKE2b-256 f01d1c8df9f0e91698502fbb5182e10daff6337b77ecbc1818914c3d421c1c41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 95f7556a7fe8a6b5d4dd98406c258eda999984264fedbd06e0b69f13034e97fa
MD5 734a743d0172a885d40697af2efa1164
BLAKE2b-256 42102fa9e6041849a505bee6b04c2d3c017503af196227c2d7e92160217705ad

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.11-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 ea22fd324f550be806e5808a88051b114651d48fc1baac3f9077fbdfcd04face
MD5 32c21d38b5c2e23f7f41cf0989a050b5
BLAKE2b-256 a06cdbf79897caf9e5035328415f9d4812e96f581674cc1b932b4ede37206cf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.11-cp313-cp313-macosx_13_0_x86_64.macosx_15_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.11-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9da19bad6e7abad978c251d3214ba17d49cfa187dd8347ad120594f2b04bd24e
MD5 3d1fb908b3896fe77e148dde3a1c467f
BLAKE2b-256 cee4c8e02f0f7243ea37345dba6a96b9f0fdc222afab6f7357a0dc608f52d96e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 aa198753c2fc72769b4fac45bad4459b68a08fd49e9c91dcec6481a769bd265a
MD5 e9509071386c53f080a19b21d065c9f3
BLAKE2b-256 16841bedc080b9f7699aef57d664ff554832a3e42f290cc7562a583a51b22762

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0ced769a1baa3f8d1e394bd737b8729821328be0c587678562181f4a52b0d95f
MD5 3973757731cef52bb3a6c8a238bbb6e8
BLAKE2b-256 4a2b4d9bb56facf4797981653e20f78e23e0528f95501408dce82a3cfcb9996a

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.11-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 877252fad321ca9fac3def61bbb68ac3f80d218242d475c1b544c32d3cacb5a9
MD5 ab5ec8c1004f2d8cc29adef932a5d84c
BLAKE2b-256 6cce9b91b6c363d4904b34acc388d5b74dc0a19b7f58a2b82b4f5d6eba3ff85e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.11-cp312-cp312-macosx_13_0_x86_64.macosx_15_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.11-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 03227f33f383fbba0744d42f5a3aff5ef22a40b0322118529e17e2e094bc5852
MD5 28c155f41df5022c6a5a7272ef3991d3
BLAKE2b-256 9a25a9ad5eb6777fc3fa12b58fb6c5a402849344c0edc03e4969c2fa192b14b1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7a2db0a89988f9d09fbb6c13af7673d4e225cc8ff031988426e52025c8e929b0
MD5 c8bdbff8b9c9fcdbae3063b11b796926
BLAKE2b-256 becdf50f2290e45eabe998b657911539f4bd4bb903db6f4ddc862d4813e60dc9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 48cb9849cdc2ddf362b03d04009b570d37babe1c58e35b0a27b7608942c11aca
MD5 8a542aab3cc826fbfcc071017d4f3825
BLAKE2b-256 4d03175cb5c11473f6190fddf9f2e63a2b263bb0b5d934e1f22708b2184473ae

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.11-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 fef2fbc97d15b31a864b68180404f3001edafe03f4091ab4913ccba62522fa44
MD5 0346a661567bce4fa08864af609130f1
BLAKE2b-256 8f5c46a37f6c94df54f17f32f2c48d4e9dbdc697d11d42b4a03354cebe89648b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.11-cp311-cp311-macosx_13_0_x86_64.macosx_15_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.11-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.11-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bc8b20b3dba02c859fe9cd54a9a5412603cd512a9c54bd4e9036ced43b8f1037
MD5 844e7a8c607560ddee9c49a9235f01ad
BLAKE2b-256 581160065798d60c0c3ff9f14a269b85fd57f27ea05d3797690692c4bafcf438

See more details on using hashes here.

Provenance

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