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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.26-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.26-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.26-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.26-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.26-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.26-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.26-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.26-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.26-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.26-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 30871af8d76143bbec852b748d135aa2cb09c783c09ebad5b18ba0ee13578ac1
MD5 5361f36dcbe45d9b133ddb9a4e85b4cb
BLAKE2b-256 605316ccee12391da1f679d268acf062282a18d7260f9d9ae84f251f010753ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 be98dc0f9c2408a9b0cdad91542553971942bb3e22292003f4d3b3194f5c22d9
MD5 271f0536f69e179c237926af3a0e72ae
BLAKE2b-256 2651b10e63da08f36821dfc4f99d4250ce94521500e1d4a329c269859e7756e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 81d2eb0d6ead37ca27e606ed7abf19ba3458b2ee1ec5e2ca5b1e1f2990a6cfa2
MD5 d6e0a3093694ae31a02cc83ff288ba10
BLAKE2b-256 24994931d0a4f3e4d0ee506d92319deba06e13d8ccf1f6b8b200b6d919c45ef8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 17b607691f2027f72ce45f7d2616bf5489eb8930e23268251225749149446cfd
MD5 b230d0ecbf6e20046d68915dcc3cb1e8
BLAKE2b-256 ba60d45ba11eb04f5d2eba7a9b159fb363f59030ef1b8e918743c9c0b4152f88

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.26-cp313-cp313-macosx_13_0_arm64.macosx_15_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.4.26-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 19507965f9186643ccb9a5aeb12e57b71d38fe3760dcce41a792d90ad8627569
MD5 721efc66c841fda230405c2db87411fb
BLAKE2b-256 bc6b114123882860ee01130866ff3c8b2e2dcde7b9d2e102d0d3b6ee7766b4c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 194741e8e07b29e3c79faf46f7888a5e34b66e425eeb60fb5d143dff0bbd9817
MD5 1827a71305d14fb8f7f734ed006fc584
BLAKE2b-256 647866b151bd0fab3fba57ebde1ea17a276fa3d1ab0ff1ea664bf66782aa910d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3af86c7dd1a2de9b0556c87ac24da4b0723f5c3ed7020ab73959ea8c930c5c12
MD5 c5964d69933d0f263441b4993296eaaa
BLAKE2b-256 a8e1aa437d3e288f0695893ca8ea38a684caa32f65495c1e9ad50be432f987f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 295162cff424bb100ca5b850115d49e5dd92c8436b7a3d9ab03618630d796378
MD5 3105b24ecb8821e763379db4f78b2114
BLAKE2b-256 491424691cd07b5501b78cac61e5fa55ce2629e4a23c668b826adf9bd74d197b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.26-cp312-cp312-macosx_13_0_arm64.macosx_15_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.4.26-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3df052da29862ac685d037fcc99f2a22d6a516b5f7fd665e8b591f7174b64618
MD5 be0c4a0fa67835a22b1b3b17fe885f96
BLAKE2b-256 e95545fd3347ecde87395245160af55fb0c58c7d64cf95ca1bbb1c1041510072

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 be45936ad59a2090814c43b59686216c3d2a0c202f2f548d9f76ed0965f8c969
MD5 f4b64fb540c0b53cc71aa63fbbfcefe3
BLAKE2b-256 00a8209f2a3e0522e4377a877134a74d509beef1825f8ce8684bd1e32be3b1dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 515fa787391fa1a7d6ec8b40310b3e9618a1f01ec8ee86d0efee04707623ea75
MD5 432a60fe200956a97fad5f0edd81c347
BLAKE2b-256 0f90fbfeb0269b6d0e29298304dc66fb336c293120d41f39eca8feab57441e73

See more details on using hashes here.

Provenance

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

File details

Details for the file gllm_inference_binary-0.4.26-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.26-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2ae4953380e0f08ae6a300fb4110da34de2905b1180f9e6a04ef71fc80cdff6f
MD5 068ea9856ca721b397d4e5b49d3536e5
BLAKE2b-256 28ce8251df0fbf9682609822d52b53a4f85448b70c7e67a0f615561b5ff5cd7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.26-cp311-cp311-macosx_13_0_arm64.macosx_15_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.

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