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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.106-cp313-cp313-manylinux_2_31_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.106-cp313-cp313-macosx_13_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_inference_binary-0.6.106-cp312-cp312-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.106-cp312-cp312-manylinux_2_31_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.106-cp312-cp312-macosx_13_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_inference_binary-0.6.106-cp311-cp311-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.106-cp311-cp311-manylinux_2_31_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.106-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.106-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.106-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ba35f64d17e1d9fc751fb9b1b418d989c91667f24a017134b4bb97a792eed294
MD5 4cee8383d4b53a55302e4dcfa60d9b8c
BLAKE2b-256 4c8af83e0b310e5650947da4ed1099905847d92e587b25e070605646dad7e0b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.106-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7ab3d730131965d8c0f21c42615972a9632cc2ecccf24694c82142fb11cb764c
MD5 596e9832b7e045abf7448b672d28dbd1
BLAKE2b-256 46372f5131b4e589879dbc63b8fa53605db0b57c09fd8275469df67da1115519

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.106-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 70795b8a6f2a7f9edea5161d2a93d1050bac39426241ef17bbe2c920006c724f
MD5 cca73141571b3afb9a89319a3995149d
BLAKE2b-256 e6ab9dcb75e38f937a64c98f2dadaa7d119b829712d12413886a72b38b1ae433

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.106-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e043e5d376f0ae50af1fb1df3084a9a40daae1d69c5a1d4d2b06a151fda40f84
MD5 4a3f628f322338d59653665c5d9ad87f
BLAKE2b-256 ba123c8b304b0ec780233f15d645052c89043498f10ab3b95f3af41afea97b2a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.106-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3d61872b2c52acb7bc8aa5225b8a7d846caddb0fc018a90ac9a65578ac023933
MD5 83e9eb4c2e44b4d5f649107834faadfb
BLAKE2b-256 5bdc198e17ce7fbe44f49ddcd0999f584d0c9bb5a941a0626485708b875bc4e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.106-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 9f43c37d2e1054f3fe0f70732e2440cb1ee1a178410921b151eb18ebc9d7db8f
MD5 85fdc47ff47da34720b932bc8eefb8c4
BLAKE2b-256 5ea229ba7a9f4b45437a699849f86204a69a93998ef006332ee86137b0db0a72

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.106-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bd072224b8c1983b291bebf61f7b593f815440703df3fcf4368c01b5339b925b
MD5 48b773398dc315d439acc0575a5515ad
BLAKE2b-256 4467a1c4ea67e9fa36a78edf2df605466514e48ae598a563a5bed1010147ade1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.106-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1f90327cabc4b36f173a9d612eb0a64862e49230f87b4023cc03a7063e7c50da
MD5 2feb993093cac32949a913da9e77c65e
BLAKE2b-256 b5ac4e7e390e01ee4d8667c21f36653ac95d4e6a275d4036d2e7aca39cadc3e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.106-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b9323072daa7e60a7357c99ee1b266736a327283fa9a5f7d8ba3fc405cb0311f
MD5 437450c0ef681f5f220c33f4a42dfe35
BLAKE2b-256 18c047afbc34cc719cfceb620512fde322ebc858a58946d5de76e8646544e1fa

See more details on using hashes here.

Provenance

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