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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.55-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.55-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.55-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.55-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f3b2157911b60407886d5400c5da3e5063adbf063e9c4a8264e5e5f7ac647eb4
MD5 56d14ed9e165a48dc8aad89bcea2b60b
BLAKE2b-256 0a9e33e456f226d6cee0e011ab3b68b9084ac669f616cf35472c7c17f82492e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9c0d1df063408d78d7f9eef105d2a5bffeb03a5c17d836cb976f7819d49698aa
MD5 22672b33d4975fd7f857b5e45e65b981
BLAKE2b-256 0e038a31e58cccc8e61ffddabffbf94d1ab841343e4f76de4e54205bf25f4e8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b969d29845c83431f685a74979f726e6742834ed78143b2eb6dc65d4f6c22c9e
MD5 418be888621e40a64edcb68d4204fe98
BLAKE2b-256 381bfb0a0127dfae9edb53cc9fc92685b4c8b9856afb6e42397d9f73065ba1d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b92070202a269c0a59cd3899a4d942e4bdf70ae86e44e7bf6ffa10120b5bce36
MD5 954952037bb65f00cac1ecc8dbe4dbc1
BLAKE2b-256 64ccd57c150e1f9c3c2bd0779ddaf144674cb996dfceea506f798eabf0c8230b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 56aec0e75198b521b943249de050187765e3e0001c755ca3a5aeb8b2cf8e1442
MD5 a905126953bd1f9c10716203b27f713a
BLAKE2b-256 11e90b5a98fbb1d57a7d4a5d9a6024d52ce89ba621a0e96663e66fdbc9f1e790

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 73fa38662d53753dcbd1dae933494e00bdd9587297671ef046da4bf8919fbeb0
MD5 ffffa9315f86be3b545791ffed891b81
BLAKE2b-256 75353cdaaf3aa393702633878f347cfce6ea41f7491ed76d81a8df65a235fee9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d13a179f08c755924f7a1ba22808137911e2ba205bb92f1fe7599d5e328fd789
MD5 f68dbbcba8365d9d142bf077293aebc9
BLAKE2b-256 2f0bd36ae0c91626f5eb1cd8dea745244a631c7a2aed113072429c475dc88874

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c643bdb73375f579bc98cef48304bc8db6c4424f798a89f92ca2730c72add8d6
MD5 48f269807c13096f5c1b563488de5da2
BLAKE2b-256 a662d80e2d33a5b97c66f6ee18f40fbedd38927064b775f225926d67309d9ca6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8f238e2d0b5ff0d4d03efaa62c6f2c8c570d8113dccd390ba6372705d6eebd8c
MD5 00b72f5c433098cdd52fd18bb81886a4
BLAKE2b-256 248957e4b6a5c2e2e519c736d63d2921c25eb63806dbaae33dfe4e99f7bb2ac1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c757b495bdb769b7b723f5da8f40ecf68dd3397bd6a60cbbc7b4295c0fb0cbc5
MD5 7ecbaddaa0915b95a0c80cf51f979766
BLAKE2b-256 adad29812b7154052f5eb77295a069b9a873b8c538849c61d941fa8e0cb179eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3fb0b01014794882df5a13a2e8c09420afa35abb83434dab69833c387ec44bbc
MD5 2517dd9fd8643cca267f0d8fc9d721e7
BLAKE2b-256 20483ea08a74c7b94b33ac3c6a0bb567751fae47bf5e5bcfc508941dbeb60012

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.55-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e7696529319e1291e42c92ff63dd2c9b5edf25a2196e0bf12b48b667e2076ae6
MD5 82b5505eabe59acfdaa846d992682c90
BLAKE2b-256 386858651dec1533006465306e177eaf7931146e286e6539363b61b8106855ca

See more details on using hashes here.

Provenance

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