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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.45-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.4.45-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.4.45-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.45-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.45-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.4.45-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.4.45-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.45-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.45-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.45-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.4.45-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.4.45-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7f9f7928b661a84b3614ab18fbbb0b4f52a3bc17425d3456026bd98db9196ca2
MD5 f9d8fb9993156593bd09c9a68775df1b
BLAKE2b-256 baf813fa8797c0cb7a408d79460137d569e07fb70eaa1f5763d97f3948bd0a5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 64c07e31638bf6aca09083deda19e99e13409534a783cc2fe0dc75fc97ee0e17
MD5 e1246b9e868db91c33db326f42639782
BLAKE2b-256 ab260d98b50641d26f9e31b53060d605090ca8233dffaa3cdd9b0e6fa1dab815

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 75ceea08d765033f6614f68fcf87ebaa32f20d5a5d4c25fb91abcc79624a3177
MD5 dc8b1f448d620d3d5d488580c162992c
BLAKE2b-256 5b098ba501d1a544f647be0ccd721f3286be4a6578faea802a19dc50972aa4f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ce088dfe635a1f838b795a811466a65825fa5005ee1c20fd81f8d65f9cb1ddd2
MD5 7fd2e206f08ac8734d41df4c0e529c65
BLAKE2b-256 95480d5edb6449f9cd0a7fdc7e18235f89de3ba11e1ea985e3ca0b554a3e6d5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e421f0f570e76b217419ce146e6a13cc66a919b8318f3a29db3b94c2bf7ab890
MD5 3dc2cf8b1174c913a89ef9e915f9b484
BLAKE2b-256 69470c14e200256cfae015986fb93b75ea27268dc89d520480c1f06c0f90fd66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f73208db25e7dbba812c5b1ad450494d537500605df144580a00b68ba1ed84c2
MD5 ea92415d3f4ed7eee25e047ffbb51135
BLAKE2b-256 c30189112d6362af6650c0ab623709fa78c51ead6896ffab38c73022c2ac0ab7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b4034c996709d3a50cba113538f22d2ef0b03b57e0775b3280c975dee7abddde
MD5 d6daf91fcc4de4ca2bc1715fc6a6e0d9
BLAKE2b-256 4ac44175d620f78fbd3d510f8eb693f942cb90a778262dcc99c9f72c8573cbe9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c349565bca71c2ee1f8c80bed7dcd9cbcde8cc71f83080e782bd73fe8497bcd5
MD5 ae4d15871349019cd2f0eb9e317fca37
BLAKE2b-256 be6f9100b5e3092ad7aa9f62642095d458ff6ff9a76661985a0029d9ede555e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 04376408bcd1635243247f2031c8b97a9b1862022997c76367159f67a39bef20
MD5 9cd3440151733f2343981f1249434d12
BLAKE2b-256 6f5ca8e6cf25c0759c60560102908e8b66759bb63821c2d5458d007c86a008c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f67c656ef03a5e5a694d55331731a5f9ea94c5d0a1a92b8f0e2e85777fa35680
MD5 5fcfa5edfca7761839db2fa6e9fad0c7
BLAKE2b-256 9c541a885e5fdbb29e4209bb4cd7fa4b9df4f6320bc870f13cbe63a7c1f5c8eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b29844657d8528aa61f66d937162ae4a46f51c6c599b3ff5e175ca4069cb7abf
MD5 3e8a06bd918ef54a048369c405db71f3
BLAKE2b-256 9a7580107206dac2639a7b5282c0610e05d83993ce33f228fa1eea5e5ff69060

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.45-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 23fc8a5982dc44ea5028feb0b5ea2a9f894941f8dd89bd07ebfe81a0478180e3
MD5 b458b9894c99cfcd1c4aa8b0d92a630b
BLAKE2b-256 a8d91f7cfb1fb2c56d8be0ba03f9c77c66672954dd423eb213b09f0d0d9394bd

See more details on using hashes here.

Provenance

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