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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.117-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.117-cp313-cp313-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.117-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.117-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.117-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.117-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 136ba3f04ee4a78a0b357827553175288c8e41886873dc092d0ee61163958502
MD5 1d1d04aa7cc277c15aba86a122f1264d
BLAKE2b-256 85f4b19e080d364b8c410cd30f3db4df4cc7347ec6c819f29f0c3244cc87d0f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.117-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b150e7e9358c177f79051674b5459e116ab19662223a7efb6d06fc2cabbcfe65
MD5 80177a1024a872ca671b408b5fcf7ce5
BLAKE2b-256 f5347ed70338403829671f7baa99d9b8d7c36a6285fb7cefc441f8324a0982ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.117-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3846e4a0c423119bfb9579cce6398701068ddad9fd48ba4f1f55471a24350c54
MD5 38f0cf2261bb18f9add521a7c48bc7bf
BLAKE2b-256 6bddbe10ae2142aee17a6bcd0d801f2329efb98cf694fa0b805047ce35a658e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.117-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cd0307573476e720ef2e8d3880b8f28c971ed46767d644b239b916ca8b4b26db
MD5 a27c83640f7635add2e316f1e7ebacbe
BLAKE2b-256 abd95c8954fee3423e624757f91c61d28019c56de5c69bbf74bff0538d50df22

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.117-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b8cb781ced17900843d574bd7e52e62f77032724299b58c71976515e291d15d9
MD5 e13696cb71bdaff5c5d1dd77213cce81
BLAKE2b-256 38135a6f16243486d2e96eb0780d64d417c3717fdc7fa743cba3ee3aa02c133d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.117-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 611a1dd59c6528abdb2dc8259f7e355415fe43624835da0ef0ab2519d95eb518
MD5 d2b5a5227263512d0685451fa09a1ede
BLAKE2b-256 48da7e047130a89e6c7fb0f53bd9ca27016b909a27ff26aa17d0e51581d69891

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.117-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9334bcac5b9478ee54689036f636c81a57ac17d7252061573a133ea859d58864
MD5 af1a4c961ae245693f4bbbcf777ca758
BLAKE2b-256 a149d65ae978e9d7a114ee3fa22eea9aaeca90f2fc55da33dc8f8a9335e70181

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.117-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e5b8076c6d75c982021d9b7ef3972a4d0a0aee44d462b482f465ebb6c6926fd2
MD5 1478bad00b702c026a3439ad92ef2825
BLAKE2b-256 2d37d08d05da199cd50e93bcca150ab10b792da34398921871d751885f5e58da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.117-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 943d6c53709f95b58cde235127e864d56d390967b9000aa884585018b6e06dbb
MD5 61b467938433dcb25e4cf870c9103eb0
BLAKE2b-256 59eaa3b6d629ada3fa85a195db275ee070543815e29835b095657f88aab264f6

See more details on using hashes here.

Provenance

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