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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.4-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.4-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.4-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.4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 95dcc44a9abb843a9bde83c59d39a4ad4a28a0a7f62eaf11fa04c12b6100a770
MD5 3c6ba5879965d1375cfc78f929db126b
BLAKE2b-256 9207e2307f27450afbabf39ceb028a30347021cf4f27d7b8a8423b45d439df06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 212333e6a57a3dcac028e5efb1e6a2af02b247fce89128902a02fcba3d1c0c9f
MD5 04022041a4c65e2f033e3abd840eb19a
BLAKE2b-256 102a011ce112bcef649cc993f33a9153075030323d570b0b50eaafe94886de76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e607526f9592a70d5d51da9ca3a41edbabe1596ddebb32ec48d2016573634818
MD5 7a194faaf173c7425ac2e7346becccdb
BLAKE2b-256 368070b5bec40113cfafe0202387731e5a59d647a0d6a1a8e6f1cd0f1471fddc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4894b4a0a6036783c626ac31c24038adafda9f8243b1d9ecfd4054fe698652d6
MD5 eacd3728f2612b2ab5c8e668c1a7d94b
BLAKE2b-256 d35d6078e08218b7be331b3a3765f56d7d94a8c5025f9d8b0f1d437a39c1fa88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 305d1d91c5f3272241ebfc9aee175ff4bebf0e3702b1c73466a560f1054e47d0
MD5 6b239e314c34198880678d21ba3fcb8e
BLAKE2b-256 94329a7ae4081f5f628541006ab477c85e8147ea884ba90e8850b2e216a47366

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 09560763f8fde23562244f7c8a2839df5a19f2e0ecf4d8fba5945866a5c19a4d
MD5 937aa6ee141ed707565c01baad295edf
BLAKE2b-256 b4ffb7eef8f9ecf0366af81a12cc7cd00308d29bd7ba6a26a34d50c7ae5eb266

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2fedff4c6b3f7592abf15b7d3a6c3d95cdcab4983cade2268b618e62edc7ec16
MD5 a489002a43237018d41e4d888c2caa44
BLAKE2b-256 196ae7053ec60123512efad7aa906b11f9cb3d65d168721b4066a7cf63f83f3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9dac2f46ce2372f8bdc3cb6440ba1294852e7e81696f52d7f30fd678854e1f57
MD5 850f494fe48551dc617795b8dafac479
BLAKE2b-256 96edf707a77a6b43dc615c98f4ca572145107d7282f9643d31141a8a8bdb603c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a935d244ac2514ffac58894c5b117c1781e8c8117caa8cd7f36c3fe52049f71a
MD5 92fa040cf1c99986033f269ef2b16a8d
BLAKE2b-256 3775c34d380061dfe6a44b42f53270eee211169bb15785eb3d3ddbf2690af647

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b36a2bcac85d7cef3099cffe8a76b7441709b7ecc59423dad4ca0556c5413352
MD5 540c79a589ff1af918233e4b6951cbcb
BLAKE2b-256 7ebc6047758d8c1c6623f681ec7473daf210a3f63b92e744c9b8c25f40196330

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9488031e7930bb250febebba08efac5bf3a96634d124409e6972dc67119885cb
MD5 29747e9db32aec8f42bebfb91e1334a3
BLAKE2b-256 0dab946053555a295b29258c776756a8f3c5d993c12efceaa541bb69955860f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.4-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7c0c23feab01c77413aa236813175cc5baa23eb300821e4c231c4966f17f343c
MD5 94c2ee4e9a634b0c8b1d19e4de209b5e
BLAKE2b-256 a2558e635fd343da58fa2c6dc4feea0b293b2547baf023c416f6dc6860f541ce

See more details on using hashes here.

Provenance

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