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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.9b1-cp313-cp313-macosx_10_13_universal2.macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)macOS 13.0+ x86-64

gllm_inference_binary-0.5.9b1-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.9b1-cp312-cp312-macosx_11_0_universal2.macosx_13_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ universal2 (ARM64, x86-64)macOS 13.0+ ARM64

gllm_inference_binary-0.5.9b1-cp312-cp312-macosx_10_9_universal2.macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 10.9+ universal2 (ARM64, x86-64)macOS 13.0+ x86-64

gllm_inference_binary-0.5.9b1-cp311-cp311-macosx_10_9_universal2.macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)macOS 13.0+ x86-64

File details

Details for the file gllm_inference_binary-0.5.9b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f89d5af630b410cc752e1e36efdf7c4c5685740d06e0860d5987cf3c4f951485
MD5 9fb304f9acad36af8d628d365da502d7
BLAKE2b-256 2996afc18df5b801d6f776e6618c83d494640ea17757bad3c298d46375efdf66

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.9b1-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.9b1-cp313-cp313-macosx_10_13_universal2.macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9b1-cp313-cp313-macosx_10_13_universal2.macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9da0166060741114aa21961fd754a3faec39400b8be08c00f7726b7c99a30e43
MD5 ab281fcd287cab951e70090cadb7941e
BLAKE2b-256 7f00400ff40c219d4412c3332d58e7f18b698506ca135d0ea4eb7f3ebbb5cc7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.9b1-cp313-cp313-macosx_10_13_universal2.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.9b1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e0e02736ab5a2c0d7aa8ae73283d302d7eba106c6572f0e1c7e6579b10b5d40c
MD5 33507299b57cc607cc5e2a8cebb1cde1
BLAKE2b-256 2a50508cd75ef6d671e77432746159a71e2cb396e96ae5aa9033a5486ea85e90

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.9b1-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.9b1-cp312-cp312-macosx_11_0_universal2.macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9b1-cp312-cp312-macosx_11_0_universal2.macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 54ca24e4fb0fd70cfa90131a448d93632da0878d8bcd8b56c1d5e212bbd00682
MD5 357f76a095e1485f4b93e3abbcdec377
BLAKE2b-256 dcdedb50ce191515fb3f907f4318c1e858a94a5095cf04f0328914c06cce2a19

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.9b1-cp312-cp312-macosx_11_0_universal2.macosx_13_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.9b1-cp312-cp312-macosx_10_9_universal2.macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9b1-cp312-cp312-macosx_10_9_universal2.macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 480444460d2a402c6a29ef0d2cd8a2f50ab413dca05c857d9d9213972dccdabd
MD5 c02df99381fcd12da79b8b93e09ea039
BLAKE2b-256 85a0a08ed49c9ca826a4a65aaf5bb9ad0fd530139fe4712e3bf09184264e1fbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.9b1-cp312-cp312-macosx_10_9_universal2.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.9b1-cp311-cp311-macosx_10_9_universal2.macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9b1-cp311-cp311-macosx_10_9_universal2.macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4efde79de15328f5b2e180fac1437e33f6b5043ab14ca0b59a8d8d57ac564471
MD5 ae1d51989d56135e376e86ea3441c385
BLAKE2b-256 69718814661ebcbeeb7ef9c43d6d1d8ab640c6dbff7428c941ae8d4efca58161

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.9b1-cp311-cp311-macosx_10_9_universal2.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.

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