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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.6.44-cp313-cp313-manylinux_2_31_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.44-cp313-cp313-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64

gllm_inference_binary-0.6.44-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.6.44-cp312-cp312-manylinux_2_31_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.44-cp312-cp312-macosx_13_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.6.44-cp311-cp311-manylinux_2_31_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.6.44-cp311-cp311-macosx_13_0_arm64.whl (2.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64

File details

Details for the file gllm_inference_binary-0.6.44-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.44-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e2ba6b224f36515a227da09290ea7c8e569e79071e5a045a203a7ff15c58bb03
MD5 7caebfbc8cc68c864b457d2ab095736d
BLAKE2b-256 57b9acb9bc6cdcc7f685e778b6cbfd5b1f319a400712e631feb672cc2b6c8a5f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.44-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4a570bb4a3cf5db5c5190519251c7a751d8258d17823605c80fa1fdaac6c7ace
MD5 5a64aa136ff5af20452cca13966833a4
BLAKE2b-256 69b05b942230d3eed08c795e1c9211e03f242fb52d85661ade51d8f8806d774e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.44-cp313-cp313-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 f5e0b1ee7894c4943bffb276a29e48efa6d0e3b4daf6db3ffd1b80adb8d38555
MD5 c75e8ec5ad58db77b5686f7260f5c85a
BLAKE2b-256 9ced77395c7f16e79753928b06a7ce88fc23b30f5d2b80333567c712206dcbfc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.44-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b98543bcda8a7c32ed584c0194b402f5cbccf80fe6eb1d64de25c8c55f7d6d34
MD5 64e763113c70ddc59e9f6b8eddf1828a
BLAKE2b-256 6af4436a695f5097717100b8f8dcc48462d04aa657f849108ff9c4ecf8e8b6df

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.44-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6ee1ffd6edab57338e15b33c2e215c32f11f74e4bf1a7c6c28571e20611c458f
MD5 9ce7c2f3a810a84893eea499244ee06a
BLAKE2b-256 5325ace0c742ca0989f0ffb42023bb60021cb54754a4c22ddc04732998aad592

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.44-cp312-cp312-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 cd3af58b060974be925c919368c0fe6009d94a12a3c2c487f1b267f4b9a7a37d
MD5 efc592fb170cde7e61022cc7f020b6df
BLAKE2b-256 9dd4bbaec07c7a99bbc7d3a86c495c71a56d285ff58a6e4871612dbbb93e0566

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.44-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1bae64ad384d123082fbcddb56d2519f64f81e9102b4b0692e46746a2b353efb
MD5 6d299e1e8d85eb61d83a8a63bf825932
BLAKE2b-256 5e5275babe80a84352502a0c0db6c6901cc2d0afc83ab13d5406c605d76debd2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.44-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 13539b741b26f768c772d987b867e11cb4cfd5a52a3a3a5308f800e689992b0d
MD5 7557dca6e966a20c325f22b984b66211
BLAKE2b-256 b1f9b0768c12b8b0de991d99d0a83b9e3c581387104050303360969710cf03cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.6.44-cp311-cp311-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 3510a4d8a1a1e9eda2f47c592ec8bd38f20097be2904a3edf07a7644cc991d03
MD5 8af39ca855a014f04c7832e27a4cc1f8
BLAKE2b-256 b9c14c656c101072f3df96b4606eca3a8ed591b60151442e8deef30d7de772fb

See more details on using hashes here.

Provenance

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