Skip to main content

A library containing components related to model inferences in Gen AI applications.

Project description

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.

Project details


Release history Release notifications | RSS feed

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.5.153.post1-cp313-cp313-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.153.post1-cp313-cp313-manylinux_2_31_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.153.post1-cp313-cp313-macosx_13_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_inference_binary-0.5.153.post1-cp312-cp312-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.153.post1-cp312-cp312-manylinux_2_31_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.153.post1-cp312-cp312-macosx_13_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

gllm_inference_binary-0.5.153.post1-cp311-cp311-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.153.post1-cp311-cp311-manylinux_2_31_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.153.post1-cp311-cp311-macosx_13_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_inference_binary-0.5.153.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.153.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c18268319bf0ecb6babdaed2b96edab952586520fe43c63a4c69d68f8b77aa7a
MD5 1489835ef559d5c66073b1c4315b1ed6
BLAKE2b-256 667fdab993c6dc39219c1dc1ee0b61c4a11bcc2c6729bc84b52d1318be6da0b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.153.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2c1bb2ebc692325229d74e460b19bb0878a26dc2137a3d8dfd9f35513cb466bc
MD5 1e90ddb8158cc352d988e5c83e5dad6e
BLAKE2b-256 a556d4db1b6feb621cf505623147ed19120ac6f035e3f2b525e38cc6d08d5465

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.153.post1-cp313-cp313-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.153.post1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 98879031d0fa82fa72f709f12987dae8d03ed78a4bca72292e5930ac17230182
MD5 9a9b2599a7e6e3c1c2d21e78b93d4e12
BLAKE2b-256 529b11dae636d00e50b08f16d7ddd03a76dff9bc479e416f1d56abc31255ef63

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.153.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 655bacb87909e8007cfb624c56542386684b0437bbbc64062b39b04ba4d13142
MD5 95e96c5bacd9cf71bf814c254f949be3
BLAKE2b-256 1f070e3b4557a6a45cff97c48165f74d954fefe391c66f601d1d65836f6c16a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.153.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9de53a03ecd29ae37e39a53472d4dd48c0da21b3a26c64891bb2ded26ac173f2
MD5 57f0698d8507784dcfeeb5a50d523c6b
BLAKE2b-256 2da262dcbf50716e06c05fe81b535315a17982a4c35af41937eca2bf38c5505c

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.153.post1-cp312-cp312-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.153.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 085565139107558f3f156ceaca73b99c45133eb717f44d9f0309b74aa2d625d3
MD5 dc93a2f6fa39d77e194c8b75f41615ae
BLAKE2b-256 16b2f2fc09f031a562ef8a772c8cd9e64ed8e861257d0cf8ab6bd001c705f183

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.153.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ddfb9f2b9d45e9e0c5582b0537a94e27e423b2e57e96efd59ad2e8b1d23f0831
MD5 e4bb90d24b068a849183d2892a0aedd7
BLAKE2b-256 fcf50af52960070f69ebd49d597e9f3ccec2e8959cee087d789951acb4abb6e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.153.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d2317894bd5f76b3afdfdf537a2a48ae3e4cafa0b3a72e097b13701769bcc820
MD5 cc8efb3fbd914be4d19b87fbb94eea41
BLAKE2b-256 559baa02ddd704c2320157028216272a7b3bc730fb238449caa89412fb4afec0

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.153.post1-cp311-cp311-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.153.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 7d067af477fb9074c4330f692602551c9b12bfe5e26447d500b8d6d405568188
MD5 05388e8881a07c9ff54b116fc9da1d80
BLAKE2b-256 2aeb97d4bb1c49cab78275a050dcb227b3bfc154ea64bd338798680130eb8a97

See more details on using hashes here.

Provenance

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

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