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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.20-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.20-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.20-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.4.20-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.20-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.20-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.20-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.4.20-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.20-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.4.20-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.20-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.20-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dc0793f6acf4367861f94bcfa6a4d6a294179430ed3fb2e3ed91ae5e2073b990
MD5 709056f1860c93f45c48ffda81ac0913
BLAKE2b-256 299197a07a6b00c31e909c720d1395f9c102b667927c29b8cb7f0e9373cf64cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 680675312515a06e7f23fc811e4a165ea6470629ca20cb33bd62e462f1f39f5d
MD5 c4b3b69ebea99770ce144656871cc366
BLAKE2b-256 ba63ec5fb212dec8440c39dd5734c916acb9d3fbf3b80c701f78d16cf97727c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7e25cbab2d2f88b6694e06a7eb3c887d63130d8b92ced1a8535d3b02f4baabe1
MD5 411c761ea29530d972a7e21c9f8de8d7
BLAKE2b-256 7aec63b3f12b950ff4bb66159110cbac5adde63e06b770a290f5f154306d9378

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4682334762392302176de567ccda8457e8b858d3da75ad6784b57bd2e6913b70
MD5 c6741eba90b0637fcf3d6bbcc596f931
BLAKE2b-256 16934ab7068d66ef63a83392f4ce752bcf46f300655f8568cb147271b0e61671

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3c75bfbd19e07d11664a660a8dd7dccb2b1312d4ba313052dbc3a5b4e6bb025c
MD5 60d2926e9a67cacbeee103ba92ea96a5
BLAKE2b-256 3a18b6b052890979367d0e09a005a6946f265edea3915b207149636a292012c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a51f52631f937b73dca14f458dbb36a9242470020eef650fd7e87385d6e0c18a
MD5 7b8c5b353125f818483b4753e94085d8
BLAKE2b-256 ab9abede9e5cf73684cdfe3c99d14480270977f145cde578c6b232398e83d30d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 5b4f00adbadf4c21d4f76f52733003884f7255aa3bd1ca787f783a03f0e48653
MD5 bb21a9c5d73611138c4e6286ffac079d
BLAKE2b-256 82975d700827f082dc9c5fb7c1146e40a94fee8dfc9425ac98a7ea9c419da22e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aee4494c486ba4a3c513176cdb57679372322788ca497eb045d9f470ec0c5d08
MD5 ce829c9e337012f1dafc96ce9f88e9bd
BLAKE2b-256 0230543d7d272ea908bf6d2d12cfe613bd79866891cf2e51ceddf00a086271c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0b2251743395a779ccbdc6d4ecd9330d6a919705afffadec182c98342ac31fde
MD5 d1c993370788a979ec6afa1cfe008ece
BLAKE2b-256 1ad2e0e5b45a581f20592ea612300c5906e1d86e01bab0549cce9e15b7ecd8a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d4d4600523c4e18832b9e6e324318a99f7e887cf9c970d9e398635d2b3d72333
MD5 98cc08fc9ccb511a2e820c45d350a249
BLAKE2b-256 59864ee24698cd4d99ec6f7b20539ea09f6d469c0fc742fa6bf86ef3e4f5c35f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7fca760b6d8fe046d762f8a3db4385e35e334a97f2e7e2b3175faea7acbf6c45
MD5 69c495c7757e82fc13ddb316cf7b525f
BLAKE2b-256 607432f853cef3ccffbe2998232ad21e1dbcf97471ca85447d11faa50398310b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.20-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 efa7fff7c4eed88340630eb6cc135960a14fae1a60ba3ea71f4f4444f30f1704
MD5 97203469200d80eb910e63ef0a12d99d
BLAKE2b-256 9e4e011963eb6f88053a1938bdd35abdb79091e5e0a88855092cf5ab5ff808ab

See more details on using hashes here.

Provenance

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