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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.118-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.118-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.118-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.118-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a4820f821024e8afedb041ad67a27c38ba84ae9647be1239c2f1070d423bdf45
MD5 62f5d0daffc48536c95455d2eefa9223
BLAKE2b-256 3a284242198e028d16e869b6c6c482e4106a5a0fd33b998464f5cb3310885b18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.118-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d22d7b023d491d2e9c75b93e495a11ce090e0ac939e5db64b037a81e676b9fa9
MD5 d9ed4d43b98082adadabdd073dddae44
BLAKE2b-256 b8e58feebdea5b25324591274960a2e2f2cef5cc84ab81f9c052536aad552312

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.118-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 12b7e4b04c59a8e37d9e94f60baf278fa2cb9361827646535a884341dbcc12eb
MD5 abe3c153617a3e5cc65744528d5ba40c
BLAKE2b-256 315a10f325476bc4283dab281a4ebb260d6fc4949509f18e7dfa1bbc9ebb177e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.118-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 03279556333ac0d1b9e8d668b7a6e604ca00360b01e4f3fec0ded74503c4154a
MD5 1af8967fa70708976fe139199b255e45
BLAKE2b-256 074723d913966488db77ce7a5c2a48bef1c49f45b907dee58ab89ba3f7f4b078

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.118-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5f7fbeb70a640c41d69f8d87354aa33fab3b0e72843f0ffc86d3e1dc8e9ad849
MD5 951f0f09a73c93bcc17f2b2076a887fa
BLAKE2b-256 7f97ae2177cf7f76d7dfe780dcae8df6f6c6c1cb5bf3b25040a36e53a5be43d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.118-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3894dd4ec3ba5fd0beadd1fab1e4698c491c38c15220374cdd98f5c8c565b9a3
MD5 d2f5103ce8560a2b8c59d8d921fe4b44
BLAKE2b-256 50f8825a86f03038e7b44ed2d84fd3a172d103ef6e02373a72bbea268fa81743

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.118-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2b93c303abc899decd423351b428d7f1abfbf7486183e25183eccb22e2bcde4d
MD5 716d008fa8cf944018525a4216193c26
BLAKE2b-256 94c5c91a13462e30ba2b0dc9d989e546a88524b15824bfd2c78e9e5741b8efe5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.118-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8eae46bea63d6ba09b68257b104f010537a5021bddfbb85f927f743d52da8215
MD5 be2063f5d831c730aa2a5c7b3269a431
BLAKE2b-256 cf2943ab7065c7557e1f9deea586943e08e23a500d1c66a5ee7f79ce3649e36d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.118-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8bad653113335c92d281c3957c7d949ab9cb6823f42238e8f0d506f9cfeaa177
MD5 d49d0187ed5067bd8e372c3641e112d0
BLAKE2b-256 4868d20f4c4c08ba3163a00719ac25d26a64bbdd8fbc52b088294b51a6707728

See more details on using hashes here.

Provenance

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