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.5-cp313-cp313-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.5-cp313-cp313-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.5-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.5-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.5-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.5-cp312-cp312-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.5-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.5-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.5-cp311-cp311-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.5-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.5-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.5-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 44607123d0cd65dfb76476d9d55fb0d531c33f00dec5afb342cd39d2f1b80a19
MD5 512b6746261da2072eba198d79e2d77c
BLAKE2b-256 29e4ee42e9a2ecb6e039acda73b835c584500a802c7a8f77305785eeb417ca51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8439e64aa0a67b7ef0c2c6c70bf993873bfe5810e8963ec994b1fd281cbf02af
MD5 98a7aa7b6a555b0913a39f5f7ef3005c
BLAKE2b-256 1222ec7ec57e307f838f199fe3a95e43402fd132984adc8721645dfdb7352e93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 e437a6abcafec3459682c3712f95f819ab7d989b48a1eccebb92877be2abbcfa
MD5 8d649ebb1109d47e0505e40f915004c7
BLAKE2b-256 694cf4e9b493d5ef53b7db0610c10f7d5d7cda9b302c3222e99082aacb27737f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 08c33a1971e48597ee56d913c99e674e9ed8fdba3b2ead1fd99adec44d5aee9f
MD5 180d20b4c840a04f84cfe753820ed1bf
BLAKE2b-256 64df1453b56cf6a0edff6256e344d0cf01f245fe75fdaf27d2b1ea5c3c4d7c7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0326373148b903745acd23f7d8a2341fae30ca05ad61407c0eb4bf823b72a3c6
MD5 852506a36e7f035a38854359aed7cafa
BLAKE2b-256 97013330b70aae6d9c2faae8ec9b195f888bc42517348326ffa30ae1151376df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b0372e3a0db858d5d7e43c1c31e703b49b305ccbd267086f0795922a3a88e7cb
MD5 b4666416d0244d1de4318eb28199d729
BLAKE2b-256 fe7fd35d198a451cc0851241358c1fac728c004374c0de2f8d17a03ce00083b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 f7d9c705cb9a431116980e03a8527fa3c94d244ec9eb411efddffba01e1123dc
MD5 0179c38e522c689cd78a0594c9bda9e5
BLAKE2b-256 7b673d885493bcf2c9b11af336f183f7314a2dececb831b51dd59c8e7cf67333

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aed06be8c7f49cdf41ff81e96a7d4394f943211132021aa60bce2f6e17666cde
MD5 6d8f156080a3327aadcf8e1c9147f468
BLAKE2b-256 5690602405083748931a365e2e1aa27aa4ad14a64ed8a7d41f6f875bca856d17

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 196799f310e9f493bad01d1d793ccc9b58696c7cbf3de9c549c74f4609569a30
MD5 58a3ada5517bc3e4e4eec8813c217b41
BLAKE2b-256 c5e50bbce2c2fbf13c205c7e074cbd6185423d254a043127c42c98a8ff48e763

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 58743b5474f34743448c56ba35e95bcc038e62fde1d9d52022da436bb3fc499c
MD5 bab54850d823a448ac5c4526840dfeb3
BLAKE2b-256 0b8ce1a970517d684469b3cd189bae7a2cd8fb6fa28cf245ea31030097055b04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 71cc35f553445ccacc2c3b2e19993df01db137504f6768ef89422feef6bb3476
MD5 946ad5bb018e6f2b7e88861b4427735f
BLAKE2b-256 44710a2ca992d73ac739f0ce36d5479daae3657b3ce3a5232dac8ad8528b9e46

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.5-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6ab391e3e5e69316c14e75076e11221d1415b50d7d325bd64042dad5c488904f
MD5 83fccad8e839493f7f618d8c26c55e3f
BLAKE2b-256 b634906c776e51c49924d00bc0fb62fbf4ad5bae1b1f4951487c9b1ecc49718c

See more details on using hashes here.

Provenance

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