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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.58-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.58-cp312-cp312-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.58-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.58-cp311-cp311-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.58-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.58-cp311-cp311-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.58-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.58-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c92c9bac374bbfbee2b6858d52583bdfe6def3ca950bc75cadc6b75304dc39f5
MD5 2ad24b60eff429dbae008ce8c1e26699
BLAKE2b-256 b7dcaa4fbb267a7c17c854f37f5cfb6ddea251db8c24e718a34210f907e2af2f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f6c8d4da7bd6fb8b748f3587a12ba1a49b2d0e66282921dc5213667c549ccdc2
MD5 d33d15260bccdaa53630ba7223317ba6
BLAKE2b-256 205edd452b46fb7b279ede3df2f0acecfc6a42865c30a72cd51f271d2bbbe7cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c37de757afce811d1a52fe897d57ae8fbf24b6db7ea51e7a49d9a3738a331651
MD5 17e1b26c32d3fde3a64d71c822102af0
BLAKE2b-256 7a40aaeff7d4f0000d7dc1e549511788e8f5f2e25694b4af9dbdcdb6a297ceb0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3d79b4d90a3692ac4bc01874f3f129c3fcf83db5de2c1551eb99de415ba9862e
MD5 3fcc51f7e99e2f7472d28215ed08ae87
BLAKE2b-256 aae3bf6b27b01c98b398cf48b91cab27a119689183e447b45b5d664409473471

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6b592a45fcc10b931d6770ee18cbe03a03abda02d87ce6c180c216ba9c2978a5
MD5 be96c9610c10f14b6baba821483eabf8
BLAKE2b-256 573b155f0254441665f975c95a27daa30567e811d7f3a09579683308e68d2c82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 94affc48439995519917b1c7f357e65c0f776b3853186e7647d719ac2510a076
MD5 5cef562bf3e26a13185e060ed6a13113
BLAKE2b-256 87636723c54737fbb22f6c1222a7ca5d124a64ec56721c7ee30c879a882f17e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1b9f59a204835ca20bc1f3280eb1e459e5c93e737303f643a708941f8e536be3
MD5 26884c1caa7ce9b6c1465a62b6b3f736
BLAKE2b-256 c5c02b5b36a7b981b9623c0bd1f96575420afcda54a12933c3e9242234a7c648

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 19a93ad2cf556040e91ae3ab148a3c97df4fadbde7bcbad8f3db6d367cdc2089
MD5 eb19ec856fd4e693c9c7ca247ec1aa10
BLAKE2b-256 64f8937b95cd5cff3949a9556733b98b721ad22ec1de6ebdf711f1d1166ad923

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1532e3f7dce4d1e30015b150533d426a918fdc24bf9d93e1373407a83fea2ee9
MD5 6aad4db9830678db601f605017c79fed
BLAKE2b-256 e86715e7b71b2ba35bff9adb7a42c88ec9a3f9a3026b05e85df7aed04d47d3a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e25fdab13b4c2fb59aef727af0fc9d21e06a8ea3c8a1bf35ec2a97da44115c9e
MD5 0d610d6cf7f8e937816939e0da3c83c7
BLAKE2b-256 2d1a5835a43aecc66677f35e0f5e8941ba17cc0d0b7b24aa5d54a6f94674f2a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ffaae20c48ffcdc8404940ff0ee79796d9005e9d1187ad57f6ac345637add380
MD5 95b1651f157b6b84cfe71713e94a3e47
BLAKE2b-256 94cc9ca4e20020737ee15c713f70d9c44fff696421bdf2fdb186313c8acf34aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.58-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 16d258787a129276c5612ed54917fbddaee4964fb8a9fa06c308e01a00c5afc0
MD5 e5888cf60fe2d2fbc2e7c0669c326951
BLAKE2b-256 dba5813404e702c8f116472147aa8c4340eb9011699ac76f3201af47688ecd8f

See more details on using hashes here.

Provenance

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