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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.22-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.22-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.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.5.22-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.22-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.22-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.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.5.22-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.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.5.22-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.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.5.22-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7c74b6095ceca204d0edc25758859f1a71fca8abfc6d4e349a3db10edb88c675
MD5 bb5f58a80e408dae044fd22e0d2376eb
BLAKE2b-256 afe65e904eb803bfdac1aa8f354c624ef3c1949e5b11d26b8ed08002e75d147a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8b0dc5f6ea8e5e4da660ac17b886fff72e34f727293ab21b32104a50fa1c9bc6
MD5 55255773c2fac33ab2d004d5e60ee87a
BLAKE2b-256 07dc708050a2dadc5fb7dd4a24b4b7c1a63c270bc12874dc1d7797074de933bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e58b01659d43893e52c426eb15a92a8a225e243fb635d72b2fd4d7e10f91d67c
MD5 e3062f19eeab13fe5008e0460697bae9
BLAKE2b-256 637be3960bb168ce126a8016b1d32cacfd23d3ef6891660fbd95b344bb36c241

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 68e103771557db56f388159ce66b0e6834558ab6e10dfeab5ac94ad4596a8f7f
MD5 37bd518d512a99a5e47ca175e2cfce62
BLAKE2b-256 c1ed6a6ac60c3a07f0687cf2e4192e9e9930dad5132afbf5d652bfe3b317658d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bf9d36427c55ef9b5f664b4677837202a045592b1c7dfad55de07ec4bf176482
MD5 599daedd65c5780b622bad1044c13b84
BLAKE2b-256 23ad3e25c135513fd0bb3d06d7435cdba619a9fe9924edd9dfb91bdada6b7810

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 751c7ba84a884caf69973cb4bfbe467e0e9ef62d5a0d6446595954ff21e6a39b
MD5 73d3f6e250caff167cb87cc7b09e3b7c
BLAKE2b-256 4c4986d44b71c4ee3ea0462f770b41c6c8393c7e5d6f36cd5e6131b87895ee50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 81c09b24ee50e58ef0b2bcadf030cb82e06ab0ba6a887c6aab8f183b6623d415
MD5 d6e113b4eb766112e8db48fa897e6a22
BLAKE2b-256 e6c53506ae24d5ee4bbdd3b74a6dbd73deb671ef603716d89a2004c834259387

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 42ee135037f2db79e92ab5a43f20726bae6425e80bcaceda46fbaeaf80984f75
MD5 49ece1700ce28564aef991843e1e69d6
BLAKE2b-256 9dbd491db28447b61d56cba09db78f7d929c2ae8c72517859815e38fde98941f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c0684c0bbe388a2988307f874552ac090bd6d7b20252a61c380c60c6d82fc480
MD5 1d651436a9f810d8c3ff857db34b08f0
BLAKE2b-256 5fda4a99bb9bff59036666b08131a93b7b77590e91c971040c03394cab2c0b83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 91d4ea6f932724db1bde706e0dc536cb3967413eaee7667fe715c8bbe7c427b0
MD5 9cb3c7dc315c7011ca6b6ab540f1a988
BLAKE2b-256 f8b7ffc538a8c540a8d79455d69dd1e690ffc1e81c0350890a87c76f196460d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 403c9d9a19b44ab486c75cd34478b4ab07d771586b441b16ba063b04a1ba1433
MD5 88214fb274fe22ca885513884d9a4883
BLAKE2b-256 a34abcf5dbd8729f6ff37cc6ec7cbe98c1fda09f3488a3fc6a7a1c9942178f03

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.22-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9a80c7a6e7a45febaabc4b5d6d967fa1af5a0b003a6628528e294b9ba2dc8ac5
MD5 5ece6bd0887341c0d2d6f155d079900b
BLAKE2b-256 1922730e0b54a3e54fd13846c0026ef76170337c4b6fb8453a1b10cb1e052333

See more details on using hashes here.

Provenance

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