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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.40-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.40-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.40-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.40-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.40-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.40-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.40-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.40-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.40-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.40-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.40-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.40-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 00fa47b052669886d2918d03f85996d6c039487147dad46734bb19f7c3999ead
MD5 58f422fafa709bd546101497139c09e2
BLAKE2b-256 defc6ec6fc59f3ea51593ba5f80dd18db9047ab75497466657f5aeaaeeb29f97

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ca6c839c7f63f0731fd5daae394bcfb1c65ec25f296004f465eb60ab7f8c57a2
MD5 2b416164ed427a0ca603d6246fb5c0ca
BLAKE2b-256 fba0ae2c68ede002df847a68f2317e0a32e3606706ee3bb16c838a0100e5cfef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 580208b8d54bb78b516bdd2067d0cfa8763ebbad646833b43851dec80d33f294
MD5 6eab0a2098a8366f59b4920de067d974
BLAKE2b-256 200ee9dd0a76ab9eb1cedfe8eb96ae031214b29e2e745d5ab9c991ca4f4cade8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 966b28d631dbf9d8a2d78f22419e828d742bb54a2fa15fda8950115014c85983
MD5 6354ebd030bca78c2666a693f0a1f40a
BLAKE2b-256 8f1f74b3084c791d7c39dac3cf66cbec6888fd891064afcb9df6e899792fa754

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 23f37df9e8c28d2b45066872d503eed99cf3f8f49063c061b102f17bd3120e10
MD5 c89dca4928e2fe6c50a159349017194d
BLAKE2b-256 a0fe4ad82a2ac1371b46604f00fc8d474b0dc56e17fe528ca3286b9b97371690

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a747ef8547539bc556a7fd5d9d1afad3b3aaf540b0747eec44fd8703fff6416f
MD5 02d34441eafb24b262f2418e50c56a26
BLAKE2b-256 e29e601db588cb87d0ccbdee7bca3e2a64f99b3586ede229ee5a5727a7daa3fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ff7d1a2d71550797418505af33dc768469941253bdbfcc7c10fee74e4d1f7a70
MD5 b904778e67d06632fd945cec765cc58c
BLAKE2b-256 4cf19d2158614133014061f2dde48bb322dfc0ba47b61d59dcd2fa9602aa303d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b968a17647147e4b7e9481e81e259cebad968780d9a303fae787cef707427bd8
MD5 a107590d4bb4855285246f81df088c0f
BLAKE2b-256 56a788480866042feed6019e21acac03bed7b37fc7d7869b2a39a4e5296a1998

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1a00cc4db6d285435520f3333053bda38963a5949f61743a1af2b58b517deea4
MD5 5e2ded766b132f4a41d34d7295259a91
BLAKE2b-256 7b57098d15deabe54d4c105da95aea9b5b8edd2e6e7cae3036870f885bd6addc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f5419610a9500999d050258dd2519197235698886a8c51621a3e9c4e31c8076b
MD5 c4e6936219d89c3bfc891c35d78d8925
BLAKE2b-256 0e4f846e11a058480063034e724605bd2dc42d24a1bae1989461007a5f756088

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a5a710e3fb3475efc0f936a6613fb9ab04189b749dea813a0fd8a5a8dc976e16
MD5 1f6f123935a18007b94c7755568c619c
BLAKE2b-256 928732a3a7b3c05977b1b47b0244d3b6857a33189e6f1f63655e266740ffbf34

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.40-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 87e4fc66b4bed24ea11647e203cc6fb46697b7387e5f6c73e571ab6fb8d458c2
MD5 cf035f44e0f01e21258a6d997e0c7e5f
BLAKE2b-256 f1ff7bfe8dccdaf2a1c6917bcec5582e3be6ede007b1a7f3d9665e70f345436d

See more details on using hashes here.

Provenance

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