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

1. Installation from Artifact Registry

Choose one of the following methods to install the package:

Using pip

pip install gllm-inference-binary

Using Poetry

poetry add gllm-inference-binary

2. Development Installation (Git)

For development purposes, you can install directly from the Git repository:

poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git#subdirectory=libs/gllm-inference"

Available extras:

  • anthropic: Install Anthropic models dependencies
  • google-genai: Install Google Generative AI models dependencies
  • google-vertexai: Install Google Vertex AI models dependencies
  • huggingface: Install HuggingFace models dependencies
  • openai: Install OpenAI models dependencies
  • twelvelabs: Install TwelveLabs models dependencies

Managing Dependencies

  1. Go to root folder of gllm-inference module, e.g. cd libs/gllm-inference.
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-inference requirements for the first time.
  5. Run poetry update if you update any dependency module version at pyproject.toml.

Contributing

Please refer to this Python Style Guide to get information about code style, documentation standard, and SCA that you need to use when contributing to this project

  1. Activate pre-commit hooks using pre-commit install
  2. Run poetry shell to create a virtual environment.
  3. Run poetry lock to create a lock file if you haven't done it yet.
  4. Run poetry install to install the gllm-inference requirements for the first time.
  5. Run which python to get the path to be referenced at Visual Studio Code interpreter path (Ctrl+Shift+P or Cmd+Shift+P)
  6. Try running the unit test to see if it's working:
poetry run pytest -s tests/unit_tests/

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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.13-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.13-cp313-cp313-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.13-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.13-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.13-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.13-cp312-cp312-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.13-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.13-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.13-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.13-cp311-cp311-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.13-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e48d59bcb538c088f596f7335941dc29f6bfeb782c90a499518dee6802663005
MD5 d0fff1b3598c9168007cda3fca16931d
BLAKE2b-256 0ab33441176181c4db879ed44910c06acc9df1f383f209fbfc11cad5c436daa2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6dd86bc7a671922f0fc6bd201dcf9b2a53095869020a5f7476420e9ff473d63d
MD5 1284bb7271bd6a727bbddd43ec81ac1e
BLAKE2b-256 02dd2f254a2403c3e60ab5b7bd9dc92f8363ef26cf0923d9c051059d889095e3

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.13-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8729c1b2f5b78dfbc2b42649c8b1a7c2a7e2a519ebd526b205a116239a67bffd
MD5 7246e4ec5f9b9f27dc8585a216aa7315
BLAKE2b-256 1dc69b4851a572d28fbc7ed25225a0d0a354aae888b890f9ca2e0d5994cb1daf

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.13-cp313-cp313-macosx_13_0_x86_64.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.13-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0594ff9fd08fbb98adb33b0226113e127cd4446ed593f235bb82e141a8c5e292
MD5 13137a275e9f2b5091759cf567cd7552
BLAKE2b-256 9de2c00378413d5113a0e0e4fb54e357ada7981ee42c53e670f42fb68bb7ee30

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.13-cp313-cp313-macosx_13_0_arm64.macosx_15_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.13-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 65f01093ca3f3be601fe87bc623368a9e8d19869069406272307a15541005f7f
MD5 8375d5a7980ed44a6f11ec82d749b2ab
BLAKE2b-256 8edc73190caedbe279e9e2de3b0aaebd3ce6100bfeec9bd74880c6768581519e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 907d615b21d67fea863cffe5a9111c41f079b425d1b04d8e05b10d4fc2be6847
MD5 ad969f6311a052ec4e19d241414cfb3d
BLAKE2b-256 eb0cf1069c5f0f47b96d5232ecacdb32ac1b01f92051c50fcd01f2403f91f314

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.13-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e5951a28d83a4a442fa860c6e4c1e5db91580afbf41304f47e6203808e4abaa3
MD5 f5ebbe58b8e2712384149eaae1d789b6
BLAKE2b-256 9ee740e74c2f26043340940f45492c96b6f8682f1c71e98e9600d78fd3093db6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.13-cp312-cp312-macosx_13_0_x86_64.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.13-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0f427adeb31e0a27a335b2299c4b1ba8d216e115fd08659e188ba0a51187488a
MD5 080715ff2530ed0e28ea2b2441ffe04b
BLAKE2b-256 dfd5109e513bc7fffdacdee72df6f0013a0e3c1087aad9951410f203cc173230

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.13-cp312-cp312-macosx_13_0_arm64.macosx_15_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.13-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 facdafa544def527126fcde4eea77aa6fe374f25f845591f45996aeb0ad8c5d1
MD5 dd23879108dfb04d7c31440e0dcf0db5
BLAKE2b-256 a6cde33195bb24a85e548f74b129cf6985e446850489be5e0ca26deb850d175f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c8292aa58386eb226c07a4edcc46d04c6d4b952ec80781fa4d49278b0d49518a
MD5 ed2939d591eb33005f1560d52fe0738b
BLAKE2b-256 d324dbb0bcdf89558999e33d5ace674ad5010d96de36265b6d8f6a1a92a86182

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.13-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d626770470884ae8414f662a22825883cc1bf0a9b4691923e78ec504cb436fe2
MD5 bc6cb7134cb05e84dc5e43c22fd811c2
BLAKE2b-256 dd5c789e239d1b7b014aef09000b55fad9774820dbe406b7df2d6969e0cf71c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.13-cp311-cp311-macosx_13_0_x86_64.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.13-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.13-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6bc13793efe542556d2463356c0e67b972110f835993482585b892b905084ecd
MD5 056a20acfd8865a144c1e481a3da21a1
BLAKE2b-256 ba3561a0540400c827cc1b2c387c0c133f5479b78426482788628bf80747bd21

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.13-cp311-cp311-macosx_13_0_arm64.macosx_15_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