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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.26.post4-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.5.26.post4-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.5.26.post4-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.26.post4-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.26.post4-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.5.26.post4-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.5.26.post4-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.26.post4-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.26.post4-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.26.post4-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.5.26.post4-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.5.26.post4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a0e9f7abca8b5056f4f63a212833a7bec92f7db47c9f61cf96459547e5cfbdcd
MD5 66b9d9dddb4d0c01a358d58b4176ef0e
BLAKE2b-256 ee3cc9e6f4cfb836b352e85c3516fa44354935af7ad9f753756e882570c57118

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b8075ebd6b27a66d3f142bd951a32a61ae85fa55cfb06559a491cc1a03aea557
MD5 4869ba97102a90905186a9f0fb023aa3
BLAKE2b-256 b8411ed0acd54902e3c25e5349a275d51c991ef64d6c5ce506c2c99270131f95

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.26.post4-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cea526aaf617241d861fe4c5d24d026cee5e56d75c88d462e3c8cdd48117f8cc
MD5 937a4bb9f9eb4e409283bda4d6830beb
BLAKE2b-256 23205be1aa0521ba909a0ec8804370b99b5ecd4799840e85c6e3e04bc1cd8c08

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fadc89979db45ad55c1227218ce7805f3b38ba14911386a1beaee3081534ad69
MD5 3b5a211cd179414488c25e940162cfd6
BLAKE2b-256 993b276db29e78e7f5af84ece505a04deb57d1cd8e5209f06fcde942cabce3b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 dedacbb002bbedcd13b1b4b9bb51d7e962b1a4edc3c16abef35ddfbf25cc8444
MD5 8adef32595d01ffa9845feb33e9356ad
BLAKE2b-256 7cf80d3ad942593356e73de6da326f18a68cdf5a8cdfada6f0438ea1074a8177

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a605859527261a8a58693cf03bc4d57610b15ee4efdce1cf9d43f353db1e479a
MD5 55d5c0376b68b2006403b511f1f8804c
BLAKE2b-256 fc754962512ed9c22eb7d6897631ef8936a85d1bd37dde1ada5fdb5eb00389a6

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.26.post4-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 65e4a38197032795529c3a213e86993f6e1410c1c7c785706fd1405a4c239bd4
MD5 1aa7032c9dd854e86e64a9dc3c0c8c9a
BLAKE2b-256 95573f61bb9f57ebe2b3f1eadd7c6bfa987ba53b5a70db10e9ec250cad7afd57

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 595e779beb6cc3240567ba09c2b470be3da832aa3f2142796e376a4547985219
MD5 33816626aa7ca257faf1dc7a73aaa13b
BLAKE2b-256 170c9d21f44f2c35eeba57e5049bfc11202186536ebc6286397eea4050f543ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 db565c963c5bb1fecd21707931a2a787e45147a7f5c5c54db257cdd1689c23aa
MD5 dff3551e35df375bc35c65f09606da66
BLAKE2b-256 aaa959d7c50a408ec9c70d63efa73bf36fb7d86ad42440dfb50a65431b255828

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0daceda1743e51ef3b340a1c4b0a9cb7e05026c50e12d251e680b660b65ab054
MD5 d7bf72c3a8aae6231449785515862220
BLAKE2b-256 e78f69c914b18f593af4d9b453c6d6bc4869d9d4123b288a43d07798086cd1cb

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.26.post4-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0dbb5c6c099642f3467056eb953f12ea39032d256eab554be7250504f63c8baf
MD5 1a2abad906a84c3b1053ffc9419d7956
BLAKE2b-256 0cdf55ff7f3acb97277f21cb8895463cc20d25b960fbbf180f73dd4969092d8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26.post4-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2ea28e08c494849d2055b5cdaa11d7e0c66acabcb5e2f97ab182192198476f56
MD5 5b42e0d16a11bbe6657853009158df29
BLAKE2b-256 a05103d467c296dc9430fa82b94dbb9cecc9975c6e476bad318cb9381351afd9

See more details on using hashes here.

Provenance

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