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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.9-cp313-cp313-manylinux_2_36_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.9-cp313-cp313-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.9-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.9-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (928.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.9-cp312-cp312-win_amd64.whl (901.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.9-cp312-cp312-manylinux_2_36_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.9-cp312-cp312-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.9-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.9-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (923.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.9-cp311-cp311-win_amd64.whl (911.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.9-cp311-cp311-manylinux_2_36_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.9-cp311-cp311-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.9-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.9-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (912.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 00a71b794a4ad63da221f28fa8d5f4ea043fd3324b472537fbbfa5f2b71ebbf9
MD5 7c5070e0c2c4f00790e34576ea761218
BLAKE2b-256 5a240a0d6925a0eb0968f2eaf302d76240d88756815937db17f5a3852982de6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.9-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.9-cp313-cp313-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp313-cp313-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 091a1bae966047678c4c3309f8ed53c31365244315f0491868c4374e724feffb
MD5 7408eec9210e89434edd8c4e23231dee
BLAKE2b-256 0267332611efce8cc3cc379d63ca232c1d9c6152a5e208106441218eae3333f0

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.9-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6c1e50a5b29b71e7e9d6eb8ec55c5f056d22c6d74780f55880b3a0362c1dabe7
MD5 8b356fa2a3f4e4131eac2c3dd774e642
BLAKE2b-256 9343fdbf8a8e480c5b30e9a22de792f32be2762ef5ad2479b4a804c7a22ca032

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 da08868f960f0bcc766e0331ce8907cd2bab01f50f6fbf775b293acb60621abd
MD5 276ac3c3393d58a891aab969e0dc6394
BLAKE2b-256 c09ff61c76823e7f4d81f69d55f2666aaa77dfabfad7daa23fa8cf21bc251ec4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f36f059ba41219a0b4caac9f398377f161187baf928d6628f115e30046338c5c
MD5 dd38f48535d1c68fd74765b53eb1ab7e
BLAKE2b-256 f28209dc09898b3307226a233b2757de63e9b096072cb7e28f0a5d9026be440b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 745f884356bb32f1ba25c2e823d7eff4029aa802fe17b3fd1578a36f900d3724
MD5 64ae3ee3f0fc4663b7cfb31a8612eeb1
BLAKE2b-256 7cc374821357ea53574ed222bc102d3d36eef4c3835ac02b806874682902aa45

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.9-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.9-cp312-cp312-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 3e2146bf021ff6b3b2dafa381da6c3eeb2edfba325d6cc8fce34111096dfc213
MD5 0e96cc1c318e4c5d82f34ceaf98d72ad
BLAKE2b-256 245600cc55986be9b53e69250cd3e043948620eaeb200eed333eb155ff5a7ce6

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.9-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 65db36a13b0f015bd67595f43ac9a14279cab822e04be4f4c8df30f7127f17d7
MD5 0a23a716053292c23545f52b6d4ab767
BLAKE2b-256 6294bc6860f3c62f2598d3ab031a79b4b031f302a336e5042ac57c015f5fb84b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 8246186b705d78c587e09e0b16d6e5926d80f56d41f2bf25e7ce972fd07e65b1
MD5 f0d4b042b3bf753546a57e56a34c93fa
BLAKE2b-256 2d50670adfde2a915dd39ed255d52c9de6e1a5ff62262b5662418fc839026413

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 57db790e928731ea63bd54a2be3d5787b5a77df18119d4c939feb03bfaab6833
MD5 deb4246c11fbd82e116adab8405e69f6
BLAKE2b-256 e7484c805ba80ebde3ee5bd5d24b68db6a9844efa2bbd9bfa4935983007dd4e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 27e96ce53489f8323dffe8958e59e9a7e096814307e42dddf16642f4ee2584fd
MD5 bb3f09a7044a27cc0e7fa171845066f0
BLAKE2b-256 9dde9f5adc4fae99b712d944895f716c2d380760c05b0c4baa31f64a30628079

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.9-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.9-cp311-cp311-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp311-cp311-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 79195018e5a6fa2f38988e0b68c123b653e011d58b6955c37fdabd953bc38671
MD5 6a6a8a461f547be91a036d9fb4e32d26
BLAKE2b-256 3c82a99eea2f3e6f42d6557d37005d1f7580d072feb8d81cd631435951dc718a

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.9-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3f595555c93947f3f49a57b67db7f03fa07c9d2775557eb5562e9bf054dee9d5
MD5 bc4fc297b32ec9ea1df354e1a738eb9f
BLAKE2b-256 3e2fd04ae8ceb04d7baedf5ee113ee0137f8602b94c21aa308f70effb4bb90df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a5a811a8a82a1a2044eade03ce0f4c1100884b1730f96c8e9c748b7d160761cf
MD5 75695402d73545a1010c4d30a5ab216f
BLAKE2b-256 7a1b35291cb2b36bad1d6647a4766dce5f6cb6c24da890a41f2944ffb66dfc14

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f23be3bd8ea4efcf22ab9ca700895bbc667ae06a42e6bd4b7b035d6e567df3e3
MD5 67c7f1ceb59fa9dbcbd17af635334bfa
BLAKE2b-256 4de8b9e9bd69db463f79c2cf1a080af71cd2826e94506459b2e6acfe21ceffeb

See more details on using hashes here.

Provenance

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