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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.17-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.5.17-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.17-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.5.17-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.17-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.5.17-cp312-cp312-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.17-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.5.17-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.17-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.5.17-cp311-cp311-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.17-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1c3b46b42b268789795490fbd0b5e688c19ef012a4c2cfdfe106fcf7f05aa014
MD5 c7d7b4e3c74b364c7089cd35007752f3
BLAKE2b-256 9386e50f09d07a44dca86e28b3bcc2b865e50b118278c54e4678e59ec0ab0cc2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 89a62f91528752139d9958d508c6e638da5acdf9143944055fbcc651179616da
MD5 56dcbcce55dc3cd45a9f824213a0e8a0
BLAKE2b-256 2ee84cedfb2858a70a544bdb29a8569eb9e528810214ba923f896d77fbc9adef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f104a10de007dd7c2a0991b27daae9583efedfd7f551776f9f9f3ed0981889a3
MD5 d5df7af2b2c6e87ad7e7003f57df34d3
BLAKE2b-256 f09a2936d10174f08401817f8b582ce2e377b25b065e4af4bfeabcb2ae2c016c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 258a704466cf535b6612d72003bfd15173c6e8b14b81655651ee07d39b20d3c1
MD5 048a995980d77fa4862f32894d90c9fd
BLAKE2b-256 7710dd696f22c0bd6132019e1b77d5cd718c7ce7eb8a53a27b67345df688065a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8ea254c2364d880001bcee5d163c6fb2327ee0ac1a7283e8401e44e7fa042636
MD5 bdcd35231e6d8e627a7f45caa50ec817
BLAKE2b-256 c395484d5e13e0463f7f50a3dd1c4c099e5efc661405e95da916072417c96c52

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a614c69ef63f1caec1990ee076b1cb5e8910d5e8879c8dd249a32403bc447214
MD5 aa2fbe8cc9635a251d5eee7528f7e65f
BLAKE2b-256 bd4f284cfcf9c4dd13b26917d9ea9514b9326c583168bf16486b5ff1530e587b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3e2a3bf59cb38628d9cb3e7a89e3c5cb9cd10734b476b34f335338625123c7d5
MD5 4668ccdffe7900fd81b81067ed131452
BLAKE2b-256 512243815b5aa1f4bb21ef891965351955a94e523a949797cac90a42e4f57c7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c90fada25395f3eb82ba5e1585ef175afbf88581171ffa070df9ffecaf5ee0ea
MD5 5d070dc266012609503392eb0b62b373
BLAKE2b-256 07ec24136b4ef18c573150ea0f8a2e82538abd84c91207bfcec54fbb64532377

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c765e9323bc7163505917a59f12aea6599be80c3954ceb3864c479547d1f2efe
MD5 dcbbbb34f50a87c903c9b85a15cc0c11
BLAKE2b-256 917279b09b02b284135e9eab4da814a6cc0a23ffb96c1fb7b69fed2878baed7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6a60d860b8384d52aba8c2aff901c14b66a7f00184e8e8eebb306b6d9c5bbd00
MD5 cafa60ed52e7c6d86980d76d0bf6989d
BLAKE2b-256 9270c07f4e54b1677ac0cfb88a19fedb5b3e65cca49fd55425fc6603b24bbf0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b809e089d6e1ca113066efb216707f323bfc4a8899e2378532fe4c994f5cd0d0
MD5 fac666ed7b0e993e39a0619d8b9bf84a
BLAKE2b-256 0e24829896744cac0a9fa5102db7b6e09d11d81daade67a7b92901a6f53531a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.17-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9d278db24055783e4fa501c67683419e623f9f36235d385cb920c7884dc8cb03
MD5 0f45237306dbcc020a5a528cd4fa2233
BLAKE2b-256 04bea72d17e405613eb4bdfef468e57043974469bd6774084f8817fffea73d2e

See more details on using hashes here.

Provenance

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