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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.37-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.37-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.37-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.37-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.37-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.37-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.37-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.37-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.37-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.37-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.37-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.37-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b78d898a1d096c7466169f06243a88a4bb2d79c191913470391fbdb0ae405cbc
MD5 e6e8635666884f51599ed47e232619fb
BLAKE2b-256 11b11d9930251060ee435f1af9a26a327bf94cffb7d9478ae2a937286cc6174d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cb3a64212bc07bef59aa039a2c6c0097e0d2c0d1c93d634d07d177d37f10d412
MD5 fd49699abbf6e983125fa55157bf6e3f
BLAKE2b-256 b49f41e5e9364838c8294db7895e20947b7f9f8fea24c813ba87f3ef80c36919

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 34540089b7235a73a8767fa7242dee925c6258d87b25f20bc2b2a9492e72d830
MD5 9614563699df76ff4d338c188a6dfdaf
BLAKE2b-256 2ed826ec1b96b4b893cd7b6e25c6dc1197fcca21d603174ef27801d874199d09

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ec93122132be2be81f066cd291a8eb8381ff2ee7435957190b77e369e5ca55ae
MD5 c17c10d752b890a8305261bb84e08940
BLAKE2b-256 7733ddedd129e72b5dc325815c8e80ef2b90125a81af2dcac015c7f5afbe1cff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b9b25e365d58b513119cbd8310e09c51d3e947de2c589582051e4ff25fcd7eca
MD5 1e7194577e80faa971a97bc812643e1c
BLAKE2b-256 ca34b77d32a90e63c8751e69f6a9d1e6cca0003e06c43ca5d8416f0c330395dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 19aebcd91c9493f249b13a34493fcfe64ab80a6a2f7ab9bb72a804739649d064
MD5 112214ee777562b129f3b7e00f6fc9af
BLAKE2b-256 a8cfd1363654c5742ddd72189e983f6c61ab300c88884750a3d5df39884a00e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 72b6400bc6922fc0faadfe8556fc79e361daee88b006c38af2b8fe2b0a95e3f7
MD5 0715c804293e3623999bb1354d849347
BLAKE2b-256 939a946848b14acc0e5853e69cb45412e45b44f2dd5a54ffda289f4f2be1595a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bc4e4facc787ee9b61a6e88450ee1e3f36e1a29bd4d1e17a1a9670a9f42e8360
MD5 7605bdd3e3cd2e126eed3865be29904b
BLAKE2b-256 a742b3c2beb004eb2fa78949b4246d24ab0fd0e7cb6a369157b888ce9e66c582

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0cb8773ad8a001b9875b36b547bcf0238d65b611566206194b07f502ce07f634
MD5 4584d47340bc9f153e959f32ff0aaa12
BLAKE2b-256 ecd0b10b5e6711e5b13b53b3ca6dd40a0b70544c603ec8fe080e829eb8392f26

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 63b6b9a6cfede5b8f0d6b2b8ad97697488cfc69df641a80438d2784f6d6d707a
MD5 c7fbe27715f4e9ddf3b833b78178b69c
BLAKE2b-256 0cfb97777712205176619ef733d1003dd189ff0cde9cd13887324da94052a37f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2825cef74cabc0b8f9e3cc4542381233289078f1c32e95fcd03e4cee4437886a
MD5 420a6983adad75edb3bd1f495e25c4ca
BLAKE2b-256 70a184ed247ac0e3cf333db5b22398fe0986cc41613c7283f709db1b82299837

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.37-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6e8639cabe727fbcf153ba623cc087cd161e03a39e11e202153edef3842f0069
MD5 d9e8bd14c2a6d8699b80757ccb369e03
BLAKE2b-256 d933354ecfcc835462cc6b8e152a71f7eeeff66c27a73093f7a27e5f4dfebe41

See more details on using hashes here.

Provenance

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