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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.19-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.19-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.19-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.19-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.19-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.19-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.19-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.19-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ce43c2e47476502fcd3d1594a73a505953fe525173b621d6871c05fa9a9e4db5
MD5 cb6fa7a7fc542f62ab2526aa4423c85b
BLAKE2b-256 41012d2b27a048ae5b3d62dc77c8eb1635051d604ef6feed890cfc2c05b86e67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8d2946ff5283b412a652b3d096c373a53d7975fbcdf483d331ffb3981227ca97
MD5 301ae8493d15f40142f24a68a681fd78
BLAKE2b-256 75e152be072052f5501582f0847d7e9441c59c033e9ccf62fe283095f958f9f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7309fed77b1973d6b9fa1fd7aa331645bafc95494cc3fb71a1ab8fcf367e1512
MD5 f7b1a6a837499d44ed9d2b6ca5fcebc0
BLAKE2b-256 efe76e3dda4a55226f4beb9ea56de3a1986d6df4f700d434e88cfede0d641057

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 13f7aeab3bc4d6f9c6b622d9390e3d360d3884d6ccfbe7dde037f5d7ce9f1871
MD5 0662391b5a79daf766982d4ef58629f1
BLAKE2b-256 118f16e255c7b56cbad7aa0fb756b607a1c03d55be66912251a05f10596b3887

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cde0d6b674451734c081cc687fde900a61ce486be3f6bb76007c56ac7c7df54a
MD5 90f1a7f051f1835b6cd3f870e1bad17e
BLAKE2b-256 f13023538987fe336e93902bdbf9397c625a9e3c816d7e7bbe5de8c00814eccc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 65a1b430a3f3b0a8e9a0fdc2060732c46627bbce7136b7b33b613e5541f4756c
MD5 e3b9308b6d0d0b033cfbd46920fe9439
BLAKE2b-256 541a747a70072e01a2712815cab091a188959922bd4287adae4902007ced6404

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 076e002eee309835533bb27cd9fdef09b7a06ae88d489d849ea97d623d97d246
MD5 b08de58282ae74fe691d1ee2474323b9
BLAKE2b-256 4b0713a9b82d58b3393cef1e8e3fc8cea8e085e88706a390cbb11236ae46e231

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b8a26238ace615be56cc5bd0eeb54c1c7f228fdfbd2770d724328eed378f5a6c
MD5 baf211b0db1aa25cb729769ca0041c24
BLAKE2b-256 6fe632613759d48448830c37199173f4e9064bfa98c0da57df47b6228315cf57

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c0b5f10eff3718a2d06d94e04dc0ba405903ede4556113ce26cedce8f957042d
MD5 05267395b02c26ecc503eb13da323a63
BLAKE2b-256 b23c40bd72d3b195b89dfcc46ed7225e0d03865a7040c1c7d28fcc1bc7b9e28e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8de5ce4965bb8c31a721866aefa21d90a1616da6a8f283eeca880000bd079d18
MD5 a230b3a0b6ad68d52fa6d43b2dc28565
BLAKE2b-256 a8ee98fe411a0105acc837ae48b1188d30ee5cdba3e70013aa70e2fa241df6b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 cb07bb65a2319d20ddaa43e600d6507c2d6fb1c4bc00a0422dd98bb0bc5bfb42
MD5 ad03cae037d3834a8cd868f1a2fc2ea2
BLAKE2b-256 ce31aaf04c2694b4e5d27f0b89ac35483a025d4ebc84b3698857222dc09e57f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.19-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 23d02136fe8e0865157bcbe56aa1608201af92613a502ac13fe1b6d88bd4f864
MD5 2a7f986c545da6cca783d91970385de3
BLAKE2b-256 f745e2e360138a581cb24ac0b1ba8df0c4a97ce0b9a6027fe9e94628cdb772a6

See more details on using hashes here.

Provenance

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