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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.0-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.5.0-cp313-cp313-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.0-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.5.0-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.0-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.5.0-cp312-cp312-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.0-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.5.0-cp311-cp311-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.0-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.5.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dfceab96c26c5abbbcf92c79c24e1fb924853212190c796c133a6827d84a1077
MD5 dded34fa45dba5b17bfc0909a4e50059
BLAKE2b-256 1f912305a06fa67c490acf0a4b73c5f8857f06a5d43548b966a883d575295bbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.0-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.5.0-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 902b8c7a6dd78a7251c7918338e01e66d78ebfb7160170eb403cf3e871a9693c
MD5 481517da75b45a2c80aaa28b7d419d80
BLAKE2b-256 ecba5ab760336d153cd8f9a91ca67d7a6f747a27d45f3518d1386d77b450803e

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.0-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7d16789e0584c16e298b549b08d80f87cf0b587848935123791601e43c595de6
MD5 0e032e83ba355169c6bdb7dabcc96170
BLAKE2b-256 aaaeb198aee108755273d104914c5ba652feeca8a7e25c382eb2f41719673ba6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.0-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.5.0-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 79be638a0cc53a2acdab22209a228229499dd8f0d91706d658ed4801cd373a19
MD5 b1a21b91fd5fd7f6b1a6e4775320bc67
BLAKE2b-256 b9c4c13d0ff2016c6a9ee4edf5aea0f78eb29deb2cf028fcde87386d61717714

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.0-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.5.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 61ce8e442bcb77a0f5221dcea3a147bfc8b33f2a583b5d506fa4b93f91e2da23
MD5 b16e5819943556c21a17d18efe601ac6
BLAKE2b-256 b7946ef69adb349c16ebd0798c659ae1b56ee8b8b91d77b4c0e8f1f357d1593f

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.0-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.5.0-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d9265708ecd0f77d17ddf5a6029a3108229c1f1bd07011bccc3dff51b62bd1a7
MD5 46e8505423200e9c94d367ccb62bc8f4
BLAKE2b-256 0308124951b670755e00b76dc5dec427cb74c1b2f3718a88c9360304794e1e8a

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.0-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1a1ed0bad352d763d11c56d8af03148ddaa66b52996e72db4d7cb75e4b990626
MD5 c385cbcb74d56c90e9ca8aca9aacf0a5
BLAKE2b-256 f035f3124aa674003536725e3513e860920541298a05d7eead51be209026a644

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.0-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.5.0-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7bb38866bdd95f6c4c9528c0efca1cceaa0d08de868ae8e8b7c20ff2de22babf
MD5 12f009ca54bb4f2bfba2510ffda95301
BLAKE2b-256 b6a492dad82a782a3ca6a3ab0ddbccc9e543cc7a1a9e1c62ea0f1eb2071e5fc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.0-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.5.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 72c186f5c28ce558ddb5e8e5243af717d566f643b16a02cfbd62ee52d913e5b1
MD5 3281dc70b74d1672d34e1e6c1b6cb527
BLAKE2b-256 350a891424e524f04093e0240ee6492ad329fccb5874b5128cc70fbafa0f1729

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.0-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.5.0-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f256b2ab9ba4343687c64a968e9b422be79aff1d651bf0af580cfc6f35981b33
MD5 69c2f0d785eb6184062b6c980ce069d0
BLAKE2b-256 52f579a3e54fd4a23569bbf993f73683a3e7bd62ffb355f0a258356be989e36b

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.0-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5ca2152fafa8205eb1730cb09b632ef865f46a98e23cf4fee4b9b9e2d7960ab7
MD5 257c7bcb163fe11894cfb85d4d252673
BLAKE2b-256 8bfc418905e3c3e07655ae36b09fc208a4a96cda602b18bdf216242ceb9fe385

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.0-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.5.0-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.0-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 cd3c0af19757907a4e2f1a6b89b1944a13f88c872072b74b1de33992c1c41eb9
MD5 56ab1410960910b42299ec24ae551237
BLAKE2b-256 8d705441744f13f60425126a97df26a03a7889f61eaa9261059450ef41812db2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.0-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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