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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.124-cp313-cp313-manylinux_2_31_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.124-cp313-cp313-macosx_13_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.124-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.124-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.124-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.124-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5dadea74b28a364005d9a20dd313551e0fd70af3cd5ff01683ef96eaa4996eba
MD5 ecf82722c9c61a10004e1cfba6f820c3
BLAKE2b-256 6ce0b6b5e02b1b861e64a7434ee5ddb7bc084a0b91159a33bd791cc77a0718ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.124-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d59451e3af5a0505a879e82cf6347f300e7ca406f10ce8626578b96cd4bb194b
MD5 c07274425bb114a09f9bb51c75269aa7
BLAKE2b-256 8a076d79a2d2cb7e180398357781c390ac16a05562c803720666b074e2f8d8ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.124-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8b68f16613d319e7a8ca1a62b9e6b4b6dd414f50a795ec90e1506f781556b590
MD5 2b4235a3258eda7f894cd119dc640220
BLAKE2b-256 0491f59c80afdce495b2ce004205967239aa1fb89e1f5875cd988d0daa4d6933

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.124-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 eb3aabd8fdbb8c0785df9fa01169272e33b31555b2a4c6e0366ac1b3e29bd734
MD5 8cdd0421a9408de3183f25c88b171c79
BLAKE2b-256 333be2b769108f95f9c19018edb5f05d7c289c50563bc52cdef673ba32c993e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.124-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 785ca522a942cc75e70fa630b0ba69af9c05e65f42b98c5aae55a21383c242b3
MD5 5258cc5cda1015f80a347e85f5536dc4
BLAKE2b-256 5a5168efd040cabf61c9c92dd32a21618a1bf715cbfbd9ece3f34e524a43cc2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.124-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 94fbe46a91b2f4a8a51b57bbb889f116f8466e36383334edbefa70884f765da9
MD5 16261058e376dff30497df2b2389b057
BLAKE2b-256 3f4b4f73c7ce2919b6e86e3fc3c8651269fdc0e5e135a934e24f44e75f839303

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.124-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 72c47c3c5dad4577ee9ff7f352b2b371ad186953e1069af974b501ac69bb4fab
MD5 73680ad937da6c4454fd115eea29279c
BLAKE2b-256 33f8af97dfd8c490c85897dcc54def22a28450471b636cb487edf3bb66a14db6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.124-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 92d322996382cae2ac9539f4b7caf89c8c2f33d8ded5a437d936f91fc36221f0
MD5 e46a22b10f633edd16c3edc1bab812ed
BLAKE2b-256 0af88a31c49c56df01b5c21bbd57e6dd663c679d6385113ec299df11e1fe02bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.124-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 8b0b500976d962512d2b35ca5c2c96c4c851448d1f5315dd71ac12ea42857350
MD5 5871e0015f0b2a0d950d90a604bb797a
BLAKE2b-256 cf05c4a602d9331fedd777143c81d34ea67c97527d1e6dcbce710e4ae916dd7c

See more details on using hashes here.

Provenance

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