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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.29-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.4.29-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.4.29-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.29-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.29-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.4.29-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.4.29-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.29-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.29-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.29-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.4.29-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.4.29-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c0a34ff9ef08b07534764bc6c55620bf0eb484ee9d710fbd77d54c78038955bc
MD5 3ed07783b792296e0eb7ee18abd62fac
BLAKE2b-256 b0542e9939e47b246526207da2460bab94008eb1007f36b4c164961205a88121

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.29-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.29-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 daabf01bc1a13b9be84dae1bc5a7ea220143de717eb1c24d1269be68c0c41b8e
MD5 0176cf9a7c12fba3d14613d02b8d2706
BLAKE2b-256 bfad17f9a879cab86fde70c1aa638307b65c337962d0b5f8b3d914b36b99a5bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e7ce4735f1258637cf8e763329c3c681402080a7772d6023b59c572bd55a5e68
MD5 881fb59bb88b78edacbef1e92f9e7a50
BLAKE2b-256 15ea4cc4b7524a86bb9d4cca804c70f228d6af33dd38d493e1641899a92e7890

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.29-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.29-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c226fd9c5c754e0d34ebe4da4d1f35fc571cda9ba87caefbee444a57d259208b
MD5 23c8aaa117185535fd2b4fb3a54e5b88
BLAKE2b-256 ee37822985299499a91d57d094582eda79f5a5d65a04cb5630f2887f72ccf473

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.29-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.29-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a32d723b418e24c29c3053d149df8460dbedc3f74c7c56405bda9920d23055ed
MD5 76971f410ee348cb7e2d84e149f5b5ba
BLAKE2b-256 af8f505b68e69bb8c3343db801987b3ff2118c6a7ee21cef0ca4d5e75a67df15

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.29-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.29-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 63b6a2866ecde3ab77d7606a6f36761c6cbf54d204bd578579cd8e033ce99993
MD5 83fd9bebdfb09cf86045e34bc87d97d5
BLAKE2b-256 330f1b557600c3025fa78ad08195e0c7e20b497750f6750bef87a9be91e83c6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0fa98365d8f725c4162dd9651001143f52f96b3883875fac4fe511aa3de8e996
MD5 d0f6c526c032adc6a8c94dd7d8ae5380
BLAKE2b-256 83989fa8450263ba59f2ca9cd9b0014a1417ef1d6e3200b4dafb1f737795d84b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.29-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.29-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 643745eca95d6542381ed84cc93c89d4b263df353ab784b5da67ee76363714cf
MD5 a06ccac842fed29b75757ef2a4846fd2
BLAKE2b-256 07fc1e4698a9a40e95c918ad794295eee7e56aecc6c6f049975b96679fa8b2f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.29-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.29-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9c8379bbf56c1d1fc3d8c257868d7eab325cab2d676c182f609ae8d02c085e96
MD5 7961bff66af168fcb8ab84829f14f8e9
BLAKE2b-256 185a3855cc348cc1bf9f78afc0dcdc51991127399ea0ccec5108a040dad99777

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.29-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.29-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ce59cf6709bb41b663ae994375640d69b9141536c28b2bae5bffb36cc0f30191
MD5 6226dd729f0069b001faaa514b35fceb
BLAKE2b-256 2f11173fae29d5eb32737bf3d40cf058d32f219aa274e79dbedebba522d3cb1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c672e42c0a856cb3e3867c645b3548bd4cbf9b77dc56ccbfe0eeed87ba0561df
MD5 3a352f0d6f7382ddc7fc70a07dfcaa02
BLAKE2b-256 fe9a9da7900b40a314f2fe7f3a3fb795014a87e91ea1546322cf10949533093f

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.29-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.29-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.29-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f729b62bea6c94b3d915107e430ebf202588093b14ba2856296de259d48c1ccd
MD5 17203cf9e16eab6bfb62431986a2cd32
BLAKE2b-256 0ed49a09bc42ff296cab26a0235fe735816625f2d0c44e62837eb774138fd7be

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.29-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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