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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.112-cp313-cp313-manylinux_2_31_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.112-cp313-cp313-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_inference_binary-0.6.112-cp312-cp312-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.112-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.112-cp312-cp312-macosx_13_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.112-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.112-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.112-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.112-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 de722124dce6c6ab17f81752ac87079505ab24d21ab9859b42f9ddf732408a14
MD5 5f55bf9343468be5f38a0dc4eb17c5f0
BLAKE2b-256 6e4efa7d93271fdff0f2a99e340ec000d31e92778cc8dc092345fe6a045aa3a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.112-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b620ba204fce7ff1ac1a802638e8209807e649d9cc6c25e941057f36980b0118
MD5 dd39cf4e8db70473bcf134c6a0da79be
BLAKE2b-256 13175e917d5cf2714eb4d5a569aa10d715bfd8e1c9685b24af91b303ce6a901c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.112-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 10018d0077805396c4d778cfebcbab1dd5da7b2716f494a922928ae8fae56876
MD5 ca103d494467bd86135f24a76120bb8e
BLAKE2b-256 1b5a9bcba62a8ddfe3a099172e0de7e5caa1131f76beedd9bd42f0534e5a98f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.112-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2bd2ce5db7afea439014b28882fca0a844c1cfab1a10cae2798bd780aa87ca52
MD5 b17e76f41f9d62fbc20d5d73e01b301e
BLAKE2b-256 b5dd0e04b2c8ae9c8db3eef085332d1a180e4ad56f40e1720c41330b76487775

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.112-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b4ef8e2a274b359906424c3eda2a0022c1d05718a0d4188382866d4d95581bf2
MD5 6a207ad14a7cdd6809c2f401e9d6544b
BLAKE2b-256 bfe76bc278e4107dca62ffbdc602d4dfb469938dcc8661fd163e590a73713b13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.112-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1c85ee2c8a436b71d4577f9d491b0563514a1280dcca031185105c849602933e
MD5 08dc9fdf1daca18957ac12b3850c56fd
BLAKE2b-256 0aa6a92fb0d4711ddf41542a7e1bc44051760692f7eb292338b807bff6331b34

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.112-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 764c1aa43af52f82bea59181547679279883f39bcb40c2b71be842c2f78ca526
MD5 b837750e2302a2077d591074a14354c9
BLAKE2b-256 c9910797cf0c95c977ae09c1f98c3e31566e3b4a064f0f647f7da9d9dde45e79

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.112-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 58d01bb046ccf930ba6a1f5f5b5acc40f8e1d6c1c56cc7b2a56dedbecb9ea32a
MD5 995ef57c068dc8a151aaf8b0b1da8db3
BLAKE2b-256 c02bbf9c315bcf84256a443880737b19e6d0d99629c1357a49374adebcaff335

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.112-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 91c24c9208990e8eb754ea1bb6a652f2209566840c92b72e1fd4283afb7a7b2a
MD5 25a0d2a25754a1938dbb63aa462f0d32
BLAKE2b-256 7882c8e92298de1b1830272c5e0e92eccd237ed105899f4a76a804bc697e4a07

See more details on using hashes here.

Provenance

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