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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.27-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.4.27-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.4.27-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.27-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.27-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.4.27-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.4.27-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.27-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.27-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.4.27-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.4.27-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.4.27-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6a3c086e529f33649b2551cd07a282b379f76a511ae729821415ffcf997e35ab
MD5 8a7619f0e4309623709403ab90a465e4
BLAKE2b-256 07d09867ce9964bdb7a75ea13fc088d09aa97d76af5416fcedeecc05549ea19a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 25e57b9b70a8fcea5f8423122b7d551b7cb6fd25d7fdae07fff5e5b25b6a7a5a
MD5 d282f9bb6e240445f9d77f5e9ff0e321
BLAKE2b-256 75d95e59092541cc03e28ee292fd638a5be6eb9ccb05e128972453a8cd3bdd72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f1c737ed587c11eb24965af262e6873844e0e331ad179c17344b5397bb4d6f4d
MD5 83574d4186cdc584b1a89cdc97a82af4
BLAKE2b-256 1d182bd7f74924d7b6ca96130e0cc7e09a3c86aacc9f64e20ce7f1806d5f3101

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 576ebf6363640ba7849c7591d0464604cf5e6d0dc79a934f3f496a67fdf28186
MD5 6d1530144da74206f19d1c5666d86f72
BLAKE2b-256 3e9092972b2d506c2bac6b25f6955754dda3f47e0f2960fd27da6f5cbf3f617b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3bd2a5d18fc05a2cece765f951635fa4d0f9414e0ea52a9239964466950e2fe4
MD5 c2cde1e39f2c2934a1a4f6089cc996bc
BLAKE2b-256 172bd7233d868d2b6642ddce7d8c73da956cba3298f466242d218af66dad645b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fe83ccd1f2beaf17ed584b44a7802ad08ad99e8e7a0c2ad86477217c1d4ae0a2
MD5 652be6019f26d839992cd30d5bc1e5af
BLAKE2b-256 045ac6b012c710350bbe15a085970814ebc1eb699dbceb5f6ee7086ba0d74098

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f2d9af2838b5bf5b56533a9752595553c751a05404c569168dccf454b34cfe8b
MD5 1c59d4fab3b3843f04152579f3de2248
BLAKE2b-256 3675cb44b373c6cb1c58f9ec631c5ec43c29a0d4a82b5171615fb819b902b5a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 66a8684cb5f3c01541f56bce8ba890923d795461f009c9eee6380907063408d9
MD5 7587240321e9c811dfa674e2f9e82cb4
BLAKE2b-256 01c4fe73c6ee1649ac24810db086588ba85bf57d0f98e2ca2d9a374b6d4c1c3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c33d844b87f9ca4a1dd41828bb3bb2d53f9447b590102deb095468c1dbfa185e
MD5 59b96ae344ce20927342d361afdcaa2a
BLAKE2b-256 87d1125acd7b00b4869a0246c67c409c0cbb8f838faf9836e62eec6a81c00efe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 47657122d2fdeefe12a0b8f821aa2ebb49c5cd555f6a110e28436a9a19bd2ac8
MD5 da7a4b1f45d048f634317ae99ad50793
BLAKE2b-256 83fa98b0c7863f17814e516452308fc2d48955a50934de5fecb523828cbd69c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f23e6fe49fe52cef470c2686fd1cbc06a4fa3d2c0f3fcaa6d38aaf855a933f4e
MD5 fba7d3066d4b07d15bb23a3a758da13b
BLAKE2b-256 6365645d50c2bfaf85840bac1697d1e620fe25b92e5a6ad39ec97dd7c5041813

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.27-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c2b3344f2f80de585b477e4e4b7ff77d680db5ee7e8a1c915e1eb7d6a7b5274a
MD5 d3a9988b83ce3d43640589cdb238ebf4
BLAKE2b-256 28c76a2a5b77c8f18c5334c20642e400bfb068a49f6bbcc9e1830a175f578086

See more details on using hashes here.

Provenance

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