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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.36-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.36-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.36-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.4.36-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.36-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.36-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.36-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.4.36-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.36-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.4.36-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.36-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.36-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1cfc47f000667822149352a9b574162544bf56ac87135bc6caf7f955155afa3d
MD5 2c1e44d6b3b0b153cfed7552928447ec
BLAKE2b-256 b09b25216892ad755b8e76e440418fb21d39dc0041d7d484829e602fb6a91153

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c37ad68d91394dfdde26bfc2e5310fe97c36bda94380f8768f94d1d5a6f04580
MD5 256fd4e6e37a1f8656e1e9297b6baa29
BLAKE2b-256 ccf9408e66b7a7b10276aa296a653d8671e83142f64f1de26b950bb8d370af97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7558fade5656483d1a2a05a7cb5baf29f2c6bf0d8512f0765a2d89390ee9e936
MD5 f544499ef99c310514a470a501b18c5f
BLAKE2b-256 a397a0d439116cbb4decaa91302f436aee9742308eb553acccd8942aea8b783e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 90bd873034b7f8deb8ccb5469e26b70cee678f88ecf094975d4b6d231a8d8092
MD5 6e08331d8850a343c8e5b2f32d7bb541
BLAKE2b-256 aee34ed7e40d93b3015a52bd1fda5a4367d80c758a40520e197c0fe0ee8e51a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4661e12ad5291cf9fcd75d37a31d923174f8b900e66244e449f944181424d4c4
MD5 c4eb215cf4abe4bb00f63bcff810a030
BLAKE2b-256 ec5a292ef509193adad7ce1c0460628bdca3123c6d08fd077001b0d21e00137e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fd6abea2ed51c404d69e6ba0dec8f127890e5541bd462b2e3e6c350a9d1e8a48
MD5 d1122fc49d1c377629735672551e506a
BLAKE2b-256 76f1944ec3d33425b625c9b18985bd1222036f6088b318188ac9bc3c295305b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 133bd4bde8cdb2985409969589331040ce05066e386fd60781fc8e235a7a78aa
MD5 2590fad3224682fd4f1d21ea7853d568
BLAKE2b-256 f36f64890108f4d0ae216e84afa3eafe71a3f421dff96e9303cccfe7ecad9a5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 579ef3e18944aa1fdd99e2eddf72fa788f826a18be700915983b236aa2d97d46
MD5 f75466917d79ef7036433f55db7216ef
BLAKE2b-256 ffe804b9a2d5f4000a8b5fe3008f4487aa4c3496983e747dada2567824286a3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a663117dfa3d86e721b4c837cb90c2fe20162e410481eb86fcb73e0de98d2745
MD5 aa6d74206fd57c89c854d80e4db40148
BLAKE2b-256 78bd5e7021c943b44db15d1b8c0e702f5db4dc12e3208fd9de7d9b36c8f3c47c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e678b2873d76955f501d031317f206a029121f836e351d3cda22f0de1b638ca0
MD5 8acf7badc3d69b6244e3bc7ca667b848
BLAKE2b-256 47689ba7971e278ec87b3b27041a970ef0009f7b118418cb6b0259414160f8a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f392d99f4b1923ae5f21bd27a78791bae9d726db9dcd2cbba98a743f9db95c93
MD5 7d360262176d41f016cea82f6b76a18b
BLAKE2b-256 b3dc28bcb64d39ec0279d3a52cd240665058c85b87ca902a256f18b1b876acd9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.36-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 da00ef5494fc8115417ab6a9b0575cd8735831d49ebe607081dd765d30de204e
MD5 135e6a4ad2f87390e37e953fb2bdcb55
BLAKE2b-256 66ac10e26c156dd3842e654f16579ea62973aa09bf53610be58c11c2e2fc6540

See more details on using hashes here.

Provenance

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