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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.109-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.109-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.109-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.109-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a3b36f96d935e3a95a869d4ddc789f19f75c1c23221300fe542438091d848030
MD5 0fc93ca53d268e325d4b6d72bdd5ebb1
BLAKE2b-256 6c8b6d8e60b110d99c1fd7208acc15b6af7985f06722907dd733eb87fcd494d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.109-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 43b31c080f9ec1c41d7d003f6c56aa3949597052ff0eb2eac25c1b12b8fa4410
MD5 ebee71120af99718aef59ae9d3975027
BLAKE2b-256 23c5922093d5da31862c0b78216da0b168badf3d74ad6c74200c2893e52a9a37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.109-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d60e741262f5780c27ef98977e196f2fdaeae71700fd0308b1e4fb447af5536c
MD5 3088803564073e50e77bd6f00cb72346
BLAKE2b-256 a5c6820e21ddd81e58638c85a8694ce82557ff82d71cb4f3c82cdff8c5b4c87e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.109-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8a8e126754ee34f0c47ac7ddf127cc4b69b935f5f1899fb42e5228b612262727
MD5 d5d7ec3864c63a55f2f3439ea86b0c8b
BLAKE2b-256 7b3dab532c28b4dabac90ea87c0caec3a4ac013f8957af6f1af1e9ba49156842

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.109-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0ce153ddffafa7c62c5774c192f02c8f3032529234dc44c259f39c74027cd00a
MD5 178331d1c4f25d7d7a800e7fc864d5b6
BLAKE2b-256 17151ff153b8b0c65c2c50c05a05220df8bf42e4ac5a7848cca9819d2c980993

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.109-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 fcb018bc6bf5634f50bd6aaa94bcdb79b26bce1815577494f58c0a396abdccbd
MD5 07a9f0103418ba731c554fdcfa28c060
BLAKE2b-256 52066c549ba2e5b27159c94ee8b21f48723b31df1afbb7ec3a58c514eccb6f16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.109-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9332b9e669a53bca9bcaaee8a97f9d9f53da46d8c9a0dc17d3e32e67badbb0eb
MD5 2c17f9c1caace6d9fdda43cd6aa359a3
BLAKE2b-256 870a5579dfba13367e3340d7981eb6eeba09c96cb7d248bf4dcffc9f986265d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.109-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7b009fbbcd76547bd3d1c0b1bd453259b6d0f2fed871058e219fb7d741021b22
MD5 e84ed7b2aa6d13c1f44ebf3a373070bd
BLAKE2b-256 81f2a3bed5b6cb9ca42904c734188440efa5b1a8c5f6d6aa78facab4c51f2357

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.109-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 50bcfff908b1cbbbd98457d26424bf6ebe8b99dc16aee5e5339671dd26fa7a36
MD5 1e2efb8c0effb6c5556a8d272d701fb0
BLAKE2b-256 19e024a68258cca1d7fa17d3bd156784fe1eb8d056639529d72866eaca125296

See more details on using hashes here.

Provenance

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