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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.114-cp311-cp311-manylinux_2_31_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.114-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.114-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.114-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 daed2ff3c4163f20dcd981e91299fa5a54614beb8a1df1a2e7e6a61253f92046
MD5 9dedf0e14f05fe0e8dfce159429e5bc9
BLAKE2b-256 d2d4b94b96b0078b74465e4d3e815d21d3ead0e67d1e6ab9d8a611a1f6b6035f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.114-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5a2b5bcc484735362a7cd1614b8d31974bf84a0b8f24e41f43695db1d7ab61f4
MD5 07122a8fc81c8240da2146c813717e39
BLAKE2b-256 ce67a1ae0279c6a3d4ab5c9d992f15b0e6d97d8b68a044d89598d3e1219785e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.114-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 85c406ec21d2721c99ac30b6a1c95282be5646bcf202a5c09d87dc1fc0c09423
MD5 441d701316ab385e7d255a12cc1a1f46
BLAKE2b-256 4ff1bb670bd99b21963b1f344e9ad9c03be57357f6761107cb0cd4fedf567261

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.114-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 29a3a7ef3c11f00bb214a2486aa39d5ec1bdfdef788fd9d522a9cba5700e2a46
MD5 3683a8c6f1878cbc4822e87b05d4d4d3
BLAKE2b-256 d3c735aed74efe4ea65f7db0c13048703ea4cb592a2d2eac7b2c5671f2fea557

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.114-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 754871178553c785a3b02beb81b90a7416b7430c1aa40a4299c2d1eeb132585f
MD5 8cb6fad88ebe6ef6d7b17fb2a2a3d410
BLAKE2b-256 2d98dba475bae72862bd5dd9487ebee9527af5de409a9ed8759aac8dbd358a80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.114-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 39cd58dc5c13d72309a2558dff52a2b9c6267cb9cf90196829ab48b3d872fe6e
MD5 b4699eff6cb62163eb8054c956570a03
BLAKE2b-256 33b4bdce203e42599d72709d33ac912018c04be11fcdd40476b8353f6f2f0252

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.114-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4edf0f5de406b8693e72cc7b4ff8a4d6bd2e3018374ea68670dcc487fb634f97
MD5 c457dc971fe6774a904be32947d789a8
BLAKE2b-256 a6928803f8c8feb477f02be1e71eb926082d92e5952fe57ae89a0967a94a0d32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.114-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fa9b68edb582f2164b66b93f19df729b0814710218c2906ddfb4ce5f64a6bd6f
MD5 7ac071aef0dfed9fea329d0e4c0b04af
BLAKE2b-256 e071d948e2193ba007bf02233b7446e0fce548b6e43494a935c5a5aa38129cda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.114-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3464b20ed5a2d6f3efe25408b94c1e9dfbe0c6a7322e8cd868432d9a04e7cb4d
MD5 c2c03cfa3fe2df28c698e845cf6512f0
BLAKE2b-256 7d6758622d6b0b40478491622a36fbcc779e8f34c8faf9f6e001a78f67afc866

See more details on using hashes here.

Provenance

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