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.8b3-cp313-cp313-win_amd64.whl (895.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.8b3-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.8b3-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.8b3-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (923.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.8b3-cp312-cp312-win_amd64.whl (897.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.8b3-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.8b3-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.8b3-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (918.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.8b3-cp311-cp311-win_amd64.whl (909.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.8b3-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.8b3-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.8b3-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (907.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_inference_binary-0.3.8b3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f73f9ae618dd48c7dd25b4a47b69f72f2d8699f68b50d3a35e235f503406bc90
MD5 c3b11427cce99917936f1f34dd1047d6
BLAKE2b-256 550b4d1fd80dad26e2120d4aefb841c12504d556975fb3b5bc3cd830259ce391

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp313-cp313-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 203e14182fc38509a40215b258685adcce4d886981d6f25a0a2bc45d05323e3f
MD5 431cbfb404f7b930b066d031d73ec9c2
BLAKE2b-256 8a63d881cad889a6770ed177ecce141521506d3ad12589a99bc8426d5350d37e

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.8b3-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7183c175a849cb2eb4144c8d790540b07e4592afadeba0c8ee59e55e54a77cc0
MD5 11605fab8d8db3e62a9bee08b0af4d8b
BLAKE2b-256 007ed9854cfc822adcf617a586103f1187b7f45c9eb75c5d97ba8364a817c24c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aae31f5ffa2e087f040053e63575eba54726ea8d234681232c0e855f0e259b50
MD5 be112b4d8d902c4d2075190273203767
BLAKE2b-256 134877d1f55fc2656f2f88953c9765cb390f9e96643703b61a11121da9888308

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a68e0fa7c7649174ce2ac05ab888e0a2d189f401a9ab372bd512187afb0552d6
MD5 f94c118ef9effcbf8e4613600158a3f0
BLAKE2b-256 5c655422dc2b85a82b1fe50fb710e3ff5ec4e238d5f10abbbb63eb50266193fb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 6a937c9dbec9645df1657b8cb418857a10fc575dcf1092561cf82f47b7516306
MD5 b9a79668e176903652bc6d9778fd83ce
BLAKE2b-256 d46e8d28ae583c5e04642f575a13d0ce36e8482631938e4890087e38e6bd1b47

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.8b3-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 f14a517e96bdd91f5753348a8093e28067db1e132bd9b46b3533c01306a4645d
MD5 9d6b0e6c787bb0ea6c871d5e05a1af7b
BLAKE2b-256 f966a673721bd3c9d7e9fbca6e902cb7bd66df70e70dd3ebd6ccc50125e06235

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a3e89b6a6c45e14966cbccf37cfec341c6ae1fb1e45d98708df013b7a6cf8cc0
MD5 920acbada51aba673ae73ebe4fd86879
BLAKE2b-256 67a37e66abd7dda826159416d991b7d448a8a721738a72ae7c5b78acb99a3c64

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 878e47ffd06ba16781850a6cf93d4cfcbf6c0b248e5cb200d8b466a67e910a43
MD5 99e365a98fdf447ccc0f62d15b957294
BLAKE2b-256 7c85e622dc8adc84acbcd74630916e94426bd13f23cc8134915b868212317560

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp311-cp311-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 ec62f3a6b3c94847e497f525b66d638ddb482b66a37d0496f29638ca2e4e2389
MD5 a90a1363a3bcb71a5dfefef833d76e31
BLAKE2b-256 a067f2f688a9a6d17f840ab2347034c7365dc8794580b3ad52c9a18a0da93ecd

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.8b3-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 e6b470e9538d4f584aaefbf704ba18bfddc387b0fad72f004f43271027cb7bd8
MD5 799ca3b214d2dad26ccb5534868890a4
BLAKE2b-256 b5bd2bdcdda894c534a68a9ec17675ad4ba581d3dac0347e9744ed1449d8592a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8b3-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6ce7a823d990af38d860eef35e3f3fe8785f704fedd1e74b5a98ecb87284c949
MD5 52088922f15b2867559d3a04a4ad37cd
BLAKE2b-256 0ba433f3d5cf9bcabd21cf04c93d235e0899124f33c8aaf2fa62c1d781b93a09

See more details on using hashes here.

Provenance

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