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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.32-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.5.32-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.5.32-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.32-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.32-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.5.32-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.5.32-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.32-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.32-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.32-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.5.32-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.5.32-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ad6081916a1d88ae36953752c31f8b43283318785fb4b1a77f5dfe26c44c3136
MD5 56bedc9702737cf1d36b067370346ec2
BLAKE2b-256 e8853ad2875ce054221cffab35774c7224597360b5e8f60ccdf55cf8c0c07b20

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3764c2c69a4288565200d00d158cbdbdab12fd00b7fcc94733ede73c32a59235
MD5 6dd34634d8841588b4977a0e12368c8f
BLAKE2b-256 292a340ce727d82313ab6e9ba9562621804a20d075815a3af2c52deb80544b22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a51e03e523ea3f50668f79b4f237e5788f601fed717a24bfa88e37f620dd4249
MD5 a96ed63e33abd352822a5cb381b5e308
BLAKE2b-256 42047d49aa3793d473d8e4b402a026aad6e7b538f6887e154f8fca381ea1e451

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1a8d8eb75721f05152b5932d08935145e7a07d3e2300c8f0be5d783043d2d570
MD5 0422d6ecbbf9a96d91f2463cefa9d1ba
BLAKE2b-256 264cabe5882ca8ee0d81edb910b6fb60b09fd1a3c7d27ba57abd4538676bb1d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6639ab8a193c1ce238edec941e916ee013de860426d8f5e553a935a76fae32de
MD5 b70f6a2a82dd88ea5ca81b481ab10249
BLAKE2b-256 dad950890dab1a16d031c8d1eea0662b6d988dd334707d0755ff006bacaeba45

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c233030ff86aa20d906a46a64e0f85f82c1cf8b7789ecbb23e3cf93320c08f9a
MD5 fe493bae5ff52483597e50c452955371
BLAKE2b-256 dcf37c02e8175a8a1d5b720f522489904e20bde0f51f647c4765b770cf955969

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ee71cb6c1a79ddba6c2ef98445571b6471830bd876f2b3c6bce124ec4ca2b236
MD5 7fcc41b463b70c8750acef8a11fd1f2d
BLAKE2b-256 c1f9c7e90ccfd09c7a2c4ac347a0628faf2879c62013729308626893bb931b94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f1fbb414d6efeef79c7ef11a0b87d318cc3a28813c7b8deb08520673909e457f
MD5 efdd14d39eaf86ba5640ee67fe9004ae
BLAKE2b-256 e52699ad058f18c3937dbb286b1c14763f8af16e8a07fcf90b3354c666301229

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 471ba73ebce29ca3b50d7ebd0def7c70827ae75906218a00f3a477289f533a6d
MD5 d4bd7161541469b4d73fa3c78b743336
BLAKE2b-256 acf87b4d5f2c41b4863e65fff303098970ae0c6f6f8e542614a90bc2c7444f0f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 79b2ee43bf88737113e203482c017eabf7dab97cbe4aeb1bbd54dc9acbc22692
MD5 87ccd9ff2b6078996e66a9a01a2082d9
BLAKE2b-256 db13b61a1f2d5590ce0828e683ee7c0c733f95ded541027db7dffd7e8c1bf3dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 24af82b965a2f92c0ec3723dfc75657f8f15f6a7aa6f5f1b82ef84ee97934a79
MD5 d3d8d2a3b64b1438e2be0286debe2423
BLAKE2b-256 90e42ac7e6b4f81e1d6ab1b5c9c945217515ae228a4e690e2a9f0323ac09dda3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.32-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 709b8bd634016454397ce1f4bcc225ffe468f29ea830bb04cdb0f4e196eb1dae
MD5 011c08435914ccb369feaacfb4c050b6
BLAKE2b-256 0444259836ad5e138bfbd560fe3d8904366bd4698438145e45114eacf8b32fa6

See more details on using hashes here.

Provenance

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