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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.22-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.22-cp313-cp313-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.22-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.22-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.22-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.22-cp312-cp312-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.22-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.22-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.22-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.22-cp311-cp311-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.22-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3b1c869b344d65d366e7daaa89a4a07b9aee0763ed8ccc84ae593a55f246a37d
MD5 f906a5f059500c590586ba360201091b
BLAKE2b-256 f24c4b34abfbf1f697f48ce294793d554766c8765336d8b08e2d7519e250b105

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d19a844d4556757c3675b334082d99e350fa3b92821546b9cc96f9e8cfbb090e
MD5 36336d72a558cbd48cadd38f6990fae7
BLAKE2b-256 6f2e93aabace84b0ee17b6f02e790fe868890afee9d48685dad42da0000f49ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 502e91732a27c90b4638bf273e53d8f42f38da32b904dc6bac73e0dc5ff0f1f2
MD5 b40cd6d41c904ce8f5ed2a14cdd9e77e
BLAKE2b-256 953f016631e6ea168f0f56254b6169fddf6ad900c73e0208454c7f87784c42f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a63d5ab5227e222eaf8d75005df83426d94a8849c39b4fe2228f187bfe545a29
MD5 c08551eec7113294c36f1ffaf9147778
BLAKE2b-256 18ce03a1ada196a866523584f523a0be82e747a61b76462bd3b4649f793e7cfc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 14a92e9af75438d018c8e20c0f3a4d85f18b00c496609632806101e1ed8e135f
MD5 a6ecbdf3fd9e8f06794eba823812cf1a
BLAKE2b-256 9f2c47952b88c16bc9de055537201e146d2e8e3d4d61dcd559818aec72830153

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 eef5f2e1ab15440855a64f0ad7b0881c3186b98a24c82a830a2b8bd979b8c531
MD5 e3e34a9e78524f6821e73c653b28cf10
BLAKE2b-256 76fc760c434ff7d9bce71bb2170db9b484e6a78f546caa78b6196273fc75c1cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ede1532c1d35333a4f4f2ba249c87941d276a0332d02187e8a458ec76df10038
MD5 65e1f16f58d5bd13fce5178c3ddad7c4
BLAKE2b-256 21495df944422545603b61344f5b6f50954f160e6a04e5f92cec8a03a474f2df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b920187755b844dcd6b14f0dd54f073121b144d17649b659f6bf6712b24a438e
MD5 643b5780f5e3cf38549a4c9ee7c19a13
BLAKE2b-256 01a9c46654983ecb0490b0a3c6e26aab645d80834fa147b7fe0b6729b2d4e6bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 299b135ca63a9cff29ebf0e680c87b16a3a1f27dc77d3481841af031ffe5b565
MD5 9e755c4fc090502039ca56ad74dd3ef2
BLAKE2b-256 ebfcaab65308a860dd6a52123a2849083c62a411a23abb6c4fca253b36a78e65

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3a23d19d4bedf38974a1b9c4246eac0129a866f3c8694b76bf95d3461e37c09f
MD5 2e242337fa74b1b24660d07c8d517edb
BLAKE2b-256 3005f81770048e9da6a1b199007473989e0a210ebdfea7d8df523604c1a968c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a5f5ff43fe191cf8d97819bdb7c92454e6e3a235a0a2731cf088eeab7c98c8dc
MD5 0f60542938d3553babb686b5a5cf9ddc
BLAKE2b-256 cb48fb4b4ebbe876c195cb285b4d866dbd421772d8de66aa796d63600af111cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.22-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ab0518e8aa15b60cc01ac18f04472d38fb53b9a50dfc211e209d38980d243192
MD5 51e4aa2a47843165a0e0c13a973c9c7f
BLAKE2b-256 bde3fd5909f8b10e13a593dc63c8c895d595fcf88bc6102f4759522851ae90ac

See more details on using hashes here.

Provenance

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