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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.6-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.6-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.6-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.6-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.6-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.6-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.6-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.6-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.6-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.6-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.6-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.6-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5a3e518215e7a750f6eb7fe3b3b591033d5a6a26300525c3520b465c929f6a8a
MD5 306272e6071963af513b96d2fe0b9e8b
BLAKE2b-256 002daa462b8a743cfa1df7776cd1214b7751aaeb9c403676d16f2a7a5fa941c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6979a05ad662ff3387b6512a214cc64c1ecc204792f266854533b235550884be
MD5 525de34396fb06bd3ccc5231c3566ceb
BLAKE2b-256 d0cc07abf2c4da3b53135aafb6f8a05970ae8f4c827ecf3335da3800b4ef68d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 66b60ba630c6ae046ec2c25209028be1bcf175e3b181ea9232975a34c6a82e0f
MD5 4560c91413f68c7f8f07091de6f2731c
BLAKE2b-256 5918bc4aa95e7daa367aa60bc04c5fd4f21224ed5a9345dc23686d7972813e90

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7992cfd5e8974108479233031bc069c7c44bc66b27ac515066da5e4721173e66
MD5 bc5f7305e7d7ef7ae4602a5e8f24e6e8
BLAKE2b-256 47ce2c26e4888c72992ef6b50183d829c4141bfb9a568033aee0baf184fc5dbb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d4d5fec22ca8458ac1859dac106f25253b5da428d6f83c88e2ef9d4d654c43c3
MD5 68c7fe1c852764c32edae6fd1240676a
BLAKE2b-256 39c3a1f64ac2c79cc5bca43fa87edeb79be1977afed1bd3a791fe2ce8f23ea01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7fc54fb8d5386bd0c3368514c86db41b73858d535ba38e2b8671689d738ca666
MD5 ea7e83e9cce22926a04e0c47705bd6c2
BLAKE2b-256 5d1d4a0eed5f8f48e63fb05c81e054bf3a2f858bf57f7903c44d48f0a4a39aca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 3b20bb254a850a1967b79961ccea3e5e93aeded3fbbecaff921e9f1315b31c5c
MD5 44d65708cd0b313e3394616977b55814
BLAKE2b-256 d4989a4969a95ebd2f2829a78777cb2c422fe754cafd15bff81946db4761e9ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f4f5a44cf1cb239e46101da2b2a8c6439b2251db62070eb76d0dd84fa7800950
MD5 a86d69fcd45276aaca975add3f224e60
BLAKE2b-256 3f4838c11ef43ed292915288d45a142144ee2e1e4d796753ad52ac023f0d7a69

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 49edba8133eca9022277ac8446846dee43dfbf96e1002fc2dab0e20d089acd62
MD5 7de2f60b1ec2b76fd8664245d4d4177f
BLAKE2b-256 378e486fd0517b157c29d0e817524cd1587dad4d1222dd9d1d94a94da428861a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 109da667c6b4716fc5547f1e581ff017e073fbb43d2ddfd30d91342783251599
MD5 08a21855a48b1fc91c8e3855107e26c6
BLAKE2b-256 04e3380a7f03d2a5e49b681b7f107406108854f207ccfec287f14453d47eedd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 1de9ed95b78b593594a325946c4fb984ecbbb4262cb97aa46ef9723bbf15bed1
MD5 f55e1b841e5655c783b2e0b12f14db3f
BLAKE2b-256 655421ed6b68592d8256b89aa2c6051a5798d4b981cb31c15801bbe0a7c0dfb3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.6-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 171f836ce40fa682e687b217889a1ff8f051133d08b3b063daa0a1a19da0a978
MD5 063318e8bfd1bfc2f8ad9298a062489c
BLAKE2b-256 4e0a9e93e392c9b803096739eda84f9be50740b6e3150c63a21ca31453786df2

See more details on using hashes here.

Provenance

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