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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.123-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.123-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.123-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.123-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 78461bf72dae9f16fb2d2e6d13df1e97cc99f92e76bcbac33b404d99bc52ebe7
MD5 fbbe8cd5ea90011024d04e49efb1968e
BLAKE2b-256 effadc0206c2b419cf40ad17a991076853639dd3fe7210d7ac6ce5cc6b543718

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.123-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3c76987eb43c43d2295e2df264e10e4292fc5fae89ca8bacb7c3c75a773cadd6
MD5 5503de92952613fa66756b3046f74008
BLAKE2b-256 96f126498dd383e87ed63134c128d1a383a68994b866713a032b6589f435df5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.123-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a66658589ceb4866366dc0ea179de42f8ffcb5a9fc2d992e91d6ceedfa9d5ddd
MD5 45155c6cdc3a92ecd4aa6bb9f681db8e
BLAKE2b-256 b17166b1e13c73b39ee0608759a8dabdfa7e9bbfb73bcdc7adfaf22ecd861254

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.123-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fd8149bad6f90067b10b39f24500ad8bfe11af75fee17dff4ed2a41c0104107c
MD5 96a58c9be0d7c05940bdd550c35f280d
BLAKE2b-256 7a2632be0b49ab14a90d5a1ddd193deb56c8309c2289aaed41378cda612664a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.123-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7adbeb0cac21ecae269e43f6e87477927cca60085c07fbf9a15f012e9d695ac1
MD5 9b890cb150b720e04ad113a112cb17b6
BLAKE2b-256 dfde0a4a11353411881d2f7db7d970d2991b905c4c87151e2d8778e44c24adfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.123-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 664988824e05c197b1b87fd69d8f0e06b2a1ce1650046b8c9a5e36cc3ea7a323
MD5 d93acb904d73626149a350935c0e2f0e
BLAKE2b-256 1553b90b5f21f33760c2b264730ac323a11b9efeeac278d8678b6a72889baef0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.123-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2480f316ae9d7dbdc00baaa4d61a5b6c6aa98e4b704288f47c70c5bbe1747b51
MD5 77543b8ca6a58162060fcee71e7a69e2
BLAKE2b-256 c1e75b527cd4595ac5343b9a4ee7a290d34ee07a8a9f8847e7967330a2ec6db0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.123-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6fe1b168db3c236fe107d54ea5bc8352c8515867e2f89e0a375f6db05776180e
MD5 09ba670d9a4de2ba606cab8ccaa43889
BLAKE2b-256 0fc610f9ab2e0b48f083de54cabed284bdc15155c1a74db858f41c0d5b46b2cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.123-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 43091489dd16518f6564f679677c9dce6a09a18a6aad7d3acaea8ee020de8dbc
MD5 f7d70d0892aa7998bc363da50bbb70f1
BLAKE2b-256 13fa29bcc7bcca09467c809847d9b63c09edb0c6dde93d40c39b0e9d75d97c86

See more details on using hashes here.

Provenance

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