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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.32-cp313-cp313-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.32-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.32-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.32-cp312-cp312-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.32-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.4.32-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.32-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.32-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.32-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.4.32-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2ff178b8928257af26ae36e2f83493a2cbfd862f5e890fc66aa425ce160ea904
MD5 7f6c3a4633d353dc6e473e21935eed74
BLAKE2b-256 2278e9bce572af34ae3e413eae6c79385f6d8d91c690f166fa52c66a17c6cc2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 002ead284ee05594ba7c1e170075a6a125f8dacb8d09fa7368b6a6527fa2ac6c
MD5 4812e70c16fce28bc497ce3564b53e59
BLAKE2b-256 8e24d6072b8464b238f1f70e8396a9d9cfc65440a3475c76cd0537304fc40a20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6e134f9c9c76979458542cb809724cd25fae429877eae771b379118931d87b8a
MD5 e6490a1ba1ee3453dcc473b4a1449f24
BLAKE2b-256 2aaab490061352913cc37e6abc540b9ef4042625b06482281baa66a21f26736b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bb91dfe13a46857ada65390759c8a82ddfc98e381324a143d69dc93fd80c8d59
MD5 f2cc8d7af4c25ec094849732b35502d0
BLAKE2b-256 6d6e0199314e9b556c51db6db49e7d268051d1d4d2ad5b98e05915d6fc39b778

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 179e5f98639bfd0f31f7bdef08c56da9e8539506f7a0f208c71e4a58ed2cddd3
MD5 87a9b1b2569ebaffc7ebfdaca0e34b81
BLAKE2b-256 e4c9a782d6c308a953d34d6dabe95a5bbf7d0db197de3b7a3ca2b7599a128e7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 58ec29a167b0ddef7e73621098281449bbc754905df16c0a628d802672a8ed03
MD5 fb4d2c1c2eea01a88e122b702814d805
BLAKE2b-256 a42273dbdce3de0a8ffc98dd0dc50775038bb6680eb5cb9240c2d4f4b923be3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 757cd0bd7cd17a6007ed079ac8077ad8f4394b4b85d4244440aecddff8fc91ad
MD5 b4563d9e514f6895514cbb3f9b4f296c
BLAKE2b-256 19cd045b1060dde88b5372541ded8070c8b295e5b65c516ef6f17d5e684a409c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 654bf22995d1126738ca4f73e929768cdbec706f9a5f8b2e244b75ce5ef6b43c
MD5 7827896c738e13f5e7068b2eaf470d3a
BLAKE2b-256 dd49b1ceedbf2ff937309e149588fad6960e40808cda6a0bfab8f61bf229be3e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5d45486cb3519e19aea58db344871a7203111a3192091537b0097609ad13fb71
MD5 0d7f7395bb20a2fef29301923937924f
BLAKE2b-256 da73fc6e2768e022afc7b080a037d0cc34d38be3871a3c00d578973449c06094

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 00e5202dbd6373f58dfda0518ea33abaf276a83cde321eb6aa56cd6958fefd1f
MD5 80bb4a4c605b82500db60d16c5862557
BLAKE2b-256 de21cc36d54294d8c63d413259fdaa9008c595f7f7c0058c3d22c37c4a617177

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 250026084ef11a27a0fc723989e4858331eeb2777d3f5c287783f835544bb44d
MD5 3c7bdf0193fd35e2b3da9d7704452724
BLAKE2b-256 68a06be676b7141883f2c1d9294bd9194a593b81ab4956eeeafe9db10d1599ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.32-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 58959b6cb6c3523290583b6f39bb5d641123272efd62a93a15a33c5d0dcfe7d3
MD5 9a1a597a251fe3b8820fbd55577f025d
BLAKE2b-256 d2830c7d5808d343e39ea618411ceca60c664431aa341320e83e82c49a3ae9c7

See more details on using hashes here.

Provenance

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