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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.30-cp313-cp313-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.30-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.30-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.30-cp312-cp312-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.30-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.30-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.30-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.30-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.30-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a5bb036949a60f84d37a8b62a1465b30b16a362ed12a43d46e6ebc87535d0c98
MD5 2dd8e75daa4a6ef70397b6d45a186513
BLAKE2b-256 91042475100e936c5081db58272f4002ca3e927fface2236d0fc9b0d2ed2a9dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6777fb0e672d94252c4d8493e5911ba989821602b5ad366ee06e41768a599afa
MD5 b5e41cc00158bed719fe00b2c0fc178b
BLAKE2b-256 ed3f52fc30efbfc0c503970db0d4aef480e9553ac914530200795edfc1c2557d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 49740e4be0a27942d1942abb256ee2bd6b647fda98a131f289a4ce74d83b3700
MD5 83a6a9849b2094e3e0ce919275344657
BLAKE2b-256 97d28e9c90157162d323b2b4c72ca4cd6f17b53737a97392707ea5aeb3649684

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 04f0b08d51b587a74b8233198eafeb871f23dfc4424f4631632817d738ef098e
MD5 c19d5c301891b539230d09e6c0669b64
BLAKE2b-256 91816d8772eee2533943ccc81c80414f6ff74776499847f1c6c96db4bd62c52b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2ec97c477c876ce99437c181201ccb90d89acd70d42e70654cf18fa7cbb447d2
MD5 c629db956407e324ada61efe9482a4c8
BLAKE2b-256 57664dcad4d8716e15ee177ad592b5ff16b513ad32903fc3f0caf149efde8f37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 929bb3e2c4e0e1e92d39f58ebcb6973b521e7a578ed493f23710b343096cca96
MD5 ee23cea5ef1207aa0432b80f14b6d421
BLAKE2b-256 02fa94adb2a10c362e44dd2195a369f3cf2dd1ddb64811e180ab0cf694923ff4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2b2c17cbb8c991c44547f2b226a805da245a7d7a0b3d9ecabc0518cdb0541eb2
MD5 206b41e344f1e02913f6c27b864dd6c3
BLAKE2b-256 9105b4decd47dc1ad2c95a44e66d240d5237ae7554e87608c2d923214c62f1e5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 961b1771ebf3d62dee3e17e66f87876ca94de6867f8afa7a1048c0ea0a445d39
MD5 278b09ac4f0255c528e752dc04480b1e
BLAKE2b-256 102bc2832f601822df5397387df3443274e9b6b26961fcc5a22123cabb326489

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 20dc87b8aa02b70297c477bf9413afe5612085995c88912de8b3e471dbbfe333
MD5 1cfa81061b80856cb19e525e0b1d3fb5
BLAKE2b-256 211ba07f7ffd68c2b41c3d910563489e4ad3580c35c6ed661aeb4792526750fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 135b9da8183499b6ab42b8bde2e41d2d20b1479d1984a7975a85015aa715653d
MD5 095546a45396e97219cc3a0a69339828
BLAKE2b-256 f0d309724a2380ad6ba04ebaabaf9c178ce0340f42555405557b7c4b2bfc0a72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3c46d6176c2e28cc9dee407533bbb6c06c113685b613c99a1b627c3e97dcf386
MD5 9d1c726d4296ccc174eff50e48737cc6
BLAKE2b-256 ea9e914736800e9c4fc89ac1aa016857be2e30a1b7ffdfcef7340dcb4449e009

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.30-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6f0707f861f0aad8cc020707063feec8851927aeea662978ee45324386e0e840
MD5 be701e4920e033c9f3f391fc8d7e5095
BLAKE2b-256 f03126c66a36c089d5e2142168a4d116a376047014840b39eea9540a60dc5926

See more details on using hashes here.

Provenance

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