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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.111-cp313-cp313-manylinux_2_31_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_inference_binary-0.6.111-cp312-cp312-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.111-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.111-cp312-cp312-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.111-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.111-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.111-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.111-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 59c37a7e34879c89587d8307276a8ec395cb88552fe4edd844c0a3efa26c09eb
MD5 5263717e1c85967ffb8ad504ff04057e
BLAKE2b-256 af23b4d05445798c505b31f580c66a1e69736d41b4d2d9cde0e6d81075a3e868

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.111-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 aa6f5a0ffe6274fbf52c806b9162f0e24a37fb4512a3d36145e972e3d5ab24b1
MD5 b7400f222eef12b29aeb4fd419276d7b
BLAKE2b-256 393f2f840e34bcfa15bdd15161042f215b11cb06021c961783208c5b5f76b586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.111-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 71e106ab34576549d659d86845906c15ca8e0fc18ad708595e034a387cab823f
MD5 a3dbafa364a5a15590840472b11aa19c
BLAKE2b-256 3319ee790affda1c171278df48b6a9e651046853de17542881aaa57467b1ec06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.111-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7f6a7acce92ace04d8862f26ace2cc7694a5611ff38c4f89a812190131f4d45c
MD5 a1a07b5161d3ea6f0fdd9195e720e9e6
BLAKE2b-256 08adb83e575d4015575c9f310487e599426763fae38fefc08338ad448e07cfab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.111-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a7aaf22ed2b812e717e20036283705f40b6983025138410c72b6c19d273a2a88
MD5 b90c30ac55e576d6e7be63f9acc779bf
BLAKE2b-256 b2ae90cc6d67771281315cc50fc9bb8b871658d45e536bed28fdcb2cdc72d619

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.111-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a5d15adb5a53cacbf028a793eb400c6476820b603cbad46acef241e41c8ab54e
MD5 8ee7a5060d6e6de67225ab48b704c983
BLAKE2b-256 c8244de45b0963fb069d4ac1ccb6760f4d8f891dd5575404564682116a19cd3f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.111-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 eb02a3efd70e8094446a8de6eaeb15e7aaa65caeca2762becd8d92afd0460c2e
MD5 d0e79b385bad463fa72340b87fc79a07
BLAKE2b-256 dfd14cf5741b5b7ff5092e959efb65db4e56143ed03593a550719afc64259437

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.111-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5da031805940f5e2717f8a5ea353da7fa2cdf0f6bf6198d53c10d0fc0e32bcb7
MD5 d78827b9cafa986cb2093bd9d813257b
BLAKE2b-256 9d866110c9d244f6c0fcd8f3e4f1dde2937a7ee9b225b11b9eeab35e23c5e88b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.111-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b5dac97189542aad7cdff45e1c6b1271cd60e0cd10baef56b9a0aa4fc5b183e6
MD5 b71ea2516f327f282e604dfee1b436fc
BLAKE2b-256 c4d2f8a899e95b36a579d3e8223af990049f5faaa44567bc7275ce3de73d36f9

See more details on using hashes here.

Provenance

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