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.3.2-cp313-cp313-win_amd64.whl (840.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.2-cp313-cp313-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.2-cp313-cp313-macosx_14_0_arm64.whl (927.5 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

gllm_inference_binary-0.3.2-cp313-cp313-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.3.2-cp312-cp312-win_amd64.whl (842.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.2-cp312-cp312-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.2-cp312-cp312-macosx_14_0_arm64.whl (923.3 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.3.2-cp312-cp312-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.3.2-cp311-cp311-win_amd64.whl (851.1 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.2-cp311-cp311-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.2-cp311-cp311-macosx_14_0_arm64.whl (913.8 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.3.2-cp311-cp311-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

Details for the file gllm_inference_binary-0.3.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 82febdabe9eb67b192e601a8e81645eb084bd1a9c328d662b17b56891e855d31
MD5 7e64cc47780bc5759e9a7d6a30d42dfa
BLAKE2b-256 685b09ab039afb38926a121dd90d03089918b1cd3bb9cc73c9d5239c0c5789b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.2-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.2-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 81f89865546712dd78b2663d0b55f1a4cfbde15d6e9a710df1aca99a91ac7610
MD5 8f43708d094431c18ddd90450a4fb1ec
BLAKE2b-256 215144811b74a013704c45946c41d9356b097e42405420bb46ab6f02dca731b5

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.2-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 940003597311ecabbbbe5c9c02ee3e4a8b1234825742d71d635ed17da7f67a44
MD5 76b4e5a64c0b98ef713bfa60d02f38ab
BLAKE2b-256 2d2182141c1eba6835aecfe3a66d276e22d3ea92414e345263c6834253ec667a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.2-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.2-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 145ab80d728c3139d9aeca5b8976326821ca990ad43e284b6ce6339d4cbd1b70
MD5 5adf88b9c6562ab759bd08c23e56ce21
BLAKE2b-256 552f7509c4b03f1a2b017e1faa4fc4eda31ca649cecf4724911fa28eaa47900c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.2-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 78575372c3ac58364dce62b755f875f5b1255829aa07b591b3ab793413ea54e0
MD5 c932e04484f2ccc741ca90112e00f3cf
BLAKE2b-256 24d274848244b35f114cb77e7b895fa2d8c24d1a065500aaed60953dc5638653

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.2-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.2-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6e3cb4640d993e7d71f354801671d015eab1ac07ad0d19478df171dfc3327622
MD5 d87e69766f53b00a0912e3e827cc3a2a
BLAKE2b-256 48e75b6cb924beff85d148161d277bc58044c61110ec77cc8dbfa405ae837101

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.2-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e8fc41e11f877d9f64a7b7b3368358a9bde039c53f370a687cc841955bf762b8
MD5 c066b42d46ac4b6c23fd804a792e2731
BLAKE2b-256 dda18adae21b797ae6ebcb20c3dfe54ab50c890b94fa485642d848c5d47d045e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.2-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.2-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4b6ed7ba8edad898247b9cd7cf47fb1eeee37b9f9876d8fd9ae453edf1e2350e
MD5 56adc8980fa120d1b5e7b6ce89f8bcff
BLAKE2b-256 d45f5c74ec7eb67da0426a399a7a665f135b27987e93ad82fe86923381aa527a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.2-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 728b56a3e8d3475c9aad55a0a3d3166037e6ea4e94d474de8ae1a1ecc0219917
MD5 43a75b6ae1805289d3de2a08f36a42c7
BLAKE2b-256 772fe7a7c9dac6b1cc0edba3938afe3c05981812f69fdfeda56c23c0f8a58d3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.2-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.2-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 12c8dd0f64b62392530ee7c891d52574f31a3784fb786c2721e4601d8209816a
MD5 3e564e757c986bbc1f039ef8b2350edf
BLAKE2b-256 ee6cdb94fb9f2f659386926fbb1406d5b0ac795d8e8c01ee4c1d808c9621a15c

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.2-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1ae5d1de828f7afe66d267b7fbc55d36df759d2240fcfc1ace2d35619dcd5d8b
MD5 79a678cf5ec27464ee0869b83df534e3
BLAKE2b-256 2f7e0b106bba996b9d0d1679fb210c9b1d3a9fef6ed8972a30c44981861c278d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.2-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.3.2-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 05b4c73c9900653db154f7f69c3b75482e6cb213d499c4955dc00acff0f3f9ed
MD5 bd683049f310d838842a961ff3a2b0bd
BLAKE2b-256 37737abc916422b490928821b90c151d4c505a245a439cd1d096b8cc0306e432

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.2-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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