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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.122-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.122-cp313-cp313-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.122-cp312-cp312-manylinux_2_31_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.122-cp312-cp312-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_inference_binary-0.6.122-cp311-cp311-win_amd64.whl (2.9 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.122-cp311-cp311-manylinux_2_31_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.122-cp311-cp311-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.122-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2b2e16e76d492fab050c326caea32cd7864c8f9012a52e85a5b8fac85ab66234
MD5 8ca6334e35b323c071e4918423f3da06
BLAKE2b-256 f81d42ea277fd1f7c3c09e57a0adbc678329ae0531a49876a79d7e349195e015

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.122-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fde7ec6d2ca99619c136476e24dd963406e7e7c8b6a46ae21b65c05aa29dc150
MD5 08686a7941d8a1c3311828e70c04244f
BLAKE2b-256 594a906593a56766d07c58cc40d8ebbf03c6833ad7598bfa9d14a3da7a39212e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.122-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 399e4dd2f73341e3dbeff0e3a47d1c94463b6cdc6a14b1fd74911f1710b37d87
MD5 d615eb1c8c1259b49c021f9345dce614
BLAKE2b-256 6da7b3541383ddb3d0028f80da627f7f01cab01f79b45fc7aa4462584c2fe04f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.122-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9670f082897a6d424a2f75f852abc12e6e6d16b6066e2bdb1f6cada1e919994f
MD5 5bb7a76eac00cbf1f77d0acf8c9aca46
BLAKE2b-256 4aa26094385f6fcad43bd46bb86cee206b37b2a3f3a001a30f3780956a6450f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.122-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ac53cd76e71702aa7abe836f3fea4867c6de150497378149bdbd6e06445bc5fb
MD5 8d0161453e8c9187e895d601a4ecdd12
BLAKE2b-256 df5cbffcea503d9e036c207385a4489088bd103cf8d75ff6c84f038143f2d750

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.122-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 dba03c47471b73e8d6456b38383740daf2dd9a23793b5efd29ad509491ff54d7
MD5 a01220952620f35efb97f3d8c33d917e
BLAKE2b-256 99a48613537d122da3afd44fc402d3a81402bc9ca2997dc16fb75d64a60d0e75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.122-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 539e3ef5677154acf74816570778c0bd3b033eecee4dc35afe55495b8e72cc62
MD5 cdae996c42f298797ce232f1eaafc3a1
BLAKE2b-256 451ce288425ace72d18fe6dc2a0a1d158692fa4a349a0b8ff609254a954310a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.122-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 485119ccedac2b5f8b6e03e9718fbd1402d6eb8ae3b69d4351ce32cdab66100f
MD5 2972b0b6892461b0ee3f8abae2ba9872
BLAKE2b-256 447fd8b713cf9bce544ec8b2e0246b896665eb3b7f637171980f38479fb6b710

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.122-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9087dd0457e440b40c0df30aa6735dbdd22cf22f59199d9cd67afd6b879a6f95
MD5 e96399a20bb11567a5061aea03b3e5ce
BLAKE2b-256 64f98185fb9435c5baf7c5a17e89188dd735ff76419a0f1dca7917d7a2b72a1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.6.122-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 Sentry Error logging StatusPage Status page