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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.16-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.16-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.16-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.16-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.16-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.16-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.16-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.16-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.16-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.16-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.16-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 94b48d0c9dfdaa855ec1ab5cfc0bc2e7319ffcf6eee39d337d3c81710782d2b7
MD5 62394002f37803c26296116004f1feb8
BLAKE2b-256 21ecf48b6c40d5a1cac78bf9b156766ceacbbadcc59eb139d9169243f5661deb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7ed4fd582d47b5a86c5af366710058742c43b795ab407a7896987906e061fb14
MD5 8af6230be0bcd0ad0184ece8ff2367f0
BLAKE2b-256 81a28a4d67a996d94c93355091967239c8a8173d1c906ed1499216f02fe29404

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.16-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 51cc737cac27120aad7b49bd9173e072eb5b19c938f79e4be3bf1c4318ebb64d
MD5 b443eabf239a4888bc76ef89d6c3c778
BLAKE2b-256 ef84d6ada44a685e0dee9c26f5abc1358a61498e38042542a9160dc3b92cd49a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 055c6635099322a7f53d0ccb1ed256ec3798630e89e95521a89a96090665a8df
MD5 e2a541f088f8e8ffc1460fb9e08c5f72
BLAKE2b-256 2686f51ecd19d31021ae6c8ab88ffafdd3e27c19b74d8e4eafc6ffe5d383c793

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a05aea4c271daa92114cf3546ae554ef9a1aead370fdfd826c9e8885238334e9
MD5 05b6b07a2e0abbfc38f2d2458851ae64
BLAKE2b-256 c6547d09dcba2ecee7d4a10ca7db5e9930635decb6871a98f86f2f8aedf714fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6feb986064d35aaf726a11091bca34326f0bb706d3a7dc27a371348293fcbc49
MD5 909542f2ea61f059e20fed96b9d2ba3e
BLAKE2b-256 dad90f7c5d06298c79f12c49f6db326c12de09df14beefb8b15db05cd768d047

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.16-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 8c61c019506c0e5cb648a9d103cf79170273a14fbc7dd5c2d0dee7c91f926ecc
MD5 4a74d0ac710b2cebeeb0decf6b25a0b6
BLAKE2b-256 33e6264cb57ab50efc61dc145fc4568be71d172dbd54c2ca55b0fcb0307ebd5b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 847f636b14837102e2171f97664a717ecb4f47b21a5bf27ccda3863ebfb3ba85
MD5 e688e69a937f17cb9285c0b81ef794ae
BLAKE2b-256 953eb2b18917567835ae4e1eb1b6ff88f9328c5f5c83d257ad26aa1a5269d789

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d4dd1bbcdfaeaa22ad005de6d785f42363b1ada84641f2e222fb69f6a47c0a43
MD5 a85ec30fda1676d1f93f4bafd0b104fc
BLAKE2b-256 4df0410f8b533b7611886caec0e8076ab473dfeb2de46d99c4cda8086658157b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f212adedc72bfdf074c8b7c3a749e97a6956dc3606f962a4f4d9119829c7197b
MD5 4aa742b111349b43cb5dfbcb09570a78
BLAKE2b-256 45affb23fe1dd72e227c22c9ebf8fef5a4cc49edc0d034efad2a43c3a503cd43

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.16-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 5b11790695dd9df61be87d4f74ad3aeabc26cf196d31cf8bfbd9fbacd4f3cdab
MD5 c55d7d709169d4a45760da1f8a874109
BLAKE2b-256 db40bb7dd4dcd0a93be8159635ad79b16a65e5763905390f36fb649a2f178de8

See more details on using hashes here.

Provenance

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

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.16-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8f0706d4d73ad33a7d53614abef1d0b9a043c9bd34bf558c2416077c1ac29517
MD5 07d51a33869a932c0dc87a16d66117c1
BLAKE2b-256 58d61c7a627755c9d4800e4e38cfd1347f557183f869630f33cca7183e7ede1a

See more details on using hashes here.

Provenance

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