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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.52-cp313-cp313-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.52-cp313-cp313-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.52-cp312-cp312-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.52-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.52-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.52-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c277c16a7d9c8687829dbd98fc608cf187396cfc6386466e2a791b87318cb2bc
MD5 f3367c133595f96e65784f3dfbc6b79a
BLAKE2b-256 353a0fde0a736764a9f3122c0884456ad42de509a8ef7c22bd38883791ea7d06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 75a49a8a039eec5db81ddc66a01a57ba8355b861f0f34030e688f92e18e72425
MD5 7affa0c2a63d9bb60abc02be932bac08
BLAKE2b-256 cbc5300dd50a2a02f5c289579c17621fd51b4f88d947fae1204d808781d7b5bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 545b879d70ca742ae9eabd46e385e7f6d1011304036124a667d763d5c60e7bb0
MD5 106d11f80b241e07fe498f861224bbc5
BLAKE2b-256 d80f54b3b062889c2e443185aacda54c279254ea5930f9318bbe7f5192e227de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b7f4d1242905b9d7f43e9e10798cc363d6328ca1b51b2e4867cc9f59053fb7d9
MD5 588511bba4abe9b7260f5caa6292fe79
BLAKE2b-256 672e6e04f90d6d156948dca122604434a5c7eb92ae5238ce296a6698a8c2f2bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 eeb0cb887f476194daf382accebeb281499190f4e3deab8e41ad5581a5f86e1d
MD5 d62f244cf458b502052703488564ac5b
BLAKE2b-256 1142c612157e2598a595048bcd9c8dda8dd736343db8db7f52dadf51159dd4eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c5f51e36727b77c5b62601825e630d0a46ab1bf38f09e9fdafc20f0d59367301
MD5 dc10381603c9ffe5b2713b4ad571c41e
BLAKE2b-256 c8e986602a02d03914ea780d496fefadf320d3d436aa349af9fc8ea6d5e07afe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bb392d7126f22e17c93581168f6ebe4a78c8b3f2b514a67f726cc3c4d57e609c
MD5 43fa0e00c128ea70441cf2728ad38c25
BLAKE2b-256 50ed6eeaa14ca53d8cf2d4675059326ca3233375993d1e980b81ed9f0c8f549d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1f0a4ac54e19628d4cd7a15d9aa8cb2d92c406520fcb15969b1fdd23d885988b
MD5 bece206993c07db406e5b9f4833fb4a5
BLAKE2b-256 33cc78a6294f9478e8501ea96ddd172a949557042ce61e2b6a7f6952245a742c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7bb11061374a85731296213300c2c78b7753aa64c6c77975c9f6f7f9fea6a29d
MD5 59d68760bc0cda0c0d9e2d62cd14f2e0
BLAKE2b-256 39f96d5a64b53fc47da8b1a4f5d3669b06d9b2f6bb2f87534e7d5aaa1ede73ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ae56279d27ea78104e831e71a40693fb75787c586ceed67a394b1b9d4a1670bc
MD5 354abe06eb407feb2fb59195ec6b602a
BLAKE2b-256 e247e831fa1a7f7ea79dbdb7470267b8c4904282995ff8868c6cdc2620f343f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7f484fb08975ca15fc9cd8fc13f232d01fb3b117d303843ca0ba63ccdbe31094
MD5 5fca558aa4c29bf7220d26063aa491a2
BLAKE2b-256 d2b7034ed8f00e6f59b632ebe28f0962e34fe86958af15538fed21eda4540d8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.52-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5e23596f3b082906c297414ad28ff733cbdf40a0ebbfcb669f6c556d04ad94bb
MD5 fd76b9e4df24cdffe439dfbae5028926
BLAKE2b-256 913ab616b51bfa45b373b16b46a6c83ea12a8ffc2c111dc2ddbabc0679ee5805

See more details on using hashes here.

Provenance

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