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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.113.post1-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.113.post1-cp313-cp313-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.113.post1-cp312-cp312-manylinux_2_31_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.113.post1-cp312-cp312-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_inference_binary-0.6.113.post1-cp311-cp311-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.113.post1-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.113.post1-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.113.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 952f0adeddcd692b2a6563d8a1aa0173e92719a2bffa74a0bb4012dbcd7fc6df
MD5 f278b33fe6cc8644a3ff162ea103b0a7
BLAKE2b-256 631b231ab0d6eda20e8b023a6bf8af7b762d2b6f801a4c78c745340b8a7c40b2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 852632d3d658bb259a1504af28022395e0825b052f1b22fa3a9c4af2ba77da0b
MD5 193f279e388a4b5d593bc912619f258c
BLAKE2b-256 921bde995907d9eb294f72e28f3d54205e42c04c79a98135e634ab211fbac6b7

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.6.113.post1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113.post1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 326d20a35192f25a8a187848184166c8504c93ab3d90182857a9684091f7693c
MD5 b88ff0d953462530c6c7e0ddc9fdcc5e
BLAKE2b-256 87af90e61c6b7d92adf9f005fbcf62bf51d210a6d1b1f6588767ec5f6014b3da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6741575a866a5b573a6afee43f5d2c3a5a87fcdd21d9ed8904a3cf805c5f46a9
MD5 05a3a364a1136a5ad48d27e56f594ce5
BLAKE2b-256 a21186fa6e8dcedcf2f60a83228555f28bfef113fabd45ca1e26f5d05cc363f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 013f8eea51dd94d68a7ee3933bb2e07c3e69f32ea5c77501fa1cd925bb281824
MD5 5bfcc6fd50753840b40cb701609c9bb0
BLAKE2b-256 e000c10a0d4d2540a9aca95d611417c98694391b29ab6e8c9c348f8d9663b700

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.6.113.post1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 efc4ccafd706f51aa50489d34e905b89dc1036ba7fe2480eb5fdd517cc29b86e
MD5 a8e1676f8ff9307a8b8891fac42290c2
BLAKE2b-256 a78de32103b3b4bdca16c79fbdb8de50018d2057acdbe3c0f7a2da6a253ca13c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a9365e0ff43f6a4779e37a994bf461b8b374c9c99ebd92daa825481e17f2521b
MD5 972bf7a1ebf9fa4c37083f2523a4f8a9
BLAKE2b-256 6b3dd4eaf07f52a476d1b4f0e2c60b76e02556bbb9fd652b9ddd57f81de8bf96

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 def527fafb0a1095c775f4b4f524c688d3e0ba13f1371d2e375d6e00455b8189
MD5 6ec5b09ccc19b6162fa48ff803f8bae9
BLAKE2b-256 87a2f7f181fb18b8345b01ca57636f80e07748048a5d1273bae33bd9072a2fd9

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.6.113.post1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.113.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 35d659a6444ed14569ef1c333d951e58ae91e612a9354f2d28d2ce6023886477
MD5 abd24d3025aea49c08e07828e111eab6
BLAKE2b-256 c15d41b55fd465e1f9bd55b6871f5b2817aee3639398c9eded2f23fd4a1203d8

See more details on using hashes here.

Provenance

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