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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.34-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.34-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.34-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.34-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.34-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.34-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.34-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.34-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.34-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.34-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.34-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.34-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5d559ee1a9d0e5c12583ef06f803b31af680dcfdfb3ebbefed63bf2905f93162
MD5 705a47d1dfbdb3754e0af0eeaec7895d
BLAKE2b-256 c0d11418da9ac685c3a2131542a1a218b318106382a8bbcc06cff64d6d031329

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f4f5487d038674749ae0c80ff95c5a5283b240e441cecfc7d7544492e0340ff4
MD5 17325e5fd7ace8e19d2dd335b757f5f0
BLAKE2b-256 c0a7f1e3921b6903c0165af2e892e80f9e29be25c692cc7e089c8e98e91f5cd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eb3c75d58c76d70dd5d3a7653c052e0e96549e52565be1688d20327284d19320
MD5 3ea75f23a4ff5e353accfad862ee79d8
BLAKE2b-256 5fbc32b3ab19c9fb7702c31eb42f706da84865944e29a36a1c6adc6166bd22cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b6ccf30fa153ad19e296f6206aabc872b0e30900768f68700518ab907e56047c
MD5 0ad710ecd09252db3efe33035e4c068a
BLAKE2b-256 d257edd5dafd1e6a20877c23549eece422d189a526063d72f2c1dd90cec6792d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cfc29dd50bcf6f8adae9dbf7cb6f0888ade766de696d57daffd0f26fdd7949cc
MD5 772662a7001fc407eb51d99d4f2c30f7
BLAKE2b-256 13544128f0cdab03b57474ac2233d2252289a4144196c092e1e4970ad16c8b75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1ce83b7ce75f9047794b1ce5529881da3d9c748ba74582bbd066e4f1bc4faef4
MD5 88524b705438f7eec173201f7ca11b7c
BLAKE2b-256 19c4afac69a5796a6f1e584998a0a7029d86f5fc6df1b59f896c60cc19c9b6cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0166c55c70dc499dda470780fadbef79a167157b6e49cb575b114f201fa29bb7
MD5 723f66f44a1f68439da322b214e7ab0a
BLAKE2b-256 633633b37f893d05f5710ce9662d3303006eba70816c1d403ebe1e151fe037b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 96d49d2112b4dcaecc96195a2679bf592164022a98db09b38d6b0579dfa61d33
MD5 e2fd9fd71745e038af6c0459f91ab87e
BLAKE2b-256 e2aef2ab0fa9b31bf4aa802c9737db2d58469291afb88bd1ae53c979f1058ef1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bb27c4aaf97a468a6fde9644b5679edd4940d5b6b648f5e4439605b0fa61db6a
MD5 88e54e0dcd433e75c17de8ff35a5e93d
BLAKE2b-256 cb8f3cf969900795e6980039043c82a6eb79d92238fdcd1af2451186966d2e39

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 94ded94c0dcbfdd10690e3be3d6e73f5c11f66ac1ef1cb09d09517767f22ab56
MD5 18a36eed3781e6e0a929054afed999a5
BLAKE2b-256 354042d2a5efca667fcbcbd26f078fa4ffcaa63906df9ae29b2f54809e931136

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3a2d188c125946b00a7eb111a7e571bf6fc71fc0727c60afcfdaec3d962309b2
MD5 c3afb66ea0df49246dc389dd49627299
BLAKE2b-256 5e6f10e2f7fef8b2e73b4c9a591a3fd60d2b40fa823a20b7560d59f456ad2d28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.34-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d9736c04b7ca500f263d54f12369286865a3ac3e00cb76eca7164a02c19ee563
MD5 275a8fa08f0b8bbd070e414b91a17aba
BLAKE2b-256 595f1a2ab8b3ee9443d83f4215ff2f484265a7a98e9b2f0363ca948526ba8fc8

See more details on using hashes here.

Provenance

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