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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.61-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.61-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.61-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.61-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.61-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.61-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.61-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.61-cp311-cp311-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.61-cp311-cp311-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.61-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.61-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.61-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6116d0944862c29fb71f849d4044019564c9611ea23c613bc5b6fb7bdb68642f
MD5 f8d46616f4f6d5775b7f4f77bd872b72
BLAKE2b-256 2d0c1fa4415e26c37b303450db43facb838112345590bc083677505b81bec469

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6bd970fd8da000fee0d80eae0090b8f5474740f6e790dc0088ee3c3dd7756af0
MD5 fcab6d36cae713edc851b44bd25fd736
BLAKE2b-256 5282a77634ff30696c21dc4b9e372c67718947481bf70242ee5a5c1cdd128fbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 00ed2aa4ba584c27018c9f180bd96f8cab914fd592501ce5a323257521704bf2
MD5 7251f00a2db89a4b5e9cbd39319daa6a
BLAKE2b-256 f0914fe5aa95463e988cf8f367b9dffc3a1faf0ccf6504bcbe05b99055082f58

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fa3676280f331794ce4f455afd1a175fb040b47fccd1c73619fea37013525422
MD5 dcf3d60a3fe34b166da2090be7d33e43
BLAKE2b-256 620d62a0d410e8f598796c4fdc91ad5fe561d88a0a79b07f017df920807b1dc4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5123204eb802a5e338771db1d22c63d18656de5e0560c79920d126dfe00dd2ff
MD5 6000f9f09adba5e9e66f437386568939
BLAKE2b-256 3d4c4d76144a1279739089aa7f4d0ad855f6fbe84b3e7c5ae653fd512920c581

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7e8bf7aefff8e804f848d67296c930808d4518d19f158b81c9e98ca63d35497e
MD5 1238adac425600708d98bac69342a98b
BLAKE2b-256 a20ca0b3a17cc39adc37fb8a39f2b6969a09d874643cbae5abcbb24f486c0e73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 42c44fa73a3c53271e56fe3d7c9a0b1caaba202e46663581f8504624dc5d0eb7
MD5 600e409d7b7152ff8da087a847b4c9cd
BLAKE2b-256 615b1ae0162e6a359dcd9245cceb7712076f2927a8cf0eba6b35454a33ecd0f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b5423b1f8be91c4734016598ff8d29167019420eaaae5deabce01124860b1fc5
MD5 89b13ecebb84d2abe51c684072e513c7
BLAKE2b-256 26213584468193c62f13b69ad17ff58bfd172f22941ee471d7f223bc1cec103d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d053caabd564ae6346577867dc12161ec89691e10f0f1265107f2803f0b78087
MD5 0df864cd70d59327d19c10cdf59fd7bd
BLAKE2b-256 c54bd987b177cec3bd0a5dbe875bc7fed9011aac9975f96bbeb5e620300b172e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bd49c7c2ca1dbb374f6acbd00d9aee18d8a402e8e95be5ae06a3fc0b5b9f333e
MD5 689378ba26b2c6d159b336f008d9070f
BLAKE2b-256 21ee8d2cd8e3c9612769c6b04b5214c1204beff94ec1c4d1f897cda025ccc5e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d9173d31a178dbc5bf8942665861279a52be68e2b8bfbfdd7eab32a9e260f2db
MD5 c9b1abdb183c388ab7686f6fbaca3767
BLAKE2b-256 4a74be8bf461f1246dd8fbec9c8915146d6f025089175401a5afe6f606673a0e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.61-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f94fd9409a130c8d8bc7bfff2bcd5aecbc27f4cbd4b3cf8c05ffbf095ed77562
MD5 c796144c5abefcde303f12831b3b2668
BLAKE2b-256 74f624f53b72b019e235e07b692e439122f888cdae6e76b11b47df1fa4b3c5ee

See more details on using hashes here.

Provenance

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