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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.17-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.17-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.17-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.17-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.17-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.17-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.17-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.17-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.17-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 381003432fa067b059d97a570e3a6699e1705e755a2ae196e80f8b99054c3576
MD5 1701151a352fd023d42464ac2b3c511f
BLAKE2b-256 78ac6e913c07b3e514994a08f34a855ca8aa2685e92975d7118198e805804e1a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8c373b919f0c942652e1f7f5d6e436537e5a8b2fa4ff203d1e7aadefa372ffac
MD5 67ace545f87a59dd4a78c43976caebf1
BLAKE2b-256 909c1609d2f552a99f406d2c3ea7245c9113e95f9573ae24bafaa26a9e431dd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 620857be0d0c213897a85c23402187a3135ecd3e031a1ef3bf7515871d474828
MD5 ca311c0e25d651c40296c6f08df94432
BLAKE2b-256 affe010620da68ef04edd5e42ca9891f5d4a2be78bc2758c50e5dddbb7284906

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 452292e40f160fb63a3fecd63b2318c3ab353c45d811cbe092f901ecf9cce583
MD5 49c6ef54674b51d30d5d2fbd7d8f5496
BLAKE2b-256 763b5a4a72003706c3fc35ac0a4ef4afef34b3ac222019216e9a9acdfa932009

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5c7c89b9cc1defd923faf48b6a7d43b7e69b8a589308b701adeba9fba92bbf53
MD5 67ac120f107129458381d92aab201616
BLAKE2b-256 b5b9b564500cf1a91336c3eff1c07086868d5552e1ae8ad86a3579c58602ee70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f131849fcff9345740b1e7c2a8e566749b367d89f29946d6e3fc5b33daeaa6fc
MD5 f1c4de77db2dd405540236a6aea1038c
BLAKE2b-256 6299c5e4a95c18215fe60a4eda4d6f4bf091ee17f2221d9b7de8dd87a5d891a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 88efc70fc4a7ae87b62fed5a9de1be4ec96c3234eb7bb08f37b153e7693946fd
MD5 212c10f073cdbe7f5ff674612ad36ef7
BLAKE2b-256 c9190d6b411e6a0c581160cc6ff0c14b5b8f57daf869175ad563d969faff1be4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9bba2010795949159f58c29286a4fa7a73db4a64e50fe4931448042e21259b29
MD5 201f3c6ae9036c4f59160b32da476594
BLAKE2b-256 8c86c9b1cc36707c355b9df54c687aa801357bfeadf32e3ca358d33510bbb920

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 05cb6ddd061fe4e8d9d5efb73e6b674fb4e9c279774b67052b4eb166f132211d
MD5 a29e2c69c2b4b6714fd1d19d15205458
BLAKE2b-256 ded210968561afaf16e0c3b1c5640b21fd6a8482bfa1f0d0df892c10ccf55988

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 906d03b895a75a8da7468acf95beda1c70bdd1d9ce5af77a048a2150d50df2d2
MD5 2eeebe6a8267bdbea02c23c8e0b67385
BLAKE2b-256 7d927f94a4e6a8c55292c90bb3255f67c2afe7780e3d0478717e8f1c540ad591

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 20b0a7f8963a50d4674207a7999e21f9e615398ed00b4dcef09445b25d78b75b
MD5 9866c126237a661ddbe5c240f0ef7d32
BLAKE2b-256 f0a5d489f35460731840a348be974fa820cc6de033a12de18ddee536c4b5e49d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.17-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fd324de66d6cfe77ed9235907546215c312751d4ffd5c3be050e9d28ed41cf12
MD5 d8123c30c7a99b67f48bd058137dfa18
BLAKE2b-256 c52053d5100cc8a65d48fc74615fc87db25546a50553dde7817db27d4ff270e7

See more details on using hashes here.

Provenance

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