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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.39-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.39-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.39-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.39-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fa3ef055438f5a52f254432a35c1167127ccc62ca58e7f27a41fbf570c8b26c7
MD5 7f5bdb517e2f1828d0a7083b029669ed
BLAKE2b-256 38adb2067eabdea13e49c831f5ddc69d7e1c053e4fba1672be5db3edc926d977

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9f78fad48ef5017e645cc98fe4d8ecaf614d0fe52c48ae09184314f8ef3de4da
MD5 a5b06d42badac7c18827b0b3daf43b0d
BLAKE2b-256 8656badf1b1fc97e2b3f124ba190524240eee8e7ba32e1fe1e3cd1528c9f938e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7eb17d1e83185e3c56ade1b90a79fe1a24f81997b123856251feda8daae6c8de
MD5 dda1bd0c64a02bb577bc43a88a1de419
BLAKE2b-256 1dbb38f734a088e34e0461d2c6aa551cd145e0e216e7d5c74bd2f8fa035cb4ef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e3df6318a83060c50447d1ed8adecc8df491cf0d7ce2ad63fc92cba333a0c8df
MD5 dd0d740ab28b44c7895f10ce56cbdc47
BLAKE2b-256 9fa08a735d99499146ab74b6057d03c696c71a096dd10bd6efb993d9433a5d0f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 062383dcba636ccf6c490f7f6ac44ab36c7f7169df5131d8fe4340199652145e
MD5 2825ec95b35e3fe75348615b2135cecd
BLAKE2b-256 37855dcbf16311ba62231271128d4fe27f721d17e1003c7f6652da3f36d54edc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 dae54dc0938aee7d8035aa7d74e506dbc40bd93e3754ace9253f23ffcdf21884
MD5 fbd349886e8c5b1dcebb62d51b8244ac
BLAKE2b-256 7a1ec3983411246d2f29a50b68469afa1ae7b43a1fbbe03b84d9d547438e4952

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9c92bfc28737958b3d50454316b82bb26408ef047fa3c579a92650fda972b5c1
MD5 faa6ffc9af6e0900ea97e4207afabd8f
BLAKE2b-256 de7c7bdf24a5f57fd131a006ece1c5a19204d199fb48dcfec970b44227a0ed4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8199f668cefb0e3ff96e26b84b9454a8b9a5fe80128b8fb158cab65a67f402af
MD5 43b68bb95b91ca60385c7725f8e85aea
BLAKE2b-256 5784c475ef6f9a158bb2b2f19e076fdbd1db768a2ff79f1ed5337b923ff4372f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 767397ce98849e3578dcc32ee4f817bf655cd9194df59aca4cb500fb83e16893
MD5 5ce19653bf7229d0671aa518adddd2ca
BLAKE2b-256 4fb1860fcab39ae85e1542cdd5a6b3edcf5e91b11d6a6142f093f8076e9417a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 95bc43911e8f8fcc42283f1208ad1a06ab51a3fdc9d404f344652a12142b0daa
MD5 8e92bbde853e27d4249827ad2a3b1912
BLAKE2b-256 7e078a59ff6619437c935ccb2976abc9c873a763dd2f87153709c1f7e6b6b387

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0b7cf635038718786a9dd42affa1491f791bb9324057787d24ba4e45fb182d5f
MD5 9a8c25b72661dc53fcbabc31d1db5d65
BLAKE2b-256 3a313aa16cc4de27a8865880365a6701c1046d8524338afc4c1bdecbc94c1bcd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.39-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ac0d45fb1451ff9ad8d84cf5201e5f79b447b1b692b9ed4e4a615214e151e317
MD5 284c792c50e17d83477c63877c17cde8
BLAKE2b-256 6c168e881631fba1b9feadc07a250c5e69e632c7db264799a1079fb1d294d431

See more details on using hashes here.

Provenance

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