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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.15-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.15-cp313-cp313-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.15-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.15-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.15-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.15-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.15-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.15-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 483513d55a9f1ea159d3b0bbf7ae3e960da0b7a786733050e642256553724dde
MD5 ba0c01a5f88af8eaf2c386d191934218
BLAKE2b-256 6946e317b49d1cc37538c26964ac0cada79680ad944756e77475b268b56a8105

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 06ef5a00ce811a0deeb56ef6ea18c4baaa4b5339f4e3fd5e9b8c306bf6affee7
MD5 421553c72eef1181220fb668cebe87c0
BLAKE2b-256 ee704c9c25238c2da1cd455740eeae183c9d1bac03757cf65d7b649aba01209a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 209322324aa19bdd69ab77fec41cc6e1ab34c18eeee6b5c9564d0a53171cd2dc
MD5 28ccb4f5b97e94da0072677b62ef2fdb
BLAKE2b-256 4615a4cdc6cf533365dccc559cfc1239e15f92ef792b66261c3e639fa1b15435

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 51402a29b2d0f58ae61cb69bffed598b8edf2f49ea4c784961cb40a1fdc39f62
MD5 9e53f272eb302c76ce31fdab2b2dcb58
BLAKE2b-256 ea1d04924d0d108753180c9ea4f201ce4ab6962975d1094596537a1e0b263d6e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7471b118c79066e8748009a9dee2a9ec8b01a6197db58c07930633a92f0b85b9
MD5 e23dd81ac98ebc0e6962a420b981db08
BLAKE2b-256 ea108890a6259913d946afea7ba23cfbce5880c49e9daf728ce1c7f4055a37e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fd3ed0dad6970f4b3517fc5b47f4d0d80458f1c2b05be19102f455dfd132d154
MD5 29495ec71c9c0571c1ce413dc2f26960
BLAKE2b-256 afb6fd7bd65f561634b726157c6368073b07e50597296b738bca215eac27d134

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1acbd1224a1eb8bfaebca5f4b4d3086de5f74b90e96cec90fa6e7961191f422a
MD5 03f0ff2cfd7c423771925b1c66bd5eb0
BLAKE2b-256 2d67d2cc6e3a2e65043a82882160b19cd9050d36f1675e6e5e5977311c21d711

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 65cebed9e5ae5a048b1dac4cf372d32c0935ccb8f99c966ad5010db69d2b3216
MD5 0efd0354f8a4cb30ddf7245a51ec2574
BLAKE2b-256 850bef9cadf304d3defdeac1151a0a06af95b9775bff63b33809aa0e7f99beec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b5d26ff6d6229f455a90b0ea834e608d0eb598e162861bf916edec489938570d
MD5 1c86b6c4bbfd4e92b806e7539afadced
BLAKE2b-256 d31ecaf0ce8e7ccd38933561689189aa26222108b94f7009f2a9139009abf9b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a72e17069c443c64a2212f9eb7ebcd318554ef1921ef79f604699213f79bef50
MD5 d2cbebe8d5c53ab4b6376b0cac489ae6
BLAKE2b-256 882e66162815bc1ce7fbe7acf6593ddc58ff4c9578025fa1ac36d7d7f8c06f99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d4206a6f553a51a3f4fd1596d0b4c946e6c18c1c832c464d490a7f8927434d14
MD5 c6e42defe7febb83d0420ae092a07cd2
BLAKE2b-256 d1e8c891ab09490bc95d4db483b879fb4249a6039b7dc395647c95daa97fc4b2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.15-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 44ec17f8f2b7fa53c6b39bcbbcf2304f7eb39eb0af51bbb3b884d05423131da7
MD5 5d5c15b00f4fce63b0c95fcbd3fb63fd
BLAKE2b-256 91f4d7462603ace28a042c92a338779ff854258fde9b23df6d9d41628ee88094

See more details on using hashes here.

Provenance

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