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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.108-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.108-cp313-cp313-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.108-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.108-cp312-cp312-macosx_13_0_arm64.whl (3.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.108-cp311-cp311-manylinux_2_31_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.108-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.108-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.108-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d0f5daa5a8abefe9e973f2bea26cc8af90782d7969103472d335eb5422cb50df
MD5 67a8cd6c486948091215dc592d7a91d3
BLAKE2b-256 9a8c6e482198eadf32efb7c6a7e3c8c6c471635eca514416ebdc0bf1d7123bcf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.108-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 32a32ac911c05a860e86dd5abeef95c52dc6626cc7f9c2c9c775ec0caf6317c4
MD5 13521f0e73149f8bfbd90dbb40da11b4
BLAKE2b-256 7868d12ac8322d2c6d9644868051ec10d757c034e9ac128f70eaffe8be0dd2b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.108-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 880ec875287409ac54657cfc091f167078bc014c81f50f83f89d9de924e50bc8
MD5 e546887c4e158c5e39f6b5a666f13228
BLAKE2b-256 cc26aff7a3c79970f8db18769fd8b97440e7232cc79eaa36c0544fb84be1d129

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.108-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 450b3786b99b5c5d166abf415128811d1be3cd53d90fac7bbd4a9518c5ff8342
MD5 20aa975f84f4f85412c36aea1f397387
BLAKE2b-256 18d2452ba5ad1275851c1bcb2ad7c0ccf4188f159301e74ec292a882395c9e0e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.108-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f46894dfd7c551a65647c105412d437942468a3207bad0ff9976994ba9eccb56
MD5 359073408b5ad105fae3648974509360
BLAKE2b-256 b8a25ec494a5ea2a3f82c1d18e96ac7486cfcb29b95627f9595de6f69982b8f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.108-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 6162eb0432fe0a6f764737d03c811f32a7e11c5cf26bc7c6055521739718c776
MD5 08713a259c0d4eafa07e92270facca6b
BLAKE2b-256 0f076cb3283fb72860b9b7d37d70ed46968b8f1fbc49da9474bb40032692e0e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.108-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3f5f78e3ef2588ef990e542e4786ee24bcdf76069dc56d806365618378192341
MD5 c290d01cdd09ac062bdcdbde9ca246c5
BLAKE2b-256 41117461ec75f6367b48d894721bbed93fd07b73546114a21c10ba97beaad42f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.108-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6997477807a880bd06384f40ac64618d79fce7509dbb9874c3dcabd23165af43
MD5 4306637790eed459770d535fa8a147b1
BLAKE2b-256 4fea5f9aa5f6a106a8ef01b6e55a0dfa2c32e5c87bbfa2b4240619d7f0403844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.108-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ed9abc8198147c84c973f06dbb6500255a33e94e31908fd1b2168876ea065364
MD5 a041f3d8bb43ef66e93d1d742ca64af7
BLAKE2b-256 1788378f965c8e67c42993760bbc704928694ca22e270380841a861dbfb0fadf

See more details on using hashes here.

Provenance

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