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

Mandatory:

  1. Python 3.11+ — Install here
  2. pip — Install here
  3. uv — Install here

Extras (required only for Artifact Registry installations):

  1. gcloud CLI (for authentication) — Install here, then log in using:
    gcloud auth login
    

Option 1: Install from Artifact Registry

This option requires authentication via the gcloud CLI.

uv pip install \
  --extra-index-url "https://oauth2accesstoken:$(gcloud auth print-access-token)@glsdk.gdplabs.id/gen-ai-internal/simple/" \
  gllm-inference

Option 2: Install from PyPI

This option requires no authentication. However, it installs the binary wheel version of the package, which is fully usable but does not include source code.

uv pip install gllm-inference-binary

Local Development Setup

Prerequisites

  1. Python 3.11+ — Install here

  2. pip — Install here

  3. uv — Install here

  4. gcloud CLI — Install here, then log in using:

    gcloud auth login
    
  5. Git — Install here

  6. Access to the GDP Labs SDK GitHub repository


1. Clone Repository

git clone git@github.com:GDP-ADMIN/gl-sdk.git
cd gl-sdk/libs/gllm-inference

2. Setup Authentication

Set the following environment variables to authenticate with internal package indexes:

export UV_INDEX_GEN_AI_INTERNAL_USERNAME=oauth2accesstoken
export UV_INDEX_GEN_AI_INTERNAL_PASSWORD="$(gcloud auth print-access-token)"
export UV_INDEX_GEN_AI_USERNAME=oauth2accesstoken
export UV_INDEX_GEN_AI_PASSWORD="$(gcloud auth print-access-token)"

3. Quick Setup

Run:

make setup

4. Activate Virtual Environment

source .venv/bin/activate

Local Development Utilities

The following Makefile commands are available for quick operations:

Install uv

make install-uv

Install Pre-Commit

make install-pre-commit

Install Dependencies

make install

Update Dependencies

make update

Run Tests

make test

Contributing

Please refer to the Python Style Guide for information about code style, documentation standards, and SCA requirements.

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.125.post1-cp313-cp313-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.125.post1-cp313-cp313-manylinux_2_31_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.125.post1-cp313-cp313-macosx_13_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_inference_binary-0.5.125.post1-cp312-cp312-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.125.post1-cp312-cp312-manylinux_2_31_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.125.post1-cp312-cp312-macosx_13_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_inference_binary-0.5.125.post1-cp311-cp311-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.125.post1-cp311-cp311-manylinux_2_31_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.125.post1-cp311-cp311-macosx_13_0_arm64.whl (2.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_inference_binary-0.5.125.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.125.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e3dd9cbba4229e25018f0699737d6bf7cbf46d8d22608d9498c5caf6e3019749
MD5 c05ee6fc5989a087e327ffdf6c5ff1cd
BLAKE2b-256 265932567d887cb85143de0c5e464af994d77739f043a73450cc3ab8d3feeb47

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.125.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 aa8a57c2c0c7ef8187a412fdcd736c6e6a6f8c9c5d6e903a3a5e7f23675280d6
MD5 51945e263d8a7aa22a7b03d9b68c2a87
BLAKE2b-256 24c1029c6bb3989e44f1cc1c50e7bc5682a10ae0cd1b6121f19fb9c7e930da34

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.125.post1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.125.post1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6bbc9ec80a42e47c2310f100dfeaddae45f7fb6050cd05f09d0114b3286b76f4
MD5 821cd23343ab863d86e82492b1c51a2f
BLAKE2b-256 661692b6e9ec59bba63fdce56ca7f1662d0dff0bb1ec2afb001c6edc1b7505a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.125.post1-cp313-cp313-macosx_13_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.125.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.125.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5eb06e20060b735bc7dcece688f25cf77d7e080a425df689e842be5bdc451d5b
MD5 994fe4ffa0be229d9065f6b63c8b50b2
BLAKE2b-256 d2d838f6e8837e7838fda5d5b93089e7800d00f044dbf47d75ef4888c953a06b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.125.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 791505df385d7ccd943dff1e46bd86a30437d745522ebfea429536e01d026c20
MD5 6e97fc0d9939c7b73aaa179f2bc0e24e
BLAKE2b-256 682a2fa47f94b04616a254e5a898fcdb8d602c4f2cd6be2b7c7614491d863959

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.125.post1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.125.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c9884e4573a2b7321db7a6ee981cb88bdfd923ac65541560e3fe3db537667c35
MD5 201f5a3e396436c484c791f94b74b336
BLAKE2b-256 4051770c4cc8b8d25a7afbd37ed6ce0df136bad25a24e90ae42f2f087256bf63

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.125.post1-cp312-cp312-macosx_13_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.125.post1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.125.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 613b323e195d05851ee1334aa204ab1d37ae7a4dab03aed4d6754c9678464ad8
MD5 1addb36684ed23ec39dd34d53780603d
BLAKE2b-256 3cb95df738987018034349be99658fffefb3fda50a786661a3f3b71265f1a87c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.125.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 37f9f7f728a8e4f9524ff14bcdb242591c9edf713b3b09fab93bbc9f4f16aff5
MD5 32e18924acf9145eafbdafdedd8ae2fa
BLAKE2b-256 283f8e7a386d859339b2bf9a023371fbcef4c2043f744695128a7a65967dd603

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.125.post1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.125.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d72c62ac0dafc5f6bba9a239a0fbcfc93f38af31d494643beeebf0ad0746df26
MD5 b11b783eb1edde4c1f9363638e88f37e
BLAKE2b-256 21a74cb618ce84253beccdd8dff29b20f62573b52ee96180447600b033fb2a10

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.125.post1-cp311-cp311-macosx_13_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