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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.21-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.21-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.21-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.21-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.21-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.21-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.21-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.21-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.21-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.21-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1dfba6e2bcb055e25ddd35599d9cae1a64093ff26d9223adadc2890eb6f466d3
MD5 473d9dcc3ac63359bf25dd0ffa571b99
BLAKE2b-256 eb9bfa9dd358f10faa5e353f18e33a893dd56378d784dd502bfafe9717fdfd74

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 948978d21762416f4a478f77385692e2f86fe081ff37a2a632636f769a4654d3
MD5 4a9ca2e475cecea5605d04daaf745ce2
BLAKE2b-256 d74df671f3b92a7bdb825fc2ef9b4ff6ddbcde31572797d28f84b1e92d7030a0

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.21-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cd70ba95f0c7df7759c8bf21d8e99d9c17ee41f575d795fca9de3bd1fe1bdfbd
MD5 cd1ba9a11edf4968a45bb8e682c6518d
BLAKE2b-256 833dd7ce6010cea0136b08f0dafc741ad62949cbba741a3d330eac36e2d96053

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 31bb5074a8bfe8e06253125f543a6a85480291f8db20b36bdebdb16ef290ad9b
MD5 e66d9f16f172addc3be11d5587b75c20
BLAKE2b-256 3b7da291ba795dda386dd87cd58352ad4e022fc7ff614339c3a853d6289dd86e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.21-cp313-cp313-macosx_13_0_arm64.macosx_15_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.21-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c8049d4931406fde9a626fdcd188f32f430da54c1502821144ef5ce2238d9b69
MD5 b29c5cd2f4897fb540d028de19807ba3
BLAKE2b-256 c72cba4ce6d3bec925080847e90981ca4b48ef9305902260a5782262a9840792

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d91b25ed386c49e8df676a36ea9fb20b9d29da0df113abd69fdac4e878c4f4b3
MD5 3bcfa4b8a0bab59e4ec584c8b48ac2dc
BLAKE2b-256 f46e4c024d9d5fbde91005779f95020de09e2ec8c88487fbf4fe7b314c3fc23a

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.21-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ce6fd813817890db2b389ea240f4db3f99bf5dcbe1607901df40295a96023e9e
MD5 7124e9ecb813f1001fee3251b1a5d1a0
BLAKE2b-256 4c0eae137ffe4f2c365cea4c4f413d73c47fa6e8521e75949d6c79dadc0bdb9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d9e8d91ee5ce11ff4f675c08e3b32910d981c3ac2115c1e1f526524b8bf00d70
MD5 18ae83121b16b27633fd6b8f7ae5eb92
BLAKE2b-256 0e6da554b30a4c1be6870122c2891ef3886b580c0ddd871eb30feaded7c062a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.21-cp312-cp312-macosx_13_0_arm64.macosx_15_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.21-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 04cdb89a3a6eccb204c83c805f714aedfabda8cfdd2ac7349716d84d67b808d4
MD5 8b2de3a14f96fb1c0a91f7608c73f6b5
BLAKE2b-256 3eb6d8e4fe91c37f687797c3c498f8f6d49b83ccb1cd0040eb5695bfdd5c1d9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6fabd2688aa3d7b10b4cb0494e5ac9b27aac75f1cf9b1605ea22a0f75cdc3af6
MD5 8433f490d2bd5360b253b660fb653b98
BLAKE2b-256 11efc0ccd9223a40ea38488570549ba0f9abd3281079ee9dd00704247e937ed5

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.21-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c3e0b6ef57de6f73326d1db40415d9fad0d9eb3a48d3757d4f589e528322209a
MD5 dcea6b5c99c4aff73473b4127ef315d6
BLAKE2b-256 9e68202fdbc3fd8d9a1c1da7c65a305c0e6a4c3dd631169cc04d7b69489fd096

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.21-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c4a21e3aec5f5085bab7797dc524c00a4026547c1fdca8eb74cb9ce376419056
MD5 6e5636476fab859c00655cad54528cab
BLAKE2b-256 e430255deaae510484b740fcfb54c04cfdc707e5a1e6773ca804dbfbd4b771ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.21-cp311-cp311-macosx_13_0_arm64.macosx_15_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.

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