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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.3-cp313-cp313-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.3-cp313-cp313-macosx_14_0_arm64.whl (960.6 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.3.3-cp312-cp312-win_amd64.whl (869.4 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.3-cp312-cp312-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.3-cp312-cp312-macosx_14_0_arm64.whl (955.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.3.3-cp311-cp311-win_amd64.whl (877.7 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.3-cp311-cp311-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.3-cp311-cp311-macosx_14_0_arm64.whl (945.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f1815496a0d495bd76979cbadec9e24923b9c44a951bf49a7812d38175ffd7d9
MD5 a87d0367d44767ecf7d580bfe0adcfcb
BLAKE2b-256 240d502e0b99721adc8d58770286f78acd39213fe0505101aaf98fff45341608

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 49888feb62927b411f6f3cbb6cc091db202fbfd157bcad90d87c6e64b7544a45
MD5 4cbd70e4be2d25476d14e317cd263cfe
BLAKE2b-256 98ffbdfc59bd4564ae0128495fdfeecb0a8994fcea16d0174326696a0a051a41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f1fe3dbbf25ce11bd574ba5329b8ae1138048efc28b8a472b21b21f1c62105c0
MD5 ae3a813a74774751f617e83cac17b086
BLAKE2b-256 587af1de59efd5af34c1c975827d579f9b2ab76614b4feec9e360f5315686ab2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.3-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.3-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 29241993d10d98b34d4dae7e113b5deff3c955b923f2f96e719d11ec3ce039d4
MD5 f7f4ef676b916da1df4aeea6d147e349
BLAKE2b-256 7361159fa040a4eb6ac7132b118b6b9bd36878d2a9efe6919faad641dcac9040

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 485abd4c711077e7a10bcae82a64f69d78573435e13035231292c974f621a7b3
MD5 31496a923ad418b80154c209f169ed96
BLAKE2b-256 b2bd3845740954b6c7061448a80c3d8e26c433650bc33dc7fddfc0a9b67f73a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 79dc4f4570b12af3bdf30033dff16154569c13d14cb6e2607e90770266345b7a
MD5 7ae3ed5eed41d5966bc830bc89d5fdbf
BLAKE2b-256 388a572e8f9b053794ac2c5a58f3a5dfe6fc06cc57d4789c9ea7fcf91d8166ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9cfa259d186d87fcc5d3ae3ec20dff16a5029d302cdc7ba78ffd1c0cccb72e3c
MD5 c91a9efdb928f3b2c69b168c3e53f53f
BLAKE2b-256 48b4e730823942d24c7966ce8634815de5d7029edd6c43889e939286b9687941

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.3-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.3-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3e4593463f5114653b3f28b8bdbac1c7328305881138b8fbe63fa4b83b4ba4a1
MD5 91f16ee2e60adf7b69f83fb19456a2b0
BLAKE2b-256 fbe91f5cd7d859a36fd9cb3891f50d744220a842271e693e2d70e2e225750d76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6ed05ccbcbdc93afc6b16083cb85c0c487e5f583c9bf746b263dabaecfe1d035
MD5 9803006c7485cee28cfa84132b06628f
BLAKE2b-256 431f7eeccc3c285f0445dcd0e6e25f2ba743a965a5bfcd528514cf6ed47857a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d959867b7dd2aec7e88ecea2dad6ddf3bfc9c062e57ef608498a086e4b20726f
MD5 3d846dcef938c5afdb7d9a5a488e4ea8
BLAKE2b-256 c06437e36bb9de1836d97aa16f69e2b88c2d449d9685c01d96f03951e688dc03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3b67a3dc14550a19b9acf3a90dab0972fc7419304fa5644ca81d46c037c557eb
MD5 3629e7a01542ed355cffc64fac4d7c2c
BLAKE2b-256 69c4f8349388f3c5c93d6207adf6d08718afce7ecdd5d41ca6c85f7fe4d694b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.3-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.3-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 747b70be34e5d96bca3b88e253f926cd17d3f449f06afeb9d98182abda9e2a68
MD5 9d37a6670f2243360bd55760298348e2
BLAKE2b-256 c2fbbba2026c1206a85a3ca2480f39a405acf1afd0917d2fb6f4cc2b32c1bc97

See more details on using hashes here.

Provenance

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