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.3.8b2-cp313-cp313-win_amd64.whl (895.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.8b2-cp313-cp313-manylinux_2_36_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.8b2-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.3.8b2-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (923.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.8b2-cp312-cp312-win_amd64.whl (897.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.8b2-cp312-cp312-manylinux_2_36_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.8b2-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.3.8b2-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (918.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.8b2-cp311-cp311-win_amd64.whl (909.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.8b2-cp311-cp311-manylinux_2_36_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.8b2-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.3.8b2-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (907.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_inference_binary-0.3.8b2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d2ed697af604c91a1361ba52d02cf68da90c419e884962937299100b76e2babd
MD5 6997e50c08d916cc2fde1253d2f936d0
BLAKE2b-256 8683778c1301f0eef3fc35b0fedc886dabaada7da993c77cdbccc9a1a3324a16

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.8b2-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.3.8b2-cp313-cp313-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp313-cp313-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 fcb301298afcac2662319a0d68706536cedff8fe7198d6df321e9d12c8a86d08
MD5 98f0dad83f2b2da205d5bbf3f2e14b2e
BLAKE2b-256 b84233c292385b23f575d12261c0eb3928cbb0892695c2f2bf50cddd2baa3a48

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.8b2-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0ea6baccde77db0d410db9cb4222bab756f481cc19b2122420a6cac32153d254
MD5 8254135bc1a0cb12b369913de2c2aa81
BLAKE2b-256 fce3fbfcfd595a7f23a627adb8b157bc0306a59f00a5de8e4b052ff3cd091f9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 28c2e8049ce94f36370183bbda42e497607d17b29298fcb097b5b4ecf8afebc5
MD5 b2b88974c017dea27c051838d964d842
BLAKE2b-256 62738a84824839b5f033d95891ee205ddd151e947ac90318b4a6ba19236761a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 450f3c7604ad430348f5bc02911763a12ca0fff150117ae20067cca9210a1572
MD5 fe657a0aea4b0c71562c008758b525cf
BLAKE2b-256 07d4776cc8b5ba529401d77af0e8cc192637d07f005ad2d200704e16ec035a04

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.8b2-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.3.8b2-cp312-cp312-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 dd18b33c6164a3be7115275ceec58329b3b1eaaded9f42eaeab641ac25fc55f2
MD5 8a3c8b19cef7dd8a4a078b7baf466448
BLAKE2b-256 b586bfcd3cc8ee2e139bf69c088186b28e8890232fb439064a454681aafc134a

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.8b2-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 041a52f990ffd4a394ce8f8ec6dc57ffa53e3bfc97f2ec06cdfa7877331227a5
MD5 7ca8e9c67a9e5a15d936000ff3b6a412
BLAKE2b-256 818a5a55f6fda1b3598ee3ad119ab1ff555cc2b7eaf91e5a0691309bd5eeff50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6818df141aaf5c3f6a1ced4c9298c6eaf09e13e835177b517eaa93818da9ce23
MD5 45b0b329e1327400760551dd34445569
BLAKE2b-256 ca51b5697d5b357508f3041e4cacfafe4a81f12af6d883b31d8e99b276cc05d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6eb95bead32404961f151bb82994dc82b87da1d22cba5dcaaa80b6cb95ae6105
MD5 e92b30bf12e61bc67ed06c58e569f62d
BLAKE2b-256 3f55969a3b1a0a836487cb83e12aa1849d31b462af184162aaff314b08de2f14

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.8b2-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.3.8b2-cp311-cp311-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp311-cp311-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 83b484e2593d88f64c377ca68230155caf8dc3294a6cb97cdc3b0c4690fd9e0b
MD5 a54d4b81a60e029f705af417363d74d4
BLAKE2b-256 74bdd91e0e182e701b8fd2a3f63d597a308da4781bf15e64dc63575ee366ee05

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.8b2-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 503392d93573b63673b1372673682801db072126cfaef96b5bf6039217ec9a2c
MD5 38d11d7e7caab336303ca7632200bd4e
BLAKE2b-256 458e555bc3be2bb33b434925e79b4475604b209b1c1376946b44d7ec4dba7b55

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b2-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8efeaff91d47e9b67f593e908f6a19d15bfa3dec4e389bdaf40852ba9c58fabb
MD5 169581daaaca8fba19071bd52065b8c0
BLAKE2b-256 2bdf26b474e8e6637c9b20084df1c47a78753fb7a93f29050460b207c6352fad

See more details on using hashes here.

Provenance

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