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.1-cp313-cp313-win_amd64.whl (951.9 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.1-cp313-cp313-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.1-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.4.1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (985.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.1-cp312-cp312-win_amd64.whl (955.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.1-cp312-cp312-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.1-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.4.1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (979.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.1-cp311-cp311-win_amd64.whl (965.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.1-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.1-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.4.1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (966.9 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cfd4eccf6a1fc78662b6a6705265eac2b61d593fa2fccc3d1d615bd75c93ea81
MD5 724bd3ec40cdea4bad223bd139840886
BLAKE2b-256 9a389f784f93f2581765668d0dd420056973114686df2a05b9d7b6ab62f1b2ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 05b3367f6b07d78a0a8baa298d2f5b21f2edc413dfbe8ae941de712b4ffff8c0
MD5 f34efd2cd8d9edd58414b89db91fea8f
BLAKE2b-256 6d6ec4bfaff435289779fe538b9cc9d1cde800cdeaaa77a0e204fc085b6c810b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 13e02249d28a1405e7b40b540050190411268f14e74fba95a09229c4d08531dd
MD5 259c19495873279d47010febe1ccbf89
BLAKE2b-256 a784afa7595e3bbf712e0b48c091717e40fa1513143a92ae98f2658179deb769

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4ab40e284949f741dd7e59ee89617d7175ef754d7e48f649ce07b4f0b1a9442a
MD5 8df51fe16c8d651f633dd425c0907c12
BLAKE2b-256 afd13a1e03f814862fcdd3d0290c410a73774e085125a7497fd5a8d23208eb97

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 eed4cd089cfa6e42aae94363616ae1b2fec4bfb6a90295a07c38729eeeb4e113
MD5 49d74cd52107e1324e8665a628a93fae
BLAKE2b-256 07a424fbbb644f11eed8bada14d9dc1a247f80ba52def50f2665286ffed03504

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3e5a7e22b316e79086e22c0eb60daec4a97c67738fca97d700a4fd2874be443d
MD5 7943643cde6c7bcac0f2f65bf1dec1ab
BLAKE2b-256 cf779325f3c899ee71b772dcdd7e867e877dca480433535ed93d8aa425270481

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 39e0fdd2616f1e144fb6098a1b02b817b60cbf48a25f5436b51fda536c01d7b0
MD5 18aee32f50b10386af69b5deb7ecdc23
BLAKE2b-256 51cf3694b8bff10dc8333addcd73268cca0bf070c82bc5f9208e951ddfbb0bf7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 948f9b80bfbaeb7461ef29223e066bfb155263dba27a970f3a0985334da8b165
MD5 2d9cb901954864f1eaf702bac6b8de49
BLAKE2b-256 18ace39116b0a3a50b4832226dd7418daceb26723b4ef58b377a33fdaa89e455

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1bbf39ce7e77b0a667c2a787a704d7d6c832ede4477dd987952f86f4fd9c3df4
MD5 71d09985aaf0d0216bb63cb68058343e
BLAKE2b-256 687f1f844d27184c01318e5a5f22781d038d1ff49be4c6f86ca4c1e53412a1b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a583382204e791d51927bf157c17551253c647456a9319001ef1f3a8f642bcfb
MD5 c27186f259ab8aaf33994585b80ca62b
BLAKE2b-256 4cfc2230be3ec63fce4cb9d8af1794e61f98dd09d31b5e96643986e79ad41424

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 4654e96f24cd1bae3eda7095ab8ab04dd6ede0fe9285e89621d3ebee563d8f1c
MD5 4a37da674e700e207efc2adb7fb87e8b
BLAKE2b-256 85b55d942e1becadcc461daee74d85fceebc91cc9687d19e3b97dbbd4eb5a34f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 dea96e57ac81d26dac5bea84b8e353f7041201cc16e17b209ad6862e4a4d5382
MD5 1469db79f7e07f09084ac6a65f8f1d9e
BLAKE2b-256 d3a9f93100d33400a089f18836a066d7279d01671a8447263a096897569205c9

See more details on using hashes here.

Provenance

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