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.6

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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.6-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.6-cp313-cp313-macosx_14_0_arm64.whl (986.5 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

gllm_inference_binary-0.3.6-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.6-cp312-cp312-win_amd64.whl (888.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.6-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.6-cp312-cp312-macosx_14_0_arm64.whl (981.1 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.3.6-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.6-cp311-cp311-win_amd64.whl (900.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.6-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.6-cp311-cp311-macosx_14_0_arm64.whl (971.5 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.3.6-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.6-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 23b7e075c5d9f4ad829d5c349d57a63045049e2753f1eed307eb2957069505d3
MD5 e80896082d79897113b67e91ba1aa7e8
BLAKE2b-256 e2e1cba5f7de53a531b30f8dbb0fce4e3b2218083f2b11dc267c31f056dcab92

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9e01d19eab470bd08535472624e8f291ff40f465c7c480d351cc3e5615a23752
MD5 37f7234d2ddc08021285667fdaa822f4
BLAKE2b-256 2c3e6b50fac4f2537e6cded6b6961b06fa3a06d344d557f07b055f19b4805ca6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d3afda7a9242404126888c46fb0a125598bbbb510191a40c0c3c4374a63ab40e
MD5 5746304746facb06068632bda0531b49
BLAKE2b-256 6e995ec1a629d5072d50fbe5f4246c45a464bad6c065ecbe70f0be1e85a582ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fef8befa922e4ac7132cf418406e8c6f8037bae4fbbd21eef2fa944b6636c340
MD5 f06ad307de6259f645b8a1819d04148d
BLAKE2b-256 dd82aa412f0f6bbb2acefcdcca024a88add339ba8e444704e6258ddc214d5735

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bfd764642b9e3b01984b24bc25835e71105822de7c4cdda244a0574161eff4a3
MD5 a8b1acf8f4a015b12ee647417b343991
BLAKE2b-256 4b1ab94a2bb700c24c1a328f5cbbc79f76ea819d131c28a5586005860e7b97a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8996233b4cf08a7facae5ea39af04840081405923ff7dc35eaf3493f871f5055
MD5 f5e18a6a9b0500d7a8b57cd4159db6d2
BLAKE2b-256 ce6186a6baaedcc5373cd6edc4b423779aed78fbd2d5d177a1f823470ead8d1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c58d784c984224f241dcdbca3cbbc65c784e5456e3513c085b78474d491ab3ac
MD5 2e77b1cd88df1f37c6eca5a456c6bd70
BLAKE2b-256 080aea471e6806e9b0ed079555a458bdc922d60d08ab69fd6b6214a788b3b8d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f2932de78a2622cc0f7086451cfd732fc38b0e6a26833868e41a517eba2801ff
MD5 f0daa3f0af909fccfc38c39fbb50b8e0
BLAKE2b-256 5397648908da37226599e4179b4d9a71e8ed48836d75bded0675d4011ce2bc57

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 64f8f7f87d96e80ca47224544e999c6baed63a48cf3ea613cade5dc2290057a1
MD5 cd449a2980d30d295cb904f2fa0b83b0
BLAKE2b-256 ad26864e91c9068cbedccd3bd85c950a4ed9267ca04ddf97c27b93b6d66d4332

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f871e69eb429656771c0a50287a557dea8d97a92fbba119832c658bd8801caa6
MD5 a483a113a2b496f8b3f0836560e0c637
BLAKE2b-256 098719ba8923fb39a96283834bd74899bb8936b4a81e3671a8e5f59d398081de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 eb7d909755885579d4e40e2b0b72d17c82f68414e059ce44cd16ce7e7af08cbc
MD5 959dcd2ee5fa1e291adf66d8517df4b9
BLAKE2b-256 4c14324ae3b0eaac48b36cb542fb63861d23d0cadf9d3bd6d6d2cdabd1b75b6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.6-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4fe2dc5e4b15155c803a2a6550bbef4c2751ef38d8383951e2d276af954edbf9
MD5 d93da780e149fce5908cc1ae246c8853
BLAKE2b-256 917bee0bd414c064a347622cdf04042624d55cc738f58330ebf651cc07d82bd1

See more details on using hashes here.

Provenance

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