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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.43-cp313-cp313-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.43-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.43-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.43-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.43-cp312-cp312-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.43-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.43-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.43-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.43-cp311-cp311-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.43-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.43-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c226a91cd9cc5c57e8d73e824b8d31631d1db9fc274459ec4137f06c2136ead5
MD5 d78a77517f9e334458fed6b92d942099
BLAKE2b-256 4b06f09cd0a5b832f1193f283bbcf49058e64c8442becbbc773d373eaf74a0ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5adb4fd5029b299a2448a86ca8617dbc30bfed402a2139a3b9dde3e828e6b6cc
MD5 18a110888ae71c93b98ea6d9ad21a8bb
BLAKE2b-256 88118b95e9fc210e5f9ba94cf9564a317dc430115d38ae509b5eb3614914334e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 82529ef73233b1f7575aca7950b7f3317b7bf1ee8a5787f01b49a5971cb66185
MD5 b55217e6bc828d795cb787973537aecf
BLAKE2b-256 cc3b6cc75247c7e6138d7e18831333b75008309b4bb2e61949d0ec071b84e061

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9ff0dfcc311db312bda94fbee7fde4decf7e8bab3724e506479fabbe756ef9ba
MD5 a8f068d24df3fc0ff56816f6f2dea7f3
BLAKE2b-256 7e9731f78d450b97c72a3eb3b8b3ac44f6e0c05c4ec5f94e41f3812d2b339951

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 344aa7c6ccbcc9082b0296a202707f1ec2e4b04e939479cc86755c93486c9fb6
MD5 f3c6d58a9383d5c89cccbb249abf1207
BLAKE2b-256 b007454c7c8ed1723773a2bb28e0d27454eec841f6a9166fd07b9cc1b9a7c2bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 98b72ed47faa9d998eec6e0c60a288bc53d9cc28e0637086be80e1ee79b0db78
MD5 2cfa4fb2cb0086da21d0a92bae744b41
BLAKE2b-256 27cfd6c795375ef9f43ca6b3f3ee08f531cd0728e9945eb033ea6c81b96b172a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9bf021a044cdc773ac745b05ccc6b633d57a81e3a9542439f3110795d0877cb5
MD5 9fb73f3da9cddda5428e87a662bc4b85
BLAKE2b-256 fc730f95ac69d3bf3b37ee918f49c39e01fd4ab4a07314b32fab6289a97ef104

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b6af2428f187a45a7cc286f55e27d82674c672dc65c9e488afe047ecb0f371d1
MD5 19d4096a2873704d51ccada2c9f5dea1
BLAKE2b-256 46bb579a359d140c1cbaef9ee508ef45bb6db115f9650d5a1b4d726008bc3748

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e9c319ab388c9dc2a87fc5b39a8f2149d2f9cb9987350d662fc0353be61d2dfa
MD5 503853dd3ac8f175719c49c97aeaf951
BLAKE2b-256 5a6340da9c3f76b31b43dda965ae3e10a4a999e8285de78741f29e6371e547e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 83517b6c71251ead7d07b644959dc059ee7430e0f1d5bf2b701ec7a19bef5d96
MD5 cff0b6e209d9bdbe55fff567b278c8f7
BLAKE2b-256 8f602d03ca0a1a2c5ff4f571b7e55794630cd4b08eec34842b8334dc9e398f85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c63505620adef1860afd7ed64b92ce56e26f84a27bb1a15ff214838bd9b13738
MD5 bb6b10e29f5633dc1b1e3c8db6d92e26
BLAKE2b-256 a47d4290d00dc07ab235deea4a2c10afcab8385fbbab17f5734f323fbb066311

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.43-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8742e61178d7b21c3b07489c6bc2163f2ec238f92cd9250eaa4d53d0b83214c7
MD5 432fb198e85222200d9acc75d27f4e43
BLAKE2b-256 80a0eeef281babe504439d7cbde6fd0010bca2d71d1fbf1066b222e2a8c05889

See more details on using hashes here.

Provenance

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