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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.1-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.1-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.1-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.1-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.1-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.1-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.1-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.1-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.1-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.1-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.1-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.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9ab2b5ee9992b3a1b68707a68f2f33c5fdbb15d19c9c02f990a4015095fc4c4d
MD5 e711242c70fd948fd627add4e0e98212
BLAKE2b-256 c4e9375ac320cdf38d3ef2719eef385f6e7de490c5467ef41b4d08cdb5ba2194

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 efd597c134ed7314e658a89e31e734fa218929ae3c6e25a64b9acdd250d5e75c
MD5 6edba607997a33bdd2fd0f0cf9fbbae3
BLAKE2b-256 2ca97e16a5edd76293439a21fe3e4f634fcabb3ec3ceec3e93cf904762719db9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1179b5ac68e552bc675254878edba4558471e627de23243536789676dcb985eb
MD5 f61841c129449a941a3a3ba33595b792
BLAKE2b-256 e3dbeb6b45dbeb79d9c9fde2a11d5f85f7d2bf32dd3a6255cb428c02b828bd3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e44e77e8ff4366c4157a9675b867a386c2ad000f67ef091f12b589803bff4abf
MD5 5a6f45ae52f5951ea012aa51efa6a76c
BLAKE2b-256 5bfe36853c74be0cba92835586253c5e846b69410f483e64ab8afca19c31e66c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4c122e317ad877a5e92893500296925d6199b325c1e27f0088a28bd68b1c5fa0
MD5 a7eb805de596fa926891fdf42d941443
BLAKE2b-256 3a65989b3bd347b897fc97f49cf35b82447eaa9a08546d26c31b58a87b32490c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 78d907017590b43ed5dba30adb83ffbafc9c9b8ea052c6403040eadcc07880b5
MD5 32bdf3d730bd4680d2f2e0149944e60f
BLAKE2b-256 60bda329b9f1daec5f06ae2fbd47f180e3232eedf6589570bc880bc01795d115

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6f8b2519f0b7fa300674f1ba9767ed4cb7bfbd9877d2e2235e5a74814df42552
MD5 b172b749c41c3221a595ddbd47c3c452
BLAKE2b-256 7259f1460e7ac3edbb3dea5c089c2926757415ff66c026e91d3a442845d6fa6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a3798b7a59b4d5dac6f864bd5680575f3cf3c9333480780ffad03cddedce396e
MD5 8bb5e4e1fe4ec7b9d393c9ad1fcd2e37
BLAKE2b-256 80b34d4b93bfddb8c164c5e964361796278d552e2edd2a3e87a9ab70c5c5d73c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 befc0515e997d3e5fbd01b2782d749411ebb998b6931164429ae2e07a98b2c0a
MD5 358f0229d559ba9f6394099f921a888d
BLAKE2b-256 4d8c9af16d0bd619d6161625f8c579e8ee161f4a96782dc71975fb96905180c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2445a7d88b309312bae8a7b194741abb9f351dd834220087e7846f55c21fe2f8
MD5 2d96be29f1509f92d1ade95555dc6349
BLAKE2b-256 a18f8892bd585847eb27bcf0e06653138e683cd2ef92d7b28993cf1ba278afa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3efdb989ea370a80ce226b498ee4ecd2bfe398b5de16c262538bf539d595435d
MD5 8f1b9fbf5f813badf8048ff25872e851
BLAKE2b-256 57bbad0102df3af3299b76ae0afd4d461a57070f43f72f6c4267805c68039d23

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 efed2c504114128fa3c1690d1a740a8526d3055fc7cbe5e604cd76494d4a3776
MD5 2448cc15fff576e8b78b1e0f8d59cb29
BLAKE2b-256 e7c2fb4585e1bf23adbeb7348c22b186dd010073b08411ccceca864e7cbb2887

See more details on using hashes here.

Provenance

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