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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.4-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.4-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

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

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.4-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.4-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.4-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.4-cp311-cp311-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.4-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.4-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.4-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f6fdda82c1b7fce67cca27b4ec44b21602b57cc9f7c85a082498678942c3ba47
MD5 1ee6d783ddef7a04689f788274dfe733
BLAKE2b-256 727031d1fc6f379985c5bd4879619a8a5226b0f7a85b67282c488de0c5f3c683

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6bd049467592191fd5f070b68da53f4124b26596418887183ccd965cbd16a080
MD5 bf5310cfd2d350bf533faedfde902f4f
BLAKE2b-256 7f615dfd356d27e5f2f84d835a646f737843794ab8c5ecaf7e7ddcdc09e2e031

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 557d7d45e73f151a0fd59b93fbab7eab76f36b2249b12d4aeb596419c418e8c9
MD5 c1961c7fbcd9c1d1a9774b0af42577c2
BLAKE2b-256 8fc3f5acc5320d6f340ffb1671ce85fccd36c0062e618b36ff74b451eaf60c72

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fe9f9d32cffdc1ae92e81350f1e815d06230a05905258308f3eaa17c2184c90e
MD5 93b122557a871d4c6a719752949b28a1
BLAKE2b-256 1f2197f072e4518e25b92d9680e340a46f34a42e48652d6f03ec317c331bcab3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b5dac7aa810c1a0f8c7141b4401d8387c8eb3db31f60fcfc20a8a6c51b308873
MD5 51f92e8734f255c0de980720c1cfb9f5
BLAKE2b-256 612e47d642c7b936ac640f797c7ba02441a9eea50145ed09daa97517c6083fc7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 558fdf8ae695add8a2933a0f9faffc44398ee0a40989aafd7e909ddb73c942e3
MD5 a66b8b180d3d58ec2423ba2f1319b122
BLAKE2b-256 2fd54a15c3ea570a2305b389ae92463ca2e883cfee96b13c435b9c17e30e1f1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 dfebaa0e467e095891a48c41cb6eb100836ee87696b08c958ac0e431af9c5634
MD5 7716457b31805da7fc375dbece5f594d
BLAKE2b-256 585fcfd92d4d134d2039a613241daf5758e49e99e99e3c7b3a41600879ef181f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fca3ef822baa2f0d2a58744e4930623cf42acc9c3a1f08811d254b764f7793b2
MD5 80fa984728d0aa5a9b117de3476559a0
BLAKE2b-256 b253a63186cf91c3d77c76b30176f644d22f756efff7891445d43fc1f83e973f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4a39aa9f8b03739eb6ae4357f773f2fbc457f7b686c39e480ddf30e594579133
MD5 939826a98c2fbd805c2d9486e7eadb9f
BLAKE2b-256 fd63c6b187ed2c7cf758f7218d4601c5f7a735a8b364c7f8eec9e570bb776e0a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0ee94e00336012b3a2ce2cd104324182038953dc0ec894489b283cc00fd9312e
MD5 6ed0ac834e1a26a620ad97a3592b56b5
BLAKE2b-256 f16051376515e8c7738bbb200bb2a2345cc3b8b98094c62d59d873b3ef002a7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0b3dc1a877097e700e6fa8410b18c13ddb2ce32cab3b0f48dff7a8423bcf9047
MD5 f71055ab7f266a49e6e38669b74aa745
BLAKE2b-256 517539a26bcc6ef37c7ac331ce896f5358e680503a6345d2b1917cb9ddf9ac4f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.4-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8f19b7fa05eeb02936a90214bf4d14c54b34d59fa28b6cfdb5b04439052eabad
MD5 764a3046c4dc10427a742a9d89886081
BLAKE2b-256 b90d8169500294ab56a2eab182861a7b1a3eac5bd152b679dd5b79b9bc3169fe

See more details on using hashes here.

Provenance

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