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.9b1-cp313-cp313-win_amd64.whl (898.7 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.9b1-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.9b1-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.9b1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (928.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.9b1-cp312-cp312-win_amd64.whl (901.5 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.9b1-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.9b1-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.9b1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (923.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.9b1-cp311-cp311-win_amd64.whl (911.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.9b1-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.9b1-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.9b1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (912.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_inference_binary-0.3.9b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 abd8c057c116eedf520f0d478c69d192b8a868b7cf22a8a42e0f1c42d4b495f8
MD5 651f502f988a2623926f3dd561007f49
BLAKE2b-256 dd6eb472125774761fe14594e65de40855e7cbff42c76481e6ad8fb756590817

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp313-cp313-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 3a86c227d55d71f9b5191c2290a88f00dfd73df27852bbf563a4d1393911b4f3
MD5 febd61fc0ffae95bc6c39d1adc4d61a5
BLAKE2b-256 5e5eb70bf377c677c8e44b864101551975d8f9d3d1978b2cf1abe337a4f748d8

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.9b1-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 750bf1d858ecdc2d195f9c6cbcfd89ed422a1f1c29ebdae3cf285d2d7c6c37c3
MD5 0684fa7b6b9085bc5d91b9d0f483ade1
BLAKE2b-256 aff7cd75465c060fcdeb05be4304d657447d6522bf3b27c3f36fa2b3966e3298

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6ad6fc5b04424ddea9e0a56151f55fb320501873cd65017b8afc6aa9b1c9a862
MD5 3fef410da9ad87fa728771935979f7e3
BLAKE2b-256 9a6e6a7aae5962a9289c7abeaabe38f611a60f927ef6f21e7d97e22a6cc8e9d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4be341f2cfd3847912d8a6a0cd10782816bf46e3bd62235c3c98c8c9315ddccc
MD5 86dd995f9e98c5924f075e9ba370ba50
BLAKE2b-256 1ca184ecd1c89b8de2a04884b4a9b6039170d345c3487d45d7a4b76fdee4e1dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 0c5932af824677f04be98557619e7cd94f2b9af4a62c342ddfa0221d69f680a6
MD5 03aa1b21b8f826c0e04613bbccdbefab
BLAKE2b-256 cb03e13aa848dccd1af6d71a5ace55a14cb0848f24640b66e218b2c633d06d70

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.9b1-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0e0418688dd37e543bf21957dd54a73438382e322e8e1ce06e5caf1c637894ca
MD5 302cb758fff0b97a440bcd61e4bb2f47
BLAKE2b-256 2367826bcf997dc0e4ebca1d17c87fd8709563468fb54a37f59108ebf7525d57

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9313a9c4476ea45d1d26db4f79a90bafb418d0be0a18f7d20fbea242749d80d2
MD5 3b7b62b4a4d415fab92204610c3dc178
BLAKE2b-256 992723292d863bdfac25cf8d0224655365062e38b93171ef74305c8ba36d6d0c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d4919e75822b07d17af28711e1862f13b9ee2f7ec8669f2582c26abab4a2a309
MD5 1a7c197ee472e87fd149487207748a8c
BLAKE2b-256 91c73de113716cf11050ac584cb29e5adebaa3cfa5ecfc7822dbd5778fc47340

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp311-cp311-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 7d863e2980ba67a9643d5b7810000f9a2d2f4c0094bdad4da0e87e8390b8de5c
MD5 a257cd98fe9f80fab3dcb8f643bdacdf
BLAKE2b-256 0df254225e730aae97270967040cc68753ee80842d15dc1c8911d2229c30bdc1

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.9b1-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 75e2dd678992da4e24bb3447125db478cba42e1c5ae8288cecb2c2085a4cdf11
MD5 5ece4484d2f6cf8c83bc6f4fefc0face
BLAKE2b-256 0521dc72ea5a93cd28d2473a3b7d843757b6d910ee107b1ca74083846ee4b16f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.9b1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 758f874e5a10bd7be7cec1be9beea9f88f4c013c2c7116ad5ba09b5c1ca7524a
MD5 d239534c02f1438dee19552d6b770f71
BLAKE2b-256 72c4d4a8f8e85b131fcc6b42e2742f955a8544ae40a83c5b02b3322097333820

See more details on using hashes here.

Provenance

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