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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.116-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.116-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.116-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.116-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 27658229627cf32cdba51aef79d4bde3b091db9560adf4dcfe3b6647d2f35e5a
MD5 1d92cbb878583bcad38056ae09250305
BLAKE2b-256 77a8cb0683f38538b513fa94ee8490099bb7b285e19b5cbe6c6af9e00add3f4d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.116-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2e6d6ef07dfa38ad3022d679cefdd1826effec8eb46f579582567c047ecbc93b
MD5 aeb36584e12f94e1d3a737fdf194dc58
BLAKE2b-256 e32164de8b67914e822678cca716e23075ca760877bc70cced02be16acc62f5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.116-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f822d22b9e53964d50c577aaa213b657f364680462d2614c358c32c62e4d2b81
MD5 c5e4b8972b32712b168ae7c191548898
BLAKE2b-256 69e3ecdb5230e04a727e8dcfc895f4524b13ff5c29fa46756da4387c99f166cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.116-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 38087c516f688d3ff0bd6c768ac0173e9aac06298e4283a21bfd5dba890d4b2c
MD5 b92dfff268ae95c4e31b7e2f9c5487c9
BLAKE2b-256 99096be4904ae6e6902919f99fb49134a15aa5f8a3889c1fc7499126c670023d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.116-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 01c535e8083a4ffa13f1b9ad9ac714ea4f1d7e87000b3d69015f8126fe3e6ef3
MD5 e1492c523afac4dccfbc8a63d34e8692
BLAKE2b-256 082868befa508a3f669854b63d58a253dd18faa450b187e1b0a1068321d8d34d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.116-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 da15305a9bcdaf7cde864a7f966d16a301f53c6addc0b4cfe4daa2a45b45fe6f
MD5 191b72372aedae2efc7accd01a6126ad
BLAKE2b-256 6930caeb70b98a7a9302ad22e774b7188f762910b2dfd36ee978be87131dbd91

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.116-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1881aac558e8f3360ce87a56b6b067aa735d323c7fd28b62061be3240bb5625f
MD5 f049c6ac0ab3805607c36e0670b36b72
BLAKE2b-256 7d0e86d7a0b6f9994606bebff2103bc82124d1df3229bd31bd89bc21ad2873d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.116-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a3845b6d30d54bfc6c157daef52f6e57a6a4954d9f7b5782a0fad72099948dc0
MD5 455cde1da21dda76b87f26fd97f0e52d
BLAKE2b-256 6e011fc6b1f0de3f3ca2e49971a837f00d8281c1dbfdb48a9ad5fe4d97b442ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.116-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 af6e4119cba594320da1cb7670c454210491bce4c7cece13a878f4dd862e1254
MD5 1c6a9580587428e0e18dec721598918d
BLAKE2b-256 e86571c6d162141e3405ecbc98746e10a956f795bdbd2819ff00206c9955c1da

See more details on using hashes here.

Provenance

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