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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.20-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.20-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.20-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.20-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.20-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.20-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.20-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.20-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.20-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.20-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e22bc15e99f73f4bacd5071d65133b7780479ab4a7d962f1058e038ae3bc7697
MD5 f71f6b7da46c9a9562ba00bb3690743e
BLAKE2b-256 483c529da00f0299add6af04c16777c13afd511ab23281361eafc394539a7d51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ad5fbb69dd94d7afedb7d25c3a722d30458c3f439d3833890573e2ff16e408b7
MD5 e41c211c677bbbfbbd7f023ad592449c
BLAKE2b-256 65140b42103bc1c61c4f7afc616d423bde518144a358366307bddbd83ee2cea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 321562849834018776b34ba73049c8423141bfa9713488b7597147b42d74a6c4
MD5 cfe997417c4e6375476302fa638cff16
BLAKE2b-256 69b0c500cb7cbc30619ce97dd2ba4056ca0847b4d666e5fe548d46e884008af4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aa96b3f193e2654b9faccca49336612012200874c4fd6466f8dcf7ac73c86604
MD5 9079706b4ed2c408b382bac5394c32e9
BLAKE2b-256 ce0e97bfa39ccb365d083d1121c060447d0c9a24427d5a066ea98d2c888cc60e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d258cc0b24bbb67e8c25babeb87b6d7225d5a0bcda2d8f74f6b47410775006b1
MD5 982f497c6aa582d0bb76b52655d62d79
BLAKE2b-256 3791e0fd7f51ce818ad8dd51d2fd849c3e3be76d65bb450af651aed402fa6235

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a86a1aed8d40330628321dd51fe2e297449d192270d158a38ffb793900d1cd11
MD5 4c308a7e7f9699c78a0b2af13249f456
BLAKE2b-256 9b02d1733ded18db768f5bba4e877a71019b6d327b65ee86f8eb7ac505fab62b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e4d4bc1822f29779d105a5fca05206c63eab2c68847dab744016cd70b22bb780
MD5 10b89c3fa81944eff798bfaf2e64cddb
BLAKE2b-256 0a3aaec9d553ce35b252b890c1e33a1d5f7d19cdb30129fda819c41480470713

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 673f87370c755c99bfd7d4b174a963a77af6a23c54397199d58d3e6256d19985
MD5 60a48d898419b187b00f6742dd4ddf0c
BLAKE2b-256 1c107dd21afd430b5b38600e00f9dda9579393592b1e7f9d7a0613d95bfe06cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e421d2808abcfc35905d09d49526019acae170ec205fea4fe80b4b6cda3acd24
MD5 9d6116fe61a05f3a93d05dbd23180e07
BLAKE2b-256 46e73fccba1574d42d30e1d8029b750c422830e392a7a0790089ec84fa1094f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f8e7151b4e85a0db87e856b364a9920899722502f38b0d2cf19b0d120e0f1402
MD5 d06083863d488f082cf672b2c52a5f29
BLAKE2b-256 060b9f4f2f98cdcfc62ed25c65b7b0f4e12e82b73f2a02cd2f56a003ec763dd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 406d9efb3e74ac6383ecf59781c6ec2d0bc05eb93b1148826aa15d6fcde2d470
MD5 0503a5e77702406eded0ac09c9baf169
BLAKE2b-256 b34fbda613084b0efde2b9c25793fb81f294c03dd59c1ed238b4ff547b98436c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.20-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9332bc69dd934160475fa487af70d90a11ebdb26398454cf14fe40b60c2f50e8
MD5 b45dc90d5a7cccbdacafce58780f7465
BLAKE2b-256 ddf4af0ebf1ac888b1712cf2dd1d5ea631f38a37f03eeaba0289dd78bc6a4ebc

See more details on using hashes here.

Provenance

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