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

This version

0.5.7

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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.7-cp313-cp313-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.7-cp313-cp313-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.7-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.7-cp312-cp312-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.7-cp312-cp312-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.7-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.7-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.7-cp311-cp311-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.7-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.7-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 48901c465a1acc4fd4a3ae1737fa9e2ca2d6595d1bc3c0971ffbb9bddcb61104
MD5 5cc247f60fcdbf216f9597c3f4b6821d
BLAKE2b-256 d827222b9fc3f565dd800e159c2077a5b537ed260371a68ab05af6735df4a840

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 39bcb0fdeddda393480b2dc6c6bd5f85f3ab8fda22c1587d1cb10647bf65f6b5
MD5 13db385bbc987257897697d54e027418
BLAKE2b-256 8e7ba58c28c188371cdc94ff4315421e325ac721f8d3ea9bd815e542d2e70065

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5efed973f7d093952c9e44427f2a7773b702ad8783b2e65988db5f4ae389f453
MD5 fb5ae3b38f852fd4bd9ac74aed924eb6
BLAKE2b-256 9b354e8a9dfbbb5e500029a2d58aed9375ee347d8e37a68106868232afc0a730

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d05a6416bd5c1c83a71e2485f369b18b16eaf71d7923aeee020631d62d0d8d9b
MD5 106193b5e17445f9337f3a5bf73691ff
BLAKE2b-256 8a903a0e504b3b13939e42c8e35ea3fc0992102c6f06182d3ab18ce17660795d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e393a0cfac3c216ebcb01b4b4a2cf87d2e3a23d9364c8ec78707d1ce2c8fffda
MD5 fd022e14d49c8d6e2a12da01b9dae722
BLAKE2b-256 9cc52441e547a1cb47c815ec21a6deecbf9cec0a1fc9e27c6fbb438471514f14

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 829e041238b9303e0e071507a3f692715b497810d6e3501653808daaa1fd32a6
MD5 33a695791f772fce5ad0e7ba15958ff9
BLAKE2b-256 0bc78b22089785ae05176476cb84e34e9f4b7586ff62c755eebff0073c4a3d86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8cfb52d527055120d24d8dee59604520dda74fa83683d11378430f94d615ce49
MD5 accb6463caa0be340606ce0c395f77cc
BLAKE2b-256 166748718b09202bf11285954e8b056bb472732614a0d8d82c9bc82cf626976e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7daf18654c089ea7435f368168dbb53b28b00f47803f7a4391b39d886b5d587e
MD5 fed644263905bac4dfa9dac2724dea9c
BLAKE2b-256 3d544a4244bf548a200dd875fccb53c138fd5e96e8bf8a38d80cd1bc5f324806

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 64e1a905b79d1a4e36090febc208d56c3d3488715b03660cf3c692f0e626b399
MD5 ab90f4b2bd57dc3fd474ec0bcfc19710
BLAKE2b-256 0cc5d318b7959bd535f166086ccab7448861654954fcee6031ff28b537bfbe5c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f374c01ce64d2a7d783888b249bfb423d049d9b1993d396498a1b0193ecaddb1
MD5 d10190cc85e4241881fe3fde8df92c10
BLAKE2b-256 72b3d8e8fae4575d4b3e6454d2dc77b1ea414c99bda590601a5d7c0a5d8bc890

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fd404d30f7a05be5debf6b9bd4ab81c22ae64355829e3bcaa30e08642870b355
MD5 4773b674de4c1add38dd625f6e14ae48
BLAKE2b-256 4996da55f5c3dde4eace9103e93ec7c8da9a598a2cab8e1198aa9e59e35a30ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.7-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3c9bd82bd50401b702201298446d9434998ff106594715bc6e8b436eebf52afb
MD5 aff5a6c36ef470e85d2c743e42eced78
BLAKE2b-256 2a6e44ff15d7c701cb4c51df0c820c0ab24f7a1d968e02f187c812a40f678f63

See more details on using hashes here.

Provenance

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