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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.16-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.16-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.16-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.5.16-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.16-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.16-cp312-cp312-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.16-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.5.16-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.16-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.16-cp311-cp311-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.16-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.16-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 48510596f9325f5466f9032afdc638945ab7fb78ed24b7a957af1edf0c3f989f
MD5 427a9f9a650f8ee2a22453ef79f90969
BLAKE2b-256 e5f0ba6f39420d3d9590785f987eb3fca56655e4cd12ebc7fc1120a8d4debcdf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 212faadd2c4e8df950d487f8f2ef0f5ce25901f1af31e62b8e7bb5f3edc53e01
MD5 53456c55358d947ac3013d680b04a7b0
BLAKE2b-256 4a3eb0b3f844014a02a383c15afbaacfeb6be17eb06b411079c3492dabbdfc1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6c86e50351608a095c390c2dae267138abcb5e35e491ce3f225f4bd4bd0fa999
MD5 aa6aeb8353dca373019a7a60dee1099d
BLAKE2b-256 af50656b0939e30babae28d6d1cbcf9062e03f1d832f3021e9b14603b01d5151

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 85ba8db7e72bd4fc24045b5b0f25acdb030b3a2a9175f7df1c646b9f8e391642
MD5 a1b7e270df042ebd7447f8b5bb413edb
BLAKE2b-256 04a7065d17e1701ad97cb5491022d5cb04086cfe8084100706e8af429de8bf68

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a693e38b7a53007bfb1e59c8d592f6703d68d03a1713ac4e0f142d944b7820be
MD5 4cd8b03db76d0ebc86dab7fbd3a81c9a
BLAKE2b-256 fff45414e1c7f1eeda72ac750290562903cf8ea0d8e98fce61ed035b5bc6b23d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 35d0e4aebfe50cf54fb998526153684879bfc0c5d265d17443abfaad017b7d1c
MD5 2712dbea4b757790af6b70cda17ae824
BLAKE2b-256 c0bf31bad5e0b5c45b7013e160c6e4f8296a6964a46eeafeca7a61e23bfcd9da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f7e94c1f15cc09fa6e9b81cc3426899487aeac40d18ce9c4e758a6390ce3e1cc
MD5 b800d141fd12e11b85a3a1b29061df69
BLAKE2b-256 8e62baa733c606ea093cd5d2f6826f91e53f0bba40df34846c3df2c5202d1ce0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3ebdb6450bd567bc8810e92c40f54a33361334266ccefade081312807374c056
MD5 a94e8dfdc9330b3edecdf57f88d062e8
BLAKE2b-256 8112e2b7b63def2224ebe2b581bee6f70e1e908c026e6ed7d2f5c8d229089169

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c1eb79f9bd6ddcece3e1e5c61a20081bebc3177474d31bd6e73eb0a260ca4cb3
MD5 7079d358a9536b500c66ed8d7feb01cb
BLAKE2b-256 f9567d9b608617ea0409e78e922cc86564723610b927b053e6a8e8b75f7bab7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 90e0250514166dcb7a49429acc1f7e5ea2b581bd79f49536f3d3aee60374e6c6
MD5 92def3aa638ed0f1f8364608a364c3ea
BLAKE2b-256 b6483904521fe67a0d9a0884a2d517fff1a0221c8ea1d2ff3e4100b9f524347d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4b92ffa7ef59d10d4585b526e928cbd54cf23ab18eb641c03e544ff26e6dec54
MD5 9b58f8930e66435b343120d1f1e70fe9
BLAKE2b-256 c8df7c102b2f6b7e4a6599a36b7de682304576aedb81f3d56b2abc41f724eabe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.16-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b81fd913651f1459fe1e89cd32eac290289f58ea8b62d8476a1cea56d80aa937
MD5 e8b99d7811708b0b1f534b942630d977
BLAKE2b-256 f4d3a7bc3f4eba3f4c354f99e114e5a4040c4405f6baf704309c781bf662d614

See more details on using hashes here.

Provenance

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