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

This version

0.3.7

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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.7-cp313-cp313-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.7-cp313-cp313-macosx_14_0_arm64.whl (991.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.3.7-cp312-cp312-win_amd64.whl (891.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.7-cp312-cp312-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.7-cp312-cp312-macosx_14_0_arm64.whl (985.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.3.7-cp311-cp311-win_amd64.whl (903.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.7-cp311-cp311-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.7-cp311-cp311-macosx_14_0_arm64.whl (974.4 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0076ee689f2eb0bb6dabd29153df937faa5babc546d95f336d3f1b44b168f94c
MD5 17aec66098ed3cf41b184b4dc1c2e113
BLAKE2b-256 5419e34dbef7ab39ca494efadf29813c20efe647e3181d04872fe6adcd20780d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 aa0358ecc35f15b371b0f05d51e5ac30bd46b3af8c0f157fbe4a492dd6a36919
MD5 9c16277a3df7491c03777fc69d12a59a
BLAKE2b-256 c63456cd90ecf4f8e0830ca425cafe38e8642a2727f96c99c5a3fe6388274c08

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.7-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0ea40d8682a903be898cd2dfe093a9984af073ffc654aba4e33009cd68d7c8f8
MD5 665f8e60d5c96e5f0d2792e072bf7314
BLAKE2b-256 98ec5969196147b0374b0c8d532cafe31c1072a46250540336ca6e3df716b62b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.7-cp313-cp313-macosx_14_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.7-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9c144db4f172ef510864026bb15a137596b1fd611213aa1731ad28dc26460f7f
MD5 e55d221a96085549d050a4ca5c2a70a7
BLAKE2b-256 47d650d403d6a48f418b931cbe81f015d9dbdd59edb5dab0b9f23a051fe3f724

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 88a9e46d59c2dd41c8e4e75e41e1b31d89d3885e5f50159cd673ad0efdb39822
MD5 20e72789a2ee4a6cf78d9874bf58c3c6
BLAKE2b-256 742108cb4a7d8037877d12ad359ea3c3a5a7c0e3eb8c389e2c45a35349350a7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9a52cc9d89ba29626067fa1a704b7c5b988abb1f031cb1f8dae2f8956efb2514
MD5 c2b66653a73015e42dfede0c521d0ef7
BLAKE2b-256 585b5e534787e39bd4cc8be9d91515618933d7a68aa001a3b1ebb92e300a43c0

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.7-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2f54770a2ddbe159b03238a030c7a6d00e935dad11e70ccd91a108f130a3b8a0
MD5 6af9911fc0eaf529cc0afb9bab437494
BLAKE2b-256 6c275064a306e6ff485d2330ed8f2282edc9f14e3bfd1e33efd73cfcbd4af763

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.7-cp312-cp312-macosx_14_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.7-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 142372f496daee1c83c5606760c1b09354df776e214c61a5538a5b876a176704
MD5 2286fed735eab28bca709cb8b85d135b
BLAKE2b-256 572d8def6bff51cd8ce48ff8f26a0acc63dd365e67898c1045d7ec4eefd3e178

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4cc2650ff2c3cdb59dd5a7dfed04ed34059884d2930e3c769c15c876ab0efafd
MD5 fb28279e8da7fe661a4aef11f81da40a
BLAKE2b-256 b6620482c5a0f4e19dc8de016dc8033c94e8e60ab6c82a9121a9a9b505188225

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6805bc42b0fa52a33df826ae309d7fad2b9b09ac97e42513b36b8c96f3ae3d7f
MD5 a7c09e58da194cea69e70bb55409f5e3
BLAKE2b-256 c2314feba338c9c0795069fd29856fd20a9ef30a334d1b388141ba93b487f0dc

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.7-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f7675a3f610801781461ec8f3d1bde4b9602e382d70dca0de678c646abb4e412
MD5 bd793870a4984cfcb309ed2df3d0656d
BLAKE2b-256 ac99cb52dff5ddbe1bc6b0459636519dc861bc3095ab8478ddad5ab7d60ce9ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.7-cp311-cp311-macosx_14_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.7-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 aeba4de2cb78038853e37762cd2ef17369f85afc458e61186cca8735b4916f9c
MD5 039bf2e7c5e3990d3b4b9bc8d0cc8e5a
BLAKE2b-256 855ed746764a36cf4c0a70a907601ccdb86d6c43cb0708dca5cb6f14ec0b8862

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.7-cp311-cp311-macosx_13_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.

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