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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.2-cp313-cp313-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.2-cp313-cp313-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.2-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.2-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.2-cp312-cp312-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.2-cp312-cp312-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.2-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.2-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.2-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.2-cp311-cp311-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.2-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_inference_binary-0.5.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9c26d4e60cd591f0050e3123063847d1fdb9b7355688d5cf43accf177e073553
MD5 e76aff524d083dacc7d630114e94fe19
BLAKE2b-256 5762a6727adc10a0f84fd48458ae453981df8d0cd452b5d9634376ac5fef44e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 036e6eb372aa5b2f629cea023e5eabf42e27d760cb2f90d7af1dee979d4a1b62
MD5 922fce4ef0025f15938e7b03db17b66f
BLAKE2b-256 e9f2857b62b2cef44c5f322fba960a9de92b806b6a7cd3143d84018b3249abba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0a6e664dc4bf97aac71bf3fb38451831d31e5d30f27181878f4d259f7b9f658b
MD5 d4fd5ff6ac822c55aca2a43e206248f2
BLAKE2b-256 5c87e95e965f139fd4534510844932610b3ae00dbedf61762e6eacef7e3c52d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 94d0ec69208c7be32905382e704be2b5b2080bfda428b3201d7d2131a38ff109
MD5 35b3f325e95fbec58d8939b67aea9747
BLAKE2b-256 fb14074e491edbddbd1e1fd64447a551644372c5271a069bc96d568700d2b947

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b25eaf66e8163a53d58ecd56820a9aa112eac7aa0f691493655419d2e6ed3690
MD5 982bcb34676d2768e6af9d34350ad4a2
BLAKE2b-256 a8ceb11328b47a2d09e48a2130e01178e7911ec56a87610602586d9f61d7bdba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 be56232bb307c7b4995f761d23a1b47b523e3db36613436bf174b332dfa50808
MD5 8ed09d8926e777cee4871e906285ed8b
BLAKE2b-256 fcc19f7b73c53dbc0c8a7f05007c0370d87d0d713d20cb0e2813b93b67ffc384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3dd803d5388e8d15fefca6d99e7a10f8fa893b9ab0b0a1071d1e630d45ad6a4a
MD5 65a5935acbb8075c7770eef5e5780a95
BLAKE2b-256 e9a1e95d4c90716d416d6583934814435e66aa43d7e8286c73628d233e4f81f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f978029a2a2d0c728f8f3d1ac74a6dbc32222d0a3addda85abce9199e0c06c41
MD5 004296e8350f3b9a5d768700e92314d8
BLAKE2b-256 d01768cde1759a5362b17f263b52e38a07e74a99a8e31705e29b49cf91cbfb57

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 23b95a8cd6661b330fd85cfb2fd4e57c765f7913c9441d81b33b19161daabb07
MD5 4b9c232babc9dc756e37c32032b94397
BLAKE2b-256 29407b38a99812576ea7ac6734b9e287ae6de0f73dd9f61b584bba81ead21ef7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 07efe68a3d8a93f5cf8bc7280915c97de1d5c3f287d066c4cc4560a08a329d38
MD5 70e93f0f65255fdb1fa82f8b216089df
BLAKE2b-256 b3186d0ffd9d4eb3d456fafa578227d4414165a75fcea58f4dac6e2672f18fae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b7e28a0a004a84bcc60b4bd21f6123ea25e6ab25949dbaaba8a75ff5c9bec62b
MD5 7d8783e6ea5dbe31bda628098031f3ec
BLAKE2b-256 964547bf9f39075750d0032523d0229fbe3c91582a380eba91a45315778a16ed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.2-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f03193e22e389a05c2a7831cc0752cb306dc76ede847c3f3a8c3670896ee3854
MD5 4ddcb14c561e7775bc9735ca48c69cfc
BLAKE2b-256 93f6d0d61f2fc0729a61bda09250683d6d4eb935384d76fe21275a13d1edf419

See more details on using hashes here.

Provenance

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