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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.56-cp313-cp313-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.56-cp313-cp313-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.56-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.56-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.56-cp312-cp312-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.56-cp312-cp312-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.56-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.56-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.56-cp311-cp311-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.56-cp311-cp311-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.56-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b214be847b6bbe34ba3d842845a77b368d6ea49cceed539cd330c65b6cf81320
MD5 1d45ffb2473a6c4e500d29a0d0b362d5
BLAKE2b-256 d5cba58930b8f91fab2d1217b4698ca17f30e34ef1066a1b2ff575d86510cb74

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4d2b84390ddcfa8bad4c933bef03aeb4e8a634621cd9311532c73c93b911f2a8
MD5 c7f280137396ae2371f2e781c89d95ec
BLAKE2b-256 5d32511ded1317326042e4d38f3bff52f14d8e8b073bae89cdb22e93f61b24dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 85345f0feab7c9995a20a772cdae8d76ccb936bb92724378ad155bd96172fa37
MD5 c6fb9c43539f39accdb7868b8dc0b672
BLAKE2b-256 e8ba6dc23f6d7c111eb6bf21d81e26fae82ea4261adea931bf018a4dde33c50a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bd59e2a0496c3d9c0d3fa15a745d089d3db8cfd4a41aac4716713c821caa95cb
MD5 4d733007183cd3ef2a79078af6ff8ad1
BLAKE2b-256 b951b4ed20ac136f7c326bc4f97727bcd3bca9e39729142cd2c9c07e09966126

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ddc93a6b1d31fcf657fe2db74c5f548dd1ba15c7bc860b4602801e26e701d296
MD5 e062e6295d2c4b3cb324186868051bbe
BLAKE2b-256 9d30ee70f6466b90be268efe9a318f92957f62dd2182127337d3dec61de24fd3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9ec8ee69f10477c4c8520f15199b810904540c742c1be02339e3fc3f8eef6f49
MD5 01119c6261246ff1568ad959b92c9c49
BLAKE2b-256 0e9401dfd24702b00d5b9dd0fdd5083bd64c26f2356e4fe8b016effd065a0e70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 45643d79fe8c998349a9b8cbfeaf2a4e6eaed2fc44bc4a873cde24b254eb568e
MD5 1c759231973fcc00b567c148dac26a3a
BLAKE2b-256 d79f3286317bed1281441a14c71079956936a8f4f8f2a43688fb9f905cec0a69

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 052f1269fa599823be2e52aa728a3637f0592499f3c390ea76475d0b888baabe
MD5 72aa87becf3593621b520819aa89b94c
BLAKE2b-256 49caa4c719ffd19fe9bac6515f568c1c552bd92ef6db8e8b7882d5d265b9b100

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0ec3ef01e5a8f3e548e31b7a8a4c599ab4e59fb9074a069001fdaacc3ca89782
MD5 cf8e84962e4ecf4c4133944eea90eee8
BLAKE2b-256 55f224821bd72391010986b46acb6affce576ed906ad716f69c2aedf0263a8ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0a2c7fe38fdc7c6bd2ac7efc5c78ed1022758b733a62a15999c7e3f152bae7ab
MD5 cd9a32b6cdff92f56661bc30271f5a37
BLAKE2b-256 a31876ed6bf73480480026beceae6c382a1b15eda7b2f6f38cac33644e7f4a9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7a403b9179462c534be359d882852f007984a3770b5a584edce35c35d36ae261
MD5 1ebe72108420883018b8f00899ff855f
BLAKE2b-256 4575ad947f440c21991466aa0c3e56ac57f0c41f2bfcdebfc93fead9d5cab3f2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.56-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0cb956fbe14671253a273819736f3c5fb6a7ced7752ebd59ed99042b2a2e2315
MD5 36e39d794aa1325e5f70529da1201bc1
BLAKE2b-256 d9973d99fc512e708494da55071db24921a1e5991ddab7483c4d0d63b400dd83

See more details on using hashes here.

Provenance

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