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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.8-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.4.8-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.8-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.4.8-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.8-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.4.8-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.8-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.4.8-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.8-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.4.8-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4c592ee43f2d36e45e7d0b2a36e0b7fcb1f048101899f8ccba500b7cd55f49d4
MD5 395ac7a4bdbafb61be1e01a39e602753
BLAKE2b-256 706f0b87f9409c2ff206907478c974dfe0f93fccd0c50c6bec73d6d3cf2deb99

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f931bc7ea7e5bc3db5ee47fc05f147ef634f3087e21cd2e43b61c25a2f5db871
MD5 a04ceb6dd71db09a715099b14d20826b
BLAKE2b-256 a9fa98e322d3ea75fe5aab3a1d8c5fa5d9cf089e7587a20797c590923173a230

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 469cbfba992e1d6b76ea33e5f248b4716245b1384d1463940811da3d74392adb
MD5 45304f8432c6200db28da80c9715b897
BLAKE2b-256 d16e6ae33cc48cfe0a6c794e4c76d56884a424ead52745d39ef0884ce2cf4238

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d18db5394efb6a12ca772950d2d86e6ec1ecd62b432d5cefcdc626a4da7ddd67
MD5 144acecdad2c4b6a6493031d384ea372
BLAKE2b-256 319b4b78967b8babd6290463390530af6b2851fc4b631341bbdc4fc08f9806d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 613911c0941d3222ba6a3a93d56b933938701587019bf7af6dd4a2644af57b7d
MD5 2d41c600ca8c61e9d73954dfbc952357
BLAKE2b-256 9697d83ad2bf7e8c6543904725574cd5d76f26d65bc70c3eafa8bee020e78719

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 af241d91da8d06de53833e6d06ac46d4e92149ef5ce9147c6393c0c06afc65a0
MD5 047547495323e789b233a7ae6b566a0a
BLAKE2b-256 20ec52952e6dfa5e1a81b952829978d2481b6502258b5090687f1be78cceaf7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 f3a68a0f072a2e83504cc5399e6e81ce3e445d3c59c1dce17f5ab23e2fe9dbdd
MD5 3e4250725909f46b96d256b9321f1d27
BLAKE2b-256 0360f2cd1763e7930c182c8e3040d8535e5d1148ccb3be70ecf9232942ecac2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 48230cbe2004fdc8f35bfb110a2b6cda7cbf03baa2e41429f433983d64e55957
MD5 8e8bb86de94b9001759982116e5d0274
BLAKE2b-256 93664ef115633e5a19526391e713331a3bdfc94eb92034aa1cc4f06eab29a404

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9603ddf6e6df72cd2a0215a7e2bfe41c257afc956d5870c3236f97ce8272c31b
MD5 7d1ca39a2639eb06fff1e1343cf75211
BLAKE2b-256 e9dedc092c8100b63c16ff7eefb1c19253c648db2b7b60bc0bf3823df66e9700

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7c9bd51d14436c42878d1c5d124fb39380f8dec3f389a3e2dba8f38ac668017a
MD5 2d5fc7b1bd0a4d1a1a14de256da31101
BLAKE2b-256 67db15283f0a7a6b11ef87b622ba525c39a0724db2e25035dfa6108e23aa326b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 425b4735347322e767ac2f2a4d9f37d57ec2051d06376dab47ed518e25249d5f
MD5 707b6cab6aae70b9f6e982e4a54a7b72
BLAKE2b-256 f6a133e590ca7a1c6e9a966474ecc61e5419e5b7ea1009774887f382c291d063

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.8-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4e45bb3855edfc2695870026aecddda044c013d287e39a53ad6c9c8ddc19bfa1
MD5 6c73badf79d4fa700777f561786bacba
BLAKE2b-256 ad0a020ac0d2077395610177f039deac47af15e24b578733a016e1e24c1b390c

See more details on using hashes here.

Provenance

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