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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.59-cp313-cp313-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.59-cp313-cp313-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.59-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.59-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.59-cp312-cp312-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.59-cp312-cp312-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.59-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.59-cp311-cp311-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.59-cp311-cp311-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.59-cp311-cp311-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.59-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cf924db42988c42fdf6b4679c9305c9ece0edd6ecc5f6f0d67d790231f4a8f4f
MD5 480eae8b09468ddabf22657a8865d24d
BLAKE2b-256 5e1d4133af9cbdd635ca1fceb5cfabb4c30f85041dacf39491c6a9561af3761c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 748d3b0db80959be8e02e477824681047564e572b1d116e586fd2d3e52a9d92e
MD5 578ffe24625e21603065b84f13f95411
BLAKE2b-256 74e2ba2c3bfafd0afb61a96f2977f412e81c21158811d345550c560b8076d524

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3bcf4a75ddf2aa23d4b0baad1d8dff94eddd808905f02ffe39854c7bca36ff5c
MD5 8ec3522ccbcd977f438a24a610d0a0b4
BLAKE2b-256 2a2924fe38de41635973da6e81bdcb64da7154dce86f51fa03e3c758e01703d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 508be04cdb1a23590be21c0b66d7d0d234e59b8f1c5cdd2a86665ded459a9241
MD5 68751214788f350ac751c384668aa540
BLAKE2b-256 ddf6c1e05de2de04d5fee8e126c30db421c9c60be29f6f07fd557e301aa6d82a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9dde8f03121335ffb2b618446820690426fbc1d8ff3ac5c3b8538d8ad66cd5c4
MD5 d4f94076b7cd2fb51641b9ab405c0396
BLAKE2b-256 df1f4ca1b506d0bf472574a3d8ed892ed4af27239d6ecd3fe6d80d3f8f2fa766

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a7a70731e1e5ecca07e5f627367e977f9278c065cecd8764aaef9e5aa135c32c
MD5 7f73b5e7ef9b1b082b435eb270051fbf
BLAKE2b-256 e0000e5592f2d55389ffa33cad8d27e72e42ea673eb4358499f350e50886bae3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 239a38b7daab35604411ed14da1030cd9f9ce78c0503c5507cdb96a5bbd132cf
MD5 b9d2a08fd5cb413f43c1bfa764eec03f
BLAKE2b-256 3a21bd45e6813a4b19e9fd6571d03dfcd5133211b281b3450990667b43b71371

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 49eb79b7306b0885ba5ec5c434bc371f3a7f47bfaf3172a3f05fa99a01447921
MD5 572b0640724fef4751eb01222fe4b70d
BLAKE2b-256 e3257efd63198e163f124d33eccccfc8645434d8cf7b936ba141e3d72515bf80

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4d292edf47183d880d3b1cb6312146082377ec659c33d5caa6da354ca39a83b5
MD5 12e586fdabd67c5dc5e638466bae31f0
BLAKE2b-256 fc9394b1c73d7e27d106cfa4564f091e08e3ee7f1932ea841142c9368328ec02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 172d52117623c12e25fe132493330e85b73ca8e3804b6d2a64b060cde17808ba
MD5 6a091a2087b437ed5d45e5838322f839
BLAKE2b-256 8ab3b91d70c77de66f7ea4de09383750064292c7f82637208a6f83fc90935212

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c761d8ee36728bc85aff699a6a504a0bd70fc53f956ffc33ccadcddf7d20ab00
MD5 2e7d09d7256eb4bc277e2a820f51d506
BLAKE2b-256 823f2fea289eb425172857b08838f9a32200162b7a520ec906552e9c2d8e85a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.59-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9cc7c94047229a43f24c011b07132e5a53868a2ee051218002382005c640791e
MD5 e2c2eaab3aebe9084d7d93337e407c27
BLAKE2b-256 ebf88f6effc4a68c7564f0c14d4fb1892080e484bb72af6eaeb663ad41d733ab

See more details on using hashes here.

Provenance

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