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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.115-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.115-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.115-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.115-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4b735765e7e7c7516b8dc39cd4e30f5fb72ff875bac30feabe883ad6560cd34f
MD5 89aff40884aff879b873e84d9a693451
BLAKE2b-256 b4bcff8123ea9e678efe4103f6095cfe666e39a393be644da495b906b67cc3dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.115-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 641489ae2a39aab1f2abfa50a607fb01166c9850307528c0fc306b97a633a4a0
MD5 a4e112535a78ce003bf8ea880cf1980d
BLAKE2b-256 8a7c46e29d520fe18adf728324c905a5706c5c5a896cc47d757364916b7d3f4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.115-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 84198b1435e25c1a23a9496e98f3b9617a63dd5e0a56f5d717151a94b3d338e1
MD5 f5bc3879185bebcf952d22f44ba02eff
BLAKE2b-256 b5fec232228ef781a77bf1c62934d981884e15e9b99966f16df27ddec850d4df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.115-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b028b8af566fbc86689825bc71f2a28a6518818205ec6345a7fabe784d545b49
MD5 b91bca71324d265f11a9588796afe1ff
BLAKE2b-256 dc842c8bb496b7795a24d004c9577fb9d26a473a28511e844cdf897b74e36703

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.115-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a3b7b7329d88189390e9d0ffeeee730503e87c63f5962527633d0020e30ea7f1
MD5 3789b23e98f57897fb7c1b3df9bc6aab
BLAKE2b-256 e884a82e95cff1528bff01503dcdccf371197b7c81ee2e49c3150ae6829473f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.115-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6948feb464fb28e84e2841b4777cc51791f9d53e12a306bdc3f5336776ac718c
MD5 50b5d4e092a996f3665bf5472aa2b494
BLAKE2b-256 7a1366688c581f89a61263ee4add051d36fa60cb87c32e8103a026b92526b2f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.115-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 477a3d6bb656a70564f0609af8a9cc7949992d15d8ef66934474273941b9cc6a
MD5 78cd56c3241d12e3fb7a664ca9093e43
BLAKE2b-256 9038a2a9f393a8cf678f273ba8ca02b838c9573a7a9a12f558df8802fdab959c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.115-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8ba6756f61acde3a2b8196e3da919b191df6b6fe11fa8091729ad688486ff894
MD5 5c3bba7ae788016666f911fb50c18af8
BLAKE2b-256 e2685d26b0a4aca90747a0dc72bd5bd3fbe4fa8d6d6229028d23e9c248f451e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.115-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 22c650156fbb2829bd8d07c1a3d6b3d7717bda36071aef78952e347ab6b7d607
MD5 a3ea3d547902ebe4f1b1e7b6180424a8
BLAKE2b-256 38fb02188ea2e9f1b2fc1b133950744c6412e97a230f0e18f62647a9e98b52a6

See more details on using hashes here.

Provenance

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