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.2.50-cp312-cp312-win_amd64.whl (853.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.2.50-cp312-cp312-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.2.50-cp312-cp312-macosx_14_0_arm64.whl (941.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.2.50-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.2.50-cp311-cp311-win_amd64.whl (864.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.2.50-cp311-cp311-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.2.50-cp311-cp311-macosx_14_0_arm64.whl (932.9 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.2.50-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.2.50-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.50-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c1d94f18045cb5c28c8692c4a0bcb67d082e59fbae51e4b3b08f4f5d360b9b89
MD5 7a3fc1b6485c2b1628e88d159eeee122
BLAKE2b-256 3934beb76cfbb3e897a9ae5faa338ea12f0a834cfce596f9970e3e9dbebe7db1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.50-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2ad2126d248a2e26215753161dd29b5655d71bd15ba57965cbbacff5376994e3
MD5 0ac138ab53f1ca5cd25f7ce2790c9018
BLAKE2b-256 6d615416f5708b37ae66f5ec6ee05481e34a75302384e2f080edb1aaceae3846

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.50-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.50-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f885857367b9cb4a51d8f0d6024ef0836cfc213572dfd0e4c83a3e13d27c448e
MD5 aba27e0b17c3ed9e9366dc7e2dcaebfe
BLAKE2b-256 dbe3d1f90ba2fdabf933c1a040fcfef1bc27983f3f2d1214a89bfec00ca42496

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.50-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c1a1fe52b501102177dc2253649f89830d594a233719236473346ebab01e1819
MD5 87c09b31fa3412d6633e3c91f0990700
BLAKE2b-256 b8ebf486ca6071153cccd04fa5fc79ce3e4011fca4c97c93975495e3d46a9b23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.50-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 580581bbe90f84ce1b40f5f5180607c78c25a1a51e2270e92f9e619837d8950c
MD5 95e33ee0755605c91dbc8e023348a6c6
BLAKE2b-256 14675763c7344e0227234810ecba6a4a6ab79f335f0d9d6379292ac6288015f2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.50-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0614a695c06d8d8ac9937d92465e1fec823ee63b66833b50ffef041c983efd48
MD5 175a2d699aae2007c817583f6716b194
BLAKE2b-256 6c1250242b32c680cda3d5bd63bc6dfacc433ba25a7ea813063cc2736b013624

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.50-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.50-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a47b22605269515802eebb8231c029a878f1d56eb5e68648e13984515f3ed45a
MD5 9fa5067923b10b356ae94d5ed96ebcf1
BLAKE2b-256 d71172d7a2bf3c9f4b0909e95e28b1d26d50fc65ab03bd5efa876dd6a2329b98

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.50-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 17d78c466bfd412dde9e415847d5ed1d988420312b8130f1ff427d5685caa5bb
MD5 1f3c6613dc31de1cf09f8fe2c79674e1
BLAKE2b-256 173fe54249763c18287d2d45f80e2c6a3469dcedf2bb93194fc0dfb014b7490b

See more details on using hashes here.

Provenance

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