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.10b13-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.10b13-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.10b13-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.10b13-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.10b13-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.10b13-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.10b13-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.10b13-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.10b13-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.10b13-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.10b13-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5929ba0f79773bf1394a2d64b15582e57112844a910f4b7e63359f4858200497
MD5 068d3233f32f5cac5f7afc3edbd5ee24
BLAKE2b-256 ab4e67db5786aecc793ed27ed93ebd5e2a4b8d014872afe1c223e19712997771

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 439f98a972d4f3ba139a83e6065a26d969cc122b665b39892dbe0981ed460e47
MD5 d5a001a6af8724eb13a2fa8313ac981a
BLAKE2b-256 ec024224292dc1704d8dfed68500a513c8a536ab64de3f3ec4f5c8dcec600981

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.10b13-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 04fe4eb73adf48caa3b106f30e792457cbbaa1563fab85ed97ee82c99b90d308
MD5 7279341c9b65389e7798252a744d91b6
BLAKE2b-256 1a2a0e0a9a0a726a16c21ae312f5f461349e914f205253bf04b9808b4e703ba9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7fc492c1f1131fdd2e981944e2e69a6fc57cc4016f820b204578ad3fcae6f9da
MD5 6ee6ca29cd84421ed2bf7f63bd1f2d6d
BLAKE2b-256 d20c10124bcc40dd1b22a8b5e910dba9a78da8ad877b521a030e6599cc6bb15e

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.10b13-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a4a0f05e48a0eb53c5910cc3df7ac07549c42514b276703207c9228fd6c65cfc
MD5 e6a371c6c4bb109886d8790e52a14407
BLAKE2b-256 96679da21b6ce81979b0e7b652709aa34bd30b918b584737003101f3ad3a6e7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 67b65a055bbb80fda45a703fa5f4036f69a48a48e81202e04352d6cfc9e8a36b
MD5 f191f56d1bc665bf3d082c3abb42f071
BLAKE2b-256 98d3411e4dffbbb9bc8660cc6e24e49d09938fd2de767bec54562434c34b6185

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6f38164592e85e9b92e707659e6ee0093f2a858a81a454c29451a03ad3d3f14f
MD5 1e956156e4974d514d8ce7d39ba6ad41
BLAKE2b-256 803c3a071017dc69234f4b84bb583bd5115834acfc5b0ccab43af5b9e0980490

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 487cabcaa26bdd57d53aaabc46b9f803644b7a180e255c5e8792c9f2e51cf3dd
MD5 87c1221f3ffde1dc459ff02f83de2fa3
BLAKE2b-256 5f82fc4151e2654e2122229683a5c0dc6740ad8b1b5072206f07b331b7251a01

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.10b13-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1fcafa81d87d44537349ef5fb668c1e687bf3f77bab3d5600834355beb3f14ff
MD5 30d873f6dd0e5b47ece9e43410e4800e
BLAKE2b-256 dc0e4936f01c05788b2d9371153aa2c2253954ac50951c21ced0c0f7df0631dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b13-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 839d8d61166ed2c5335fd834d0dd33efe73e26ed9e7b268b190ca904ae851f71
MD5 d92ff829259e7f7de3409bf8c8825a52
BLAKE2b-256 3c40cd0ea713b9ec81d14b425a4818ee811594160aa3dac87420898c0d956dad

See more details on using hashes here.

Provenance

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