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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.11-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.11-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.11-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.11-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 20cb3b5a63177a2f3f2d48d63599dd1d2c9af2dd63cd91809706b60861d4e27e
MD5 ab0cf56b0b53e7aaa2f07b9070a36aac
BLAKE2b-256 f91a40bad24252aaad3fe70d64b9315b54b86af124a0d5752786d7bb467de9dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 17570977e06408e028855a6d4a54c7e296c29d3ce96da009fa0569dc9ff06814
MD5 dea442a018365f3051ab932f04eafafa
BLAKE2b-256 ecfee073b2addb15a4a8a57896b54666782840f57d48dcedf1d79e7ff8e99eb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 92c326d2949a70f6dd169411f8a22744b45dfd109b8f4026574f4d32708d5a75
MD5 77863cf5f51eb439c3fafdc2d714ac03
BLAKE2b-256 ce2970f2aecc1193e02ac20bb98343f1bf8b2f8cbb9425a2cee25960ef7e9aec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d58bcdc8d2ec231197d6a8c9d674edc1a6d5ca93bc64eadcc705303d97c9562a
MD5 3e415f62a56ec9699f0613304ecaf556
BLAKE2b-256 9084b79af2f97584a79d085acd271ac2537027fdbbb4bdf7b9dbf1424b65dbe6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f82c18fb58ac8889792eb26ce9128f61ed96bc6ac65390009bb44109d28865db
MD5 5207d6fd536c0ff4e9a9663ef316777c
BLAKE2b-256 2b1f484543ee64177e65b34bc6b10372fbb49e917bdf78cb5925f1b58d85a3b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 34074a0ac3c139c7dda0e9eaa179ec27d317c8da6038a3a48b2ff4fd59de1630
MD5 8985e8767d69682063d0a9644d4b8b1e
BLAKE2b-256 f3df021616673ee1993be33759a57a3eca7cc16417e5802ef2bc83f901c8d165

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2867c73b6cc398d95be315fc064d7654fa29a9c51ee234e2a4841a6c2eca18f3
MD5 e1b50efe6bd2e2e87a5cafd24e62dc52
BLAKE2b-256 83e27b1b4dae32dde39b446a3e5bd806b8ea42026e4fe764d67963d2b5fbd926

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ac376913262232507c977d429e450e1891bac6caea03503744cad0bdc87de34f
MD5 983df5f1dbb38e6d08e72fbe74f7b7d0
BLAKE2b-256 cbfd50c876e575a4141e5906b52ee0f8c16b7cfd55f5faf528e9cd62a04b6f9d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d2ec45df0125bf932ba381c2778f449c7098049fa1da2f321a498c1016fabd44
MD5 8c9172ce2a6b72bc159dab4057500aa5
BLAKE2b-256 5afd690805f6f84c9168810eb8e9ca02b761ce9f50fa05deefaf44983c065b13

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5e20770fa2c7147d1c30e9b097e111c656c893e16bde1e32638ef7a1391dafa4
MD5 5f1ffe886db2e223876fb83efcfc162d
BLAKE2b-256 4e08070cc5df2650e9ab5c0f913d4d389159a431615f22fdee7e6ab62f468c81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ff470c0ebf4b7b7910fa549da056763600f57d4a0097f0fb90b72790050713e2
MD5 1d4dfa92bc41e701fbab082375037bde
BLAKE2b-256 579e33223ca53b526fd7562ca8359cbe51fbd0449237175e1a1d698af1aa6122

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.11-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 09306f11fc43a1a73dfb3f6955f8453965a35d2a4b53f4a3d969a50955c1b5e7
MD5 d3617f5f20b56c894b2e479208539448
BLAKE2b-256 2b6e38f16dd34e990b36ad2f9879e1306d756a27b133e2a7a0c25b31749f3f0a

See more details on using hashes here.

Provenance

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