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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.110-cp313-cp313-manylinux_2_31_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.110-cp313-cp313-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_inference_binary-0.6.110-cp312-cp312-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.110-cp312-cp312-manylinux_2_31_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.110-cp312-cp312-macosx_13_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_inference_binary-0.6.110-cp311-cp311-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.110-cp311-cp311-manylinux_2_31_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.110-cp311-cp311-macosx_13_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.110-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 da1fa6cdb647a354aa2f8d3adcf778fe9083d51dd8c27a7b851d709c6a6fa4cb
MD5 f113ee4228361150026c270e8f561848
BLAKE2b-256 f9b383c763e7ecc0cc2372b79391a086562633ce3a77911d1dd2275fe127c6f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.110-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4bafc7c34c5c27de99910a469df47e82656b4f6e49727b0b18a6e595c8a65822
MD5 e409b088775426e6fd0caa535077fe41
BLAKE2b-256 10c8b63f5af578997143c158a175be10d6fdeff1477872ce89101a03475a1435

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.110-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 999ddb8682e3c298f6106cf78b67e242ea1c089981e0063071b68cd0aacb1309
MD5 578463133bb593e6925190662257c413
BLAKE2b-256 69169fdc2fd27e2f90060d709e831e61426fa91c227f12f0569bcfe1e91587c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.110-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e42de1e355156699d03eeaff5e7e632b61712513ecf5ab10a174468ff81fe8bd
MD5 b7a928a28071d1550c0e8e3b9cb5d0d1
BLAKE2b-256 63f87aecffa73375dfd84cb3c13e895f9c6f697be274a861b754ceeaa630e49e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.110-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 809b2c606a92b12b3271f643addb03b00a3a117c9364f0557b8ecf73c43e6bca
MD5 b6e89aa8d6dda293b9f1c66430b13362
BLAKE2b-256 1a5792e23313ab74e724db7960b5462bb4ecf1faa06ed5f0a651bb4102c6b1f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.110-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 67e25cc2a760ecafa58f7f2571cacb6da6fd2b77947f1df5556f142660c64865
MD5 ca52fcd03a09c8464afce2c7fed9c561
BLAKE2b-256 ad098d9c7425ee0df1ce46a0f46bb7b1939f4c210791aef1ae2ed0d9b8306369

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.110-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 103bb8723cd6d3ae51f070e2bf469ef1509ba551d149993e074932064d7b14c0
MD5 2200624c40a3d5af20481651fa8be252
BLAKE2b-256 8b9f45430df358ed1d05ffa753ab9bcff111461195f518717b458000eacbb9b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.110-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 53b501be3f4ab4af9cf7add4d7249a826294721f95585bd12dffade6381541a4
MD5 4013560fda5d09bfb65a5b253b670878
BLAKE2b-256 d8ff2413f1c11fabbe9a5453535991ac5cfab1e81c73b627cd671e12a78f0282

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.110-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 c19d027298cc81c3e277740a4266cfdf98dd42c6cfffbd95983739e1c553123b
MD5 71c5280b0e1e74baccb839cb634bc4b2
BLAKE2b-256 0d77c5156ac88e9d9c0ea82a4edd24a63ce2868e614c032559be87554d871bb2

See more details on using hashes here.

Provenance

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