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.3.11b1-cp313-cp313-manylinux_2_36_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.11b1-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.11b1-cp312-cp312-manylinux_2_36_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.11b1-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.11b1-cp311-cp311-manylinux_2_36_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.11b1-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

File details

Details for the file gllm_inference_binary-0.3.11b1-cp313-cp313-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11b1-cp313-cp313-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 09b68faf370ee5697e748ffb26b4168bf037ae100492cb3e16e06a70b7e7004c
MD5 364d5fde1ae9170633a632f75440eba5
BLAKE2b-256 1458a36ac72809b75bc0b7ff9535294cbe93e14e578cf5862c1e9ba691e1e822

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.11b1-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11b1-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d1e12d34308b707eb81fa1efaf1be8ce2412623c7b6bf763ab0ddd975c5fa7e0
MD5 7ce3014a08683ab515b5a87c6f677062
BLAKE2b-256 63ff146cd4ccab57e233fbb8bcc81d4843727fa40c833d556a7f8c601a87dc90

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.11b1-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.3.11b1-cp312-cp312-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11b1-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 09bbb62d86529dfc886c2cbf21cc86227c49aaa6ca949b294638f0a15c258478
MD5 34525df0b33b3fb51296fe3c5ecbac13
BLAKE2b-256 5793752ae539bdf9034ccf0f31731b450623c656d7c792d918c15f2ed0aad364

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.11b1-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11b1-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 9e775da75c070e20e9190599cd8a7a584ed2cf12832d01c3ccbd58e712bf9873
MD5 f79e396c1d39f2a7187590d57ca278eb
BLAKE2b-256 1478abc4e99813b2bc9a706ab70e5021efce85073ecba34ad70d0b07f6f669f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.11b1-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.3.11b1-cp311-cp311-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11b1-cp311-cp311-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 df300204b89d2cf55b8b56138fc47a48cf348de33fa7fab927909d6dcef5b4a7
MD5 590b3c3b11ad010db3d66bf0483b33aa
BLAKE2b-256 30015de84accbafdf391e8f37f40d121e7056fecea429e0303f7906d23da7e94

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.11b1-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.11b1-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 fc0244272ed155520d505c57e5beed1f13426bff154b707bcf2dcf9f1b30b979
MD5 62dcf450da5addf2304daaa0ea6960b1
BLAKE2b-256 58e95520d2951a9e9a13d02a57d3bb5062bc038cb45ec9f6fa3387d14cb3d7bf

See more details on using hashes here.

Provenance

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

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