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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.121-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.121-cp312-cp312-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.121-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.121-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.121-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.121-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 865b241b6030facce7a76ee8a3d448b4f88888c172b31f6b5a02bb68f3e7f924
MD5 254ac7351f408fddc65f8fd560891199
BLAKE2b-256 088d5d2c643720f35d38ac0a0c83eda36f6b9e2ff73c89f084ce2918cbc38428

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.121-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 480ee74e202d07e506a7701db72385a24ae62546172b69cde97152eb58724918
MD5 f2a7087435fd4ee7c744ee145db35ed9
BLAKE2b-256 96e38378a2beb6a86884b7283350d2222ce4cf3d6c41d2e70b9d4511db6ed527

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.121-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 921337075029cc56c1156ac7c98802948395f3fd9a280bb8ba8387f974e30c58
MD5 1c7db3b90be779a77ea08251dc9c9bec
BLAKE2b-256 00b1b61b9f9f04e23536c33b44fccaa6c5b766026a40e54367585c1499cb776a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.121-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7818b134089195510c26a797cb807ed3ba03c62aafb8cc40e9f05bb99a4f2c24
MD5 b8af99d7d6b659c84b2a46662e9a1c52
BLAKE2b-256 66ed66ba16fb0e48079e88768490c9673c33fa4314e75ecf26e6257cee0eb4e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.121-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8afe7eff12337d9e9fee955d88ba8ce705f97e2cbb71fc05d3e15552bee39230
MD5 eeffbe1d78aafe93100da329f9896b71
BLAKE2b-256 8a294755e47673cf0bcce39b079645976f56ba92acf204f7d2ab4ce414184a3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.121-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a7cd16ab616605652dd8e5aa15ad710d22cbb2c68a9f176355ad39703da60830
MD5 064cb73a7f5c106edbebb4a074eeb3a5
BLAKE2b-256 d131016c7d964d73038f8675155d09af97f96fc52b613271f6a312e231412316

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.121-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 709b21bb7d3c766035eda715092aab283bd3d216be08311d6ffa9320ea18dedf
MD5 f11483a5d4f7f622de8a7c8fab254ee8
BLAKE2b-256 bf7ecd8e02dfc59bf4deec2d7ec9313ee1906bad653bd8bbc1929c4f6ea58ac9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.121-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d5a39392688ac29e48ebfe593df98fee2649bed8475562ccc979a36724e0cd96
MD5 1eb11f3b875a6caf306dd3db2ad9a717
BLAKE2b-256 1d4e9a77f51da06fdc21c9456b7e5d9afd21cee9130aa67fb29731aec47c8b3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.121-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b9e73e3f822450ab92a9b9b7e7b96622fb802ff324e21bc062cef99368de90d2
MD5 bccfb007adc3c0dcfa03719146f422b1
BLAKE2b-256 f33d4800a42d4a95ef03296c5863b5230559885452ee85d87e1b1a43ff831cb2

See more details on using hashes here.

Provenance

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