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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.28-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.28-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.28-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.28-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.28-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.28-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.28-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.28-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a0205c93a532cf61990c1fce25fd6919f61c9eab61b8ebff195b023428caf051
MD5 43b2e22a6bb520efe2328892dd6be801
BLAKE2b-256 bc84018b4f50514abab5d92b483c8530a1498d65e24eb3be1ce95bb98d08f2ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2525bc3756b04a5d5d162194c7fb3d0357b4838d70bf9c11cdb5f543ccdfb0d8
MD5 8f61dd1ab4ecf994d6b88e82df57c758
BLAKE2b-256 c85fef811c82d66a4b2f4d8cb9ca1037ad916b27ae48940bfc297870bc4d01ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5f5b937137fc50c71731c7044fa09840b2de95801351ec8bca996c16d8669dab
MD5 04de3e1bb781593a292b296bab5ee300
BLAKE2b-256 fd0dcebf4cf2e8044aaa9bb867d43e8c9538195c3d38f8c0b7c78b516d7ef973

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 47a6acb7f25d17a5415f96a660c8cf1f6c8af70f9cbeaa5c90b7d058589fb22a
MD5 20852121d2225ba383a22d1e0626dd2b
BLAKE2b-256 b6b1d83a7b8069ba95caedef9869692d4f44426f8ccd551918a5a327f3213ade

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6ed50afdfaf4d01ad9f79f6b469f4017cf6d557142e91b59024500d32f4d3dda
MD5 cec9510179427f79069d6273cd2d3776
BLAKE2b-256 80d755110c9f1483714159a051011fb82fa588b44bad303a495e8f9ed57ee010

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5a90f589343f412670288abfa796a9310cb6c662496da819215c345d467afced
MD5 b997d6d337b957d0dfffa00fdbd1224a
BLAKE2b-256 fe5d0ff3849366fa49be0e3d8b3b0849406800184601971cde5ec878bfa1ffc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ecb1cf09f31c1946408930af042853c83f9e9bc6ec4f9f1af937a0eb246507ff
MD5 184054834d852acc23fe01cc190dfb0f
BLAKE2b-256 a34d86bc34e325cbcdcb812c79f4a41a9736c1ba29b415c1353897c7de9f3c8e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 187d1d249674a1c5717c1ea53f322491c6f8b46ccab0d6c9b562e13ccc71f068
MD5 1631aac6d29f3c184a70148e8b05bd98
BLAKE2b-256 45aff2b2ed335f8fb6d35bea1bdb14580b44d30aaa5565f046d9f0eb0650172b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0ba808992578768e6a52749b91bfc9c42026ef31b0250c80a994c37462021550
MD5 3c227eb79d6d4c8a11fd68518365ca45
BLAKE2b-256 3a9fab637007deb7a3dd5ce6f55c3a39320f714ddc39482e5e4429aefca20c1f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 281e3a543d243e6780f4d966e30967cc251247c51752e154edae5c63dde13638
MD5 210c9fddb57d5d5f970ca878a29a8b7c
BLAKE2b-256 7dd2e7819e675945bcd9aa9f28da03eed2b2a7fa2c70b5b1030c6ea384435b67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 18f18c7ce5f3f77313de5cfd9c468a5159b03e1efb8dcf4b709510e4ebf4bfb7
MD5 2d1090d2f33ac586c66498fe46fd3f77
BLAKE2b-256 82ca75d6a0d4c07b064a7f0080b88ca449d97770af953d400b08c19e3304109c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.28-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 73d2b678d8dcd85e972cff76c40e821fe9c76172e739a1662d02d581c7cf1013
MD5 550b87936cb7aa4e38a0041a3c69c5ab
BLAKE2b-256 ef8ab498f5886dded1651f14b349dec40948fb30767f1327714e36481b8d6c90

See more details on using hashes here.

Provenance

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