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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.25-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.25-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.25-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.25-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.25-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.25-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.25-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.25-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.25-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.25-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.25-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 602204510344dae2cae8671a6d1d9309363529a537b215c0f8eb7fb275bbe426
MD5 b9846b521e0f5400904756c92a298495
BLAKE2b-256 56e55d24bd96023d5d020a5292c25879280d2a91dd94e59f867c287d0e3fc086

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1258b96dd4db85309019ec58150b34daa43a847e5bb1249bb91674eafab6accd
MD5 b3826c2f613c811f4394d724e8da3135
BLAKE2b-256 c2ff48d45a20ab2f32398bbf995911d5654b6aeb999ef281b9e38c7b6591b706

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ce8b577a0248e1bfbb1d321e5fc9c2e0262e24b59c4afe93b75ec15090ed2853
MD5 22870f65e8ec1cf7ed783612a130273c
BLAKE2b-256 d31cf2dbb64da351dce887329039f17e7c024e9b13a8d97fd0799a6209f7bd5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 187803a581302b6541d5c891c140f03bc762203d75c4633704f0e685800ae769
MD5 131ad68e2387a712a79723252c97309f
BLAKE2b-256 9233218cf415f088918d7c98d8e3158d2cc02af84ca8d9193e5a474ee4d7ac85

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fc329425257871861425024e1a73de30f9e440f813f46eff892ecb0d7f09f53a
MD5 60afad25e1faf2166778c53f0d2aa4b7
BLAKE2b-256 8f5e1cba83e25645eb7b9db1d53157dc50fad44acad0884f7c94fccc9c6d8e8f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 15a8bc896c9fcb400d7035ead98e6eb62f9a76695c9ba204a7e87134dd087227
MD5 ff0e134b26364008d9adfba4e9d2ad15
BLAKE2b-256 7288baa239399a8a92d570c23cb9bac86828034f2390062970a9355ffd06085c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e0ce2bce34a829d31ce24d62597db8b8e357340c3273f75023da84a3867f00ea
MD5 a0522e070d0e8459058a139a6f228ec8
BLAKE2b-256 a59344330ea5634f693e300b107cf99a39f681a507734de7bffa2ed07e25d73b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e07cc3a47da08767af59789357dc2a80f6137f4b0b68380ffc961e6d9b03255d
MD5 561d7d28d978401469536130104b87f7
BLAKE2b-256 979804ce9796ebbcb5683159631087034524b7b358b8d5369ed6a90ed4d346bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5c55fa44c67345028c7b95fbe9a5cb15f4da54a87faa1dfc3708be8300c536da
MD5 4975219083bc2a47f3eba07fb31b0f2c
BLAKE2b-256 dfb175ba48dea95661b30df1f49ba832ffa259bf54e4b858653f0af08faf56a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ff4a9bd8814d92ff7953bf6716314a6510df0652baa8163ccc3e1fe43b9cb204
MD5 749166f37da0f02e87c9e85f0afd79ff
BLAKE2b-256 d02695318a213aae9634adcb479e8b2490f4f52354c1b023bf340a7a8c08e990

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7fdd63dae0da67b766e866dfe1bc8de1da6cacbac6beb0dfb6aa04f2ccc4598f
MD5 88e6f91d4085ac1bd20bdc42b7bde186
BLAKE2b-256 30c07aa5efad3c44de7ec457961b721dda8f4c7d43c10ba23d780baa7390f1dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.25-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 15269b3f134ea8f60760ba5b7fbacec86e6fc89260350278a4ba22f6d4e83385
MD5 8e3fd7b48574cd465514cbabb394d8ab
BLAKE2b-256 716ad9c1ad01b8d6442d315d5fd95721874bec3f9b27153dac185521ee9ae62b

See more details on using hashes here.

Provenance

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