Skip to main content

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.

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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.113-cp313-cp313-manylinux_2_31_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.113-cp313-cp313-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_inference_binary-0.6.113-cp312-cp312-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.113-cp312-cp312-manylinux_2_31_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.113-cp312-cp312-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_inference_binary-0.6.113-cp311-cp311-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.113-cp311-cp311-manylinux_2_31_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.113-cp311-cp311-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8a87e5fe8cd953bcba3d1215a6a600b866869ebda11ecff31f3933ff9f7170ef
MD5 5f3bf7275f1ee8a36e0f4a5ad9f4867c
BLAKE2b-256 adb576bdaeb50637270cf777101704aac0deee3f60510a796fbe274fc13edce2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1d1cba46aed9353d3906442919f1de1f331b3d11e428be220c64cb605b79c69f
MD5 394a7c7ad892200fc54e5f6c02f94e43
BLAKE2b-256 ad54f1d23ea400213546d48316a792e67890c01ee16a5204e4e62937c39769a9

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.6.113-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 77a1fb0a2e7425c56d31550196aa0dae4c2ea06a2babe76693a03d2ff519f1f3
MD5 837597f7d7eb579c4a0045b1b142249b
BLAKE2b-256 4376ea2c5ad17888215136844dc33b9dc8b456514c1181b11e0b4919d9d25705

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b001b43a1fe8104e71a4809bc77796412cf7002ac0417ba5673ced6877c2326d
MD5 da352354251794a971144e328ae818da
BLAKE2b-256 389126560132fd8661391518de28cf35c30c89af14088150a857bc107d1dd07c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c9f85135d430dd8d50066c04b540049317d822f681f0a32d93996ced7520f233
MD5 d3c03c6217bf97254cfd410332e5af12
BLAKE2b-256 efbd41770b873e7198cd97d436896b70ab25d928d2c012a13c40fec30489f59b

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.6.113-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ddc440b2fc8656c937006cb5756ff9364b73c402eecbb7212f15cf523fbdf3ef
MD5 22d2cc3afb307e4552d3f058c298d1d1
BLAKE2b-256 399665d240d5d7b2592b9a64d4b53175b956ea50bafb2d50de8004b4db837fdc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4bd69862321baa00f4b6a90aa85365c8fea0c553759bebf3799e123861b3edc6
MD5 abb13d953d84f5495ebb923e0f8c0a7a
BLAKE2b-256 38218bf2adf7f7420f61894afe8610a805c2377a480051cdfa56a6f5f7e24045

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c51e0408d6bcb7c9a0c25917d3884547b57e6efd04c8b28b4bbf9784ec9e7683
MD5 8d0a015f0c4d0aabc7b9f20e8432737d
BLAKE2b-256 b4dc3552cceafd8c464064d773bbaead0a6f2bb373b2992131cedd64dc7374aa

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.6.113-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f2005803d3299ce364dd7f380021fd87e8d9e8a3575ff372a8359fdc6c1a75ed
MD5 de0b9f540eba68a9ec7e3780f1068022
BLAKE2b-256 31b522689a4a247d07ed249ceabee7f1fa7673aab8a6ba7a4550ac5875510d85

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

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