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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.119.post1-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.119.post1-cp313-cp313-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.119.post1-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.119.post1-cp312-cp312-macosx_13_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.119.post1-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.119.post1-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.119.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.119.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1ac39f06f5b13ded1dac353d52853c0841c48ee532fa898ca13c9a5a45c861e6
MD5 7b6644f4d8980378e277e5e9396995cf
BLAKE2b-256 dae5e7e57c56269a8a7d52e6c947d9ba204f8f85cffd9fd2eba0e45f95322eea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.119.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bd553442c428df93171da551e3001437f553d8a4758c4cc9d5de5b863e7b4dfd
MD5 aadd085e6fcb5276c1e6ca22ffea5b52
BLAKE2b-256 ffbd58c29000299570ce17757bd1dc510424d71aa2112a1e9bcb1d8ed92b9bd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.119.post1-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 47e371f44dbb06a109b6f24b614aeea11e8b6f8d4f8cc1aeeb14c24e63cba2da
MD5 d1e36d1d5277044cc24b8f6027d33f34
BLAKE2b-256 256121888708e635dff27c60114a22c0d7f58074db0b5d6def775c47d02312da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.119.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 03a97362b71859e45bd258fc6ba7d116fd89785723446921e2c5d014df926eea
MD5 424bc93c8079421259fa3c31a9804f07
BLAKE2b-256 085b931297601ac0484638e4d4a629c61cbacdb4e1e54a5235014f97fd2071ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.119.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 62c1a45c2351b7d721c691760b59f4b9b662c04dbfeb6519a520d9b84c97f824
MD5 694fe7d56749508d2e7eb5c3087e5e96
BLAKE2b-256 124e4c1fff31163fe8ae9e0030ccd86e9242405f4d9b9b13fb388342cf4232a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.119.post1-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 ae3c41a10abdb8dd31b8a28ac33151247bf9e5ce88729ecb7689112348e31d30
MD5 1cfcf0e778b4b39cc823bb27cfea9a5c
BLAKE2b-256 9097bb0c049dbbfc175e225982ecc4d3ebfab3dedf8fdb8bee97ab143c9a45ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.119.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ad5a0e0dacc71d4acb9c9e3bfdc8a4f94724946f210be239aa227adc47e85974
MD5 1d622be34d3979de5c2e03e29c40498a
BLAKE2b-256 4fa305841bd4f06440a8897e87a9b200c49d488ef7dfbb23d0c9a2b951dbd1ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.119.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7dfdfc905f08d8e1ffc235d4db14778d812f1572d7e72239053d4ce0b4a1fa33
MD5 39017ccc4595cf95762814d8a0cbab89
BLAKE2b-256 af0bd28f9d679c1a771eecd85d68a3da64a466001b474caf29867e506ee05402

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.119.post1-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 b27fe0cc53a58338ae088a0dc5b7b2fd5ae200cdbb0756c46ecd8fec55274cce
MD5 4de04db71be30ce62a93b9720aab032b
BLAKE2b-256 ba612050386ea6c59648ed4c2b31d22070a1f734613d7ecdc8db253b07ce395d

See more details on using hashes here.

Provenance

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

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