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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.10-cp313-cp313-manylinux_2_36_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.10-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.3.10-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (972.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.10-cp312-cp312-win_amd64.whl (942.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.10-cp312-cp312-manylinux_2_36_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.10-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.3.10-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (967.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.10-cp311-cp311-win_amd64.whl (954.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.10-cp311-cp311-manylinux_2_36_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.10-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.3.10-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (954.1 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b7ff682f3cebe9c37762bab423987bf42d857ddf190ad2107859684ca8a58e91
MD5 55c065eedafa593daef33c16fa237cc1
BLAKE2b-256 851d841b0475280d1e7d046172f718a1a36160525aadb4b99384988ff0a25c90

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.10-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.10-cp313-cp313-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp313-cp313-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 58030ed078bfacdd9a95bc89deca35c0f4735f1d49228e9d7a0f68324beb8955
MD5 c9827fe201ffa773dbce91d5bec5ce3b
BLAKE2b-256 4cf230d52118a6f31793631db1ef7c89b8a8d73d6b8772bcc8f50f67b948fffd

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.10-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0eab1ab8f4995e9ce1b190be2737583e7769b9ac99afaee424bcbf9fac56381d
MD5 1945a2dfdac9073e98f7f42820715c21
BLAKE2b-256 999681994868a8507b809c77aba39ea61615c8acb12833b8ea2adf6fc9937a73

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.10-cp313-cp313-macosx_13_0_x86_64.macosx_15_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.10-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 db8056cd14362e0035a665985bfa804396a5a4463f415ad71c8dad49e73e8a99
MD5 af0cd071e5803789866d7c665e14a904
BLAKE2b-256 367cce30ac47138c7d31866e3a57d77bd81ddc69cf1a91f41b788e1947460fa2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.10-cp313-cp313-macosx_13_0_arm64.macosx_15_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.10-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 16fba308256cbaf3ec3d1137721cbb0a12cf1bd74eaef84dd12a2a9503773b37
MD5 71e315541f6ed3a36cfb89b55e9d8b5e
BLAKE2b-256 e0891a7789245e4b300278e299f479fd882b6a4160d5c94aecf289dcf23aa0e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.10-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.10-cp312-cp312-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 bc6b47e81fb256fd356ac595eb2cbade74adea83e0e9be8eb71e8308aa7ae400
MD5 366fc8dcf3fb9e97dc0af4c4e8aaa389
BLAKE2b-256 5ef8a224dae8f6828c8fa2d427d5b0ac48021967218229cd989d2c3ac9b9c17b

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.10-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 f924bbb7aa1af779c95bb0bc29bb81ed1c1035f3c7ad74f735408cc04a033883
MD5 bd11c1033d62722a580ae4486b6b3f90
BLAKE2b-256 962486184a961469acebced08e7856e50232ecc7b1559a66811fbef2ddb55357

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.10-cp312-cp312-macosx_13_0_x86_64.macosx_15_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.10-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bdd0fbeb1838f0e86809f024a3e5ed24c658cf9d2f722526e8fb5ff190c5a95d
MD5 fd83d29dd43b9d1ac5f5b4f6eec47a4c
BLAKE2b-256 fcc460bfcaec354824a9f736a0501e287c86e9309b9a04d43b3ebb7299b0b291

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.10-cp312-cp312-macosx_13_0_arm64.macosx_15_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.10-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 14d63b0c126f2b25b6acfd3c2fef3e6b5eb5eaab4d3f293ee9be1dc9a0ab1445
MD5 753c4e6922870cfd4b2cb8d1de7c8e6a
BLAKE2b-256 4ca9b6bf5c7fbfa0b560e8fba86cbcb60af390f59b0781a89a9d30952b4bbeb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.10-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.10-cp311-cp311-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp311-cp311-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 fdf8f10ad99e247340721a8a62a479b159b6ed7472a91044044b8dc2ff4bccdd
MD5 24f4c8feecba8f2b45bfd4eccf46bcf2
BLAKE2b-256 f3ba72c9bfd292ece009e00ada425c56750ebaaeef6fac5dbbe09d7037211b0f

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.10-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a1cf715501497e2fe64dec57e49e682447d677a31af6610417ee0442b193e9b6
MD5 8f95383f365e93535bf9ac0552ecaa13
BLAKE2b-256 c48f721311f026d5b372046847b85c943099cd51015e6ed5187b16b102abf042

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.10-cp311-cp311-macosx_13_0_x86_64.macosx_15_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.10-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.10-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8da2d591cf134c7f9d4e5b5f7f9e6444037937f7981abb68409c5e9769e09853
MD5 33604e1a025488acec309da84c404763
BLAKE2b-256 e9986c8056b808ad0ac83547ee80e6170a1f4e6b3d0cd3379a6e95011e32d0a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.10-cp311-cp311-macosx_13_0_arm64.macosx_15_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.

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