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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.1-cp312-cp312-win_amd64.whl (842.2 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.1-cp312-cp312-macosx_14_0_arm64.whl (923.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.3.1-cp312-cp312-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.3.1-cp311-cp311-win_amd64.whl (849.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.1-cp311-cp311-macosx_14_0_arm64.whl (912.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.3.1-cp311-cp311-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1c51ca56d0ab03138e2c954a0a62017abcc31e75037d073fd1e0990529ab3ebe
MD5 c35e75fd40cb490acdd7318b128c2728
BLAKE2b-256 634b1fe7001e42c2735ae53f204a60ab0046981676fdddef0278c6054ede0a7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f1f6ef5840ebfbc1cfb55b42691e3de8bcb2d209753f27133e46239a8ab03dd6
MD5 30f0f43d301fd5a2fb2b95025f73a84f
BLAKE2b-256 22144055fb3bb775320b237f70b3ede0d8153eeed4cfaa92eee39a5e305c9eea

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.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.3.1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6aa1372561a96a10c231ba090238e4e7aa796450d4a8fb75839825c4e323ad89
MD5 72c34ffd6fd69aea27a83471977605b9
BLAKE2b-256 1e9eea3184f2e079c04362872986fd8c5fb230db8b4d43577f74c3c34bc95c8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.1-cp312-cp312-macosx_14_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.3.1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bae4a72c94533152fc90d9686b64b4f98ddb2154eaadbd33e460b426990e951c
MD5 cc4290bc3919c4f4fa080502f5aebcab
BLAKE2b-256 9d07036ef5ce31a8b7e4756ac6bc19071d7f0248094b6e7243e5a42ac4d8a59d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 97a0fc8b3f9bf537ad8fbadc0bdce61ecf7c22bb26027eaab1b8ce6140f675c1
MD5 2e207c757cc54d162afc7550be2225ff
BLAKE2b-256 258cb4a893c24736e057522441f7f20178763cf80595d9ce80c4570e88695535

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.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.3.1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 53415666091db8dafc97a975cf1c04233d00fb43fad7779d73d91c89d5709d99
MD5 32eac3e1c33efff5facd47c7510b2f64
BLAKE2b-256 033a41ed5002607c749cb86985238cedaaf9af1dfb74b46389ce5d832e8602be

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.1-cp311-cp311-macosx_14_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.3.1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4245d3a2075204fdeed03eab0e845d1651b358dabb13cfae17db926e6709ec5b
MD5 aeab4e0b1aaf0c146ca23f41a967bc05
BLAKE2b-256 2b4f2d22e4635f409af0981a254423c8d17842e2d7b16e1566fd7ab7aeb43cb7

See more details on using hashes here.

Provenance

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

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