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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.32b1-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.32b1-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.32b1-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.32b1-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.32b1-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.32b1-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

Details for the file gllm_inference_binary-0.5.32b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5abb0d01039f8805f64d937ee1716919560cd3136af1bb6e9bea5a7966ee1ebd
MD5 bd7f745e33d43dfc5a29fec431f84429
BLAKE2b-256 78f2184119afd668b9d5aa1c2a066e5d86327da4bdd8292d0a6f5e50c097d762

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.32b1-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.32b1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32b1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c00c269a5d06ce7289c0caf3f9bdd43e8b666ee897cf160d77e63451c8ad28a6
MD5 7592b274175c70beca2411dd27772586
BLAKE2b-256 c606062bcb33d68e3b3d05d2d24063bd47139d0b9acc667afecb6d8f6b92ec7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a8f7c657ebbecfccdfd0330ebd4a9bd9de355bbdcbc1680b4d46e37a62ed85f5
MD5 628c0a3278b6aaf34d2591a5ac138b1b
BLAKE2b-256 7c187583e5aa816f3b4b87e6f001ac9ae36326d20efae211d802eefb813c8b89

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.32b1-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.32b1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32b1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8019dedf331879fca3edfd5b09a41a14a7272577e075c544d057c1b41a885659
MD5 e87952ab05b9c9f9eb4e2f1b3df807e7
BLAKE2b-256 d8dfaf2b4b872aa71276fb83d47cc52b24c293d2b4be0f6e4c4da384b7013800

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9fecba49ad8b69536c95d57380494e61156f88e141b3ecec88392dd11b5cf112
MD5 e9da18ead8c2e21993afffa8015211ae
BLAKE2b-256 33808a5ae6085109b7ee0c2efdd71cf90c9a03b7171b519bb3171e8514a1c1fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32b1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6c78ecc45b77837e8b65b9e5d11fcff5ff43e8954c2dd487947f4ecc97bf6734
MD5 489c50de7850ee48eac70d8c4048614b
BLAKE2b-256 866841a5c2e5997675f38b9a51d031d47d41af228a7ffadee1eac4fdf31d83d1

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.32b1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32b1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6629c36d83c24b55e1252e9445c7b8fdf4915cde2b73dc9ba85202071e0f59e7
MD5 f7743a9fcbe6bb821af748661d0d4dc3
BLAKE2b-256 4fc9f10ce5039ec008220858f024e9d9808fbb95ec86e72704f921d99f52ae18

See more details on using hashes here.

Provenance

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

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