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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.120-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.120-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.120-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.120-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a084c0761573d526bc9c0427d4f1b11d1edfda348398a17e967a7e54fa2c1aee
MD5 a096e61b0bee30828217836909f6128d
BLAKE2b-256 9dd99fc6eac21847946b835c97105a5ef72ce393291aa6dbb3ca3974be5e8b62

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.120-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2ea99592627195f3dd1e6fd766ba9641c8b734cffdd2e9b66b5552d29a45a4fe
MD5 f778b39cc17fafe8edc9ad6d5906b403
BLAKE2b-256 75845528acae9e405345b631dcc0d3ff77c2be7c516f7dfd6a2f774ef0850154

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.120-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6f2ec3177dee45100444f8691ebe8e81d341691d2e9cee379543ff9d3ba22b17
MD5 2f810f7a8ce41088bd57d6c79e492328
BLAKE2b-256 0691100d1a9b5f63521cb57c9900c0f7c5dba0e079595d3315381272c67364d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.120-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 918a96d9c1526d70025cf7198a8e30fc566a6ca501696f4c18d787b22ec78167
MD5 76bf7e1df71a4fbe57d10d780299331e
BLAKE2b-256 7b89754caad3238c0869c92a80f43bd0996f22ee72f60fc9118bc79a7099502d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.120-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1942b9334f47a9022241db5450b20064f9bafa38eb7705c73ca00f6752956a26
MD5 becab5817bb5f50f6f957432b400a475
BLAKE2b-256 03f63e2f0f4d1fb14c32620f330b4591a004d54261b06fe0c28e0aa1d8930cd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.120-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 61453bba3786391d3f63917b370ce89b13b8eaec5aa5ff74e61d8e7f46c8a50f
MD5 6f317300cae2b64c7fef3e1c102f0061
BLAKE2b-256 0188b8b2b92c825d98f8e2676b627012d8271bf37e349b8f73e76da04c9e5998

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.120-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9ba5ab1b43e8bf2416fe2c64850cf9e85e9e7f4c01f187101e9fabbc3e48d86f
MD5 68a3e402f3da53137b1318dee5799767
BLAKE2b-256 4c0cc5d323159cf62af1cd1b537234bc761e3cc1616313ba873e2314badc4596

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.120-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 08da88a81c4c0047fa5080d7ae86699c11a18997609433a321c85b7ac29c8ebf
MD5 1ee722bd380cc71b8b44f375c3e2083e
BLAKE2b-256 0343d9dbff47f2f9c29c547fc6cdc17fca15e54ffa5b2c580896b90b802ecd86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.120-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6b3139f070b8242ad6e821e1a15589c66ffdbe83e361760de83303f4944a18d6
MD5 3177685ee7b942d01293b6dff2125ca0
BLAKE2b-256 e8faa08f58e3628434789b1651d0e15e29dfac921f3a1a0da17df1e08962d0ed

See more details on using hashes here.

Provenance

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