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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.2.45-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.45-cp312-cp312-macosx_14_0_arm64.whl (904.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.2.45-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.45-cp311-cp311-win_amd64.whl (831.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.2.45-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.45-cp311-cp311-macosx_14_0_arm64.whl (895.2 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.2.45-cp311-cp311-macosx_13_0_x86_64.whl (996.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

Details for the file gllm_inference_binary-0.2.45-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.45-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1210eea3b031957f27983b76443123c5d3815c46618a36456356dc8fa424b10b
MD5 88a4803683deaf5a2eee6724a647538d
BLAKE2b-256 d20ffa9be755d494ea4ea06b8494ac7c370c155b6c1b8393a61326c7c6bde257

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.45-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 512e6c029fac7db1e55188c25a70e65ec9d1383e689e68a95a0c214524f60ec6
MD5 707c838919d71a96322b0b1d48f5709f
BLAKE2b-256 d7a00ed9df30512a8237e55a25448090b5fe4f2329a8a11d7198a7199dc0e122

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.45-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2a5ac4d985c85f6ad1a2e6679ac4e52119ed6ee3c8b73c95124db3b16540ec6f
MD5 9ed305eef89cf717ddcc5507ed5c964c
BLAKE2b-256 0e7f429cbe3d5bfdca01a9a5b176b567f37eda404a1ae3f963694bce8cc4df43

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.45-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 af960fe696db15bef9a83fa2b735ca83ffe679c0873686d5ca5fe3e1e919ebb5
MD5 6f9ac7c2feea5f8bbaf2915f3ff29079
BLAKE2b-256 fd0996bfb11fc283919cb1622c561b58aaa2d60fbd3fcd6dae992e6ac11bbbed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.45-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7366a809ca8fd5d0c02568488ff168cae5e8d17c1542b536ffa56be22f8e49b4
MD5 62dc963af459e0936bd20fbe0f3b6988
BLAKE2b-256 1b38df32a9993009548cb0e6fe02f883b5ff1a271387fe2ad8d35c8b87bc6944

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.45-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4faa9f663d46789d332f9d40211332cb9dc8b8c651df7657985a2a9dd61f31c0
MD5 9f38b8108083e55384cc0681330d9464
BLAKE2b-256 661fca01004820196efa9c39ad25e7842dcd1d3556744be11088968f453fc801

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.45-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e6e9b5fe946a619fa77053b824f16f9f2b9758c5569bf47f72d61862bafe2ad8
MD5 c40a53d1e2783ceb97b7cf600fce4ac1
BLAKE2b-256 53ddaaacbac7d006902d22f3f2d9f7ee57d3973be562c5fdf44fe5c9f4b9e9aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.45-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a35d1113b995d741cebe0a904fc15f42d515561540f3c2764b3892c1bdd1f9c7
MD5 8e694b29e9243587f7e93e73b04257b8
BLAKE2b-256 0f9c000dcb7502fd13cb04f1aeb611557dfc21bbd628bfe6b8f5125594820b13

See more details on using hashes here.

Provenance

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