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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.155.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.155.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.155.post1-cp312-cp312-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.155.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.155.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.155.post1-cp311-cp311-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.155.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.155.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.155.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.155.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fe62bd026dd873f904139f8e9fd2954699b767439ec0eff6fe67fa3a6793ce70
MD5 048ecf5d3dfaa92b1915a4e240a401eb
BLAKE2b-256 291d770ed1b64052c4cd37da058a925f2ad1747d21429800870eb5a97b38667e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.155.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f0e2e65dcdb640a0e7aff40e40dad7786e7e572085f6692d001e1ffa8c8c6427
MD5 9be746614a4fe039803e3152cf2ddd30
BLAKE2b-256 7fb1145035e8122696c334fe3ade54625e01c0db01322390aefdbc929c4872a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.155.post1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 52c6ba16c80962016f078ac7835340ba71768cf30f9ca495abe3b63c43ed3a16
MD5 f302482edc559a87bd55203ae86ee45e
BLAKE2b-256 f9ac5aba85897610218907bd70da04462ca1a0b29168f5ddf742f0c0b621d43c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.155.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 927237d3ba3aaf0f167a4a2fcdff259b94f7506f6bbd8a8486a63c8b3e7c5da4
MD5 e2334a47a36171543abd64bce5c88dba
BLAKE2b-256 f70e9cc14136fa3d8c3f64e96d19b9f8f4d3118a06cfde3886bc62e25c87b2c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.155.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 aa0d01a0abaa5a91f2eee5c4c7cdbf02b5fe7c910ffcabd9626f8da999fe50e3
MD5 508f8396857ffa2edbea807ad5a86279
BLAKE2b-256 d2afa8dfe2d718da7d687da6da868267b9fc35f9d4b921998907dbfe74a3821a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.155.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 bd0b61e9b6a3709bfb27f55ce2fc5bf42645c9e81560874ccfef8b3a2351e575
MD5 ea3479e22c6fe577d3607fb8e0198eaa
BLAKE2b-256 4939d6d013b9d959212c96367e35262104ee4daef3f8b8e2f76b15e54212b5a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.155.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b06d63a73b36ff88bfea60b41af2eccee08d57d2e4a0355d4f464b4689e2e59c
MD5 2fd6a3c5122178ca05ef3e12a2e1c47d
BLAKE2b-256 d2e0f2ad81fef12af4e1c8a53ea1166c4f88fabe96aae67497afa934f6b0c50f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.155.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1fbb40bcac07c3dfe8102e776fa16db620d9ee1e43398c99d89ea42991350573
MD5 f5ce612ccd4caf1bc8979ccf19b2ed9e
BLAKE2b-256 420db50fb40747f1d148d335fc866528e5aee450d89430a62676075d3fc3d891

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.155.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 28bcf5e240f1a9a7d1194f7b50a95cc19f937ddb9b544b4e4ffd2d885e366a12
MD5 2cc478bdaed733374928b71db4cb2360
BLAKE2b-256 5a3a3c71218bf84c5e38d33e2a81184178f13d02a81b9e887fc23646d55196d6

See more details on using hashes here.

Provenance

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