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.0-cp313-cp313-win_amd64.whl (951.3 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.0-cp313-cp313-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.0-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.4.0-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (984.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.0-cp312-cp312-win_amd64.whl (955.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.0-cp312-cp312-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.0-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.4.0-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (978.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.0-cp311-cp311-win_amd64.whl (965.4 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.0-cp311-cp311-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.0-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.4.0-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (966.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c0f7e3f964c1532a72053f1d665b3f4d44937e31baf870f57e3a7937ea052b76
MD5 f888739b6e6fbc1c0b3df503dc8fc4f9
BLAKE2b-256 7349a9b7e0fe64823547340bad8b6bcabc8d0c36423d8d2689dab68504eefca4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1b3236cc32458c950c346e2e15a91080c5f0fb78a5cf8c7545d9ecb7edbb1e6f
MD5 176ffb214c57cdb8cdec5fdf731da07d
BLAKE2b-256 aadedd7a8edc0a7c983b13a9fc90809a92a491c57cd20d9eeb16b587fbd24e3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 185f77f8d684596e51c7dc7dd70d6695b955a0f11f2bb7dbdfd8af43d0f65902
MD5 7ea296d7729ca9b5956a8077fcd1464d
BLAKE2b-256 1d5a30f19c4a10f626a0f4838b7158404d15c46ad7a872ae61488309229f0d4d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f8d4da5468deeaf2d64e2d9e821f39ae331b9127267e07987692c40c3c98c400
MD5 88a626bf946a72b64fb32c6180abd4d6
BLAKE2b-256 9c3aca245e983a5bba31f7147499a26aa02156f97a5252acb2ecc2345ea9c12a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 56a08c64a7b8fb1845710fa5a456d5b6047bfbf4507502e87ff1ca040a29c978
MD5 58d15a0292334a3d610286c0e5977687
BLAKE2b-256 59e1a03a68d31b79a177c94f72f9ff1d8c7d16147f20bf99312cb4884637ef10

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d0ede1dd528d2dc03a9d98bb75d95bbfd91842c052ba22455d3163deca23a553
MD5 f50d949b07a6ec90067dba7ebd9da170
BLAKE2b-256 f584509bf2a253397a72d6451ec0024f921f2ff89ade69523f7de6d2f5cf9958

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 b5181af11bfc0f1c3ccfded47170bc2512dd21495712f5459e3c39542dcfe5b4
MD5 c2d873a16abed990ebea084111db5cae
BLAKE2b-256 d1cd8caa6d8bdc51bcd04ea242ba799d66a8b5899f3523d3a291f2cbbf2eab60

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5344f1a947d7988dc4314991b49ed36aadff7a660251971a99281cb086b35348
MD5 bba5f4ac1f12a9793a0941fa91daa16f
BLAKE2b-256 5c62908e72db1b94bef0536a8fa37bb81e140928ffbadfa40090beb8cbce179a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 09203da6232dcc9177cbba1a3f7ca3806e70530998620f0322a517c6d62b1ee8
MD5 61675864edca637463235eeac8182c4f
BLAKE2b-256 1db2bc966948030bbc0370c6a4365d6187d58ef2dd8b0d8eaa4428a67da063c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ce79da7538bdc91fd71d6d776811972d66b13e20174bb436b480544caa15f734
MD5 dda45bf9bec76b40ce8eab613c9d7c99
BLAKE2b-256 7f490c4e5bc749a4f326941e2bf0849c5b0b7f47648ef7a8fd447dc54d784c41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 77f18902c4ae3e388f424dea992bb9c21d941094f9b8a841fd87a9a6deb90825
MD5 03045130950f481dd5c55ecde03c6dbf
BLAKE2b-256 36a2747139b3fb6f388c38a2da27b1372542e6452ad3950750894ad5b4598114

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.0-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 94b910fe13097ee3f31d10c34229e28c0fc335d5f10cc753061c83e148f3afd0
MD5 e8d7c9600d6be9007854f1732177ce87
BLAKE2b-256 3ca34c63b240875d336518495c4c576deef9b59f27515d017d1cc27e768baa7d

See more details on using hashes here.

Provenance

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