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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.12-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.12-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.12-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.12-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c7f9e0f2b4fa89cc097d4d6b59f026977a582c643b8819a7abf380c9e18f2ca5
MD5 70b5c1b03aea0152c633f92b3ca07216
BLAKE2b-256 d6ac96f3524491436600e12bed539268d474f63724c03db5efa3c3c43809dc43

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2e846ed43ddae22089e5ab186bf756e4a91e76f9146b0b0e26c0e2b6cbe4ac4f
MD5 59e8c761c1ed7e4a0444e2fb3afa7fa8
BLAKE2b-256 c89bbeecc19febee01ffb3aba887a9221f96ccde584f7955f74ba4800ea60944

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 929756aeb73377a23ece0e79d00eb20ce68481e6379b63e120e4fa7ec7c37eb7
MD5 be1163000c38767491dd4d4411ee628e
BLAKE2b-256 1afb9c31057fe4270adaa3e04264c82c82af6d24ed8099812b7a4b46a63a3ecf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b376f944fe62f5afac095386cc7d7b4dce6639117e052cfbe8b1a3bab5aa60a9
MD5 2574f25d38cfe6edb388a3a120c9879c
BLAKE2b-256 6733c0019ada211930b21dc481676d45d3b2bcb340d6c8024b11612cbf8c00e5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b9fc5abf0c069a3b55f257a4d90c0de489a29bbbc92c15793ee8b65b9b06fd83
MD5 cfb43deb17c099b5e7879a0930d77f19
BLAKE2b-256 2019296bb02f8bcc71bf06899b1fca049c02179bda9c2432cf5dbb7d79e4e42a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a39d438875d14396d2ad6f09301665add4c36ec3bc95efba31ff473fc0d48481
MD5 017a5da33d19607e4d9a1d9060e31cf0
BLAKE2b-256 ec1a4241013de0d4364e22444acf2319cc28772beec5710cd6a54bcc85d12ce0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 51e1c3204c98d0a345e9c3ecba8a761f6bab167c08186c8a6bbc742116c7cce3
MD5 fb08e925653dec4c17225c271c13616a
BLAKE2b-256 9d0203ddcbe7176c4e3cb48fd2a9f0fcf517ce77ea68d0fe90e8a1e7d1038cf0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 84ccf3cb3ad023100c932288fdb9f1ed80c9457b3fb5c9fd9a614558933938e3
MD5 3371e02dae1215de684e3c9a1613f25a
BLAKE2b-256 0232c753bfd8060a6c7c27befccc4bfb373df9ae0b7446591430731bb09b1022

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dbeb18af4faca17860be9a73bb0532755b8d5d145f2ad7135a655adff5d17d92
MD5 c9c6bf43d7939060ef542d6b6fd3809a
BLAKE2b-256 067b20de356c5f023bf48a455e4eaf740276ca89103e371ffeab55ad2cf83130

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fa383bb988993fa113042e6312c3b18a7098a4be78d1c68cd3897f86219318cd
MD5 6b16abb384f4113b4a15e365c3d17a15
BLAKE2b-256 ae6338076f2bccebe73afa68b4ba13ad3a09826b0698976547af31e91acd2881

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 57534bac3964cfe2d0d78f9defb190d8ddbe797097a988cbf7f2a5ab39043839
MD5 edd7300e5ca5aaf91f4be26458283c83
BLAKE2b-256 ab9e4a9bac4ab2901791ab527123ef636ffb563da524141b721859dd4a2ede7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.12-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 aa2ef184acda244747821ce005006e710efea5f00156d5b9dac229128c161194
MD5 525f25574ad9dae46f5db9f59a1874ca
BLAKE2b-256 1ea2ead0518d76d6d4d2ea39292daf68b20eaed547d9bbd51fa7141f0eafe9e3

See more details on using hashes here.

Provenance

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