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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.5-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.5-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.5-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.5-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9db381898f9ca771afe175e8af9315f151bc4b6e18a201b08d16a7264b1932d6
MD5 05dac74055efca5e53b84afe3852d284
BLAKE2b-256 d35d586f917cf33c4f4578920daa265c44dff7c6f16bd55de3bcd2d55cb87a6d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 63e8a14dd5bc8439d2f17439b2b6428a38e269ca4f090a748849c8122dcf2694
MD5 7edff9db85e4b5e5414d0d161ceb5cd6
BLAKE2b-256 9f45f35052cc772693d41a5eea4063aa1222a51c11ea23ead15d792bc1739053

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2477a39e4fc089d58cbfc150239cb0d19261d35974414d3311898a4209fd4bf3
MD5 115da51434fffb9402b512087c0b9552
BLAKE2b-256 e92decc601915458e23f5b37136a81c624f234dd22733262eff66aabaf885192

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 80826c1e1525d2fb57b2a9c6c6610c77b8ff984412598df56a4be639a1328a4a
MD5 17ff213fbc3214e396b07c2a024caabb
BLAKE2b-256 dc021bc702b10fe313fa01868c55848ed1c364dbd0eac1ac382cdbb83e8c059f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fc62a685abd443416b0b95b17d48837490c34a5088c7e16280d3b0ccfe3bea63
MD5 d6577d0323c7d8330e3b7dd8255bb6dc
BLAKE2b-256 6d05077bbfa25a584e8ed56733b26ef6791708253c2f7c827af95a5fcfedddd8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 166c268b96ec963f65fb26251b6bc78180e78ed8768f53d4c99feb23eb26c735
MD5 c4dbc1742b43e66104c24e703a004c29
BLAKE2b-256 dcf337961385d7808c16effb494b1401f112a57f92e50dfc4ad1a2e5f4fb252a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e3b541538c26b968b4021042ba6c38d3a30576dbcabc08bb7a56fa665a30dddf
MD5 4edb6ae6e8c3397148d67b512c0907f2
BLAKE2b-256 3584f77b2e8a87590d8ec5fe4c48d08d7ed57597c456c43ca9675e40493d7c70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 337b4a3a71e801e65dc919c4866a7bd5e795e9d831308ad9a1c99aa0aa90330b
MD5 1da67ec8a2dbf81bbabbf410183496cf
BLAKE2b-256 25c3c3c71d8187ce02e5ee041116b1684a620a7d7c57f2a7767036a4309107e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 694d324fd29f4fd0ab1ddd7b15dce7dbd89d635a47083f7b854e8b490dabc60f
MD5 af5a2a0f682e9ec8d350b5fc5a010854
BLAKE2b-256 2313ab05ed1b8b6df1a7dd06235d0e133219404a4a332c59c2c91d5a2d5c0403

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ccb15dcae7e7b40c8c831a06bdd1e54f9db13b43676168632898721d451da6df
MD5 d106554dd4f972218c19d334a70a22b5
BLAKE2b-256 78781ab510c5ded6379e58e640aa499d317480739a7e918f53d783f78491be67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0e0a0e496a2a4c85bfeb18e71ce1c02fab21dcc8bf0e7e217b93a014da8bd18d
MD5 c694a45895e651c04dfebb17ae667f7b
BLAKE2b-256 9f8467b1d559da9d8a52d6a2642cf289e4f887944a3bf716cc9e36b9d9d41822

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.5-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aa7463c673f2f81986a88d66fd93ed6d8f7e31348d0b2d248ab3458e91c3f6bc
MD5 df0b91a7176d4a6f0839391bbd6d3f05
BLAKE2b-256 d8285d17cc093b52bb9bccc761fa90c7ae7894969612fcfaeae27209f512e94e

See more details on using hashes here.

Provenance

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