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.2.53-cp312-cp312-win_amd64.whl (853.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.2.53-cp312-cp312-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.2.53-cp312-cp312-macosx_14_0_arm64.whl (941.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.2.53-cp312-cp312-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.2.53-cp311-cp311-win_amd64.whl (864.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.2.53-cp311-cp311-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.2.53-cp311-cp311-macosx_14_0_arm64.whl (932.9 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.2.53-cp311-cp311-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

Details for the file gllm_inference_binary-0.2.53-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.53-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 08899a2b9f1bdcc4491304431101de318f7147a23bbe0ab70ab90cdddaa11876
MD5 f9e28e777e7c71763b973c26be95bd6e
BLAKE2b-256 4fb49fdc20d3eabd52a9ccf9b8a9c9ac726c8e03067212dbdb3b43474ccc095d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.53-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.53-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.53-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c3e218d7aa51d6a69cc001221cfb5ebe6953df1100ec9a19a305ab76e27a2430
MD5 1d29f5e9e70de66e59814f942649c950
BLAKE2b-256 96873379e5750ac3bc2764451885bf174b7215554304a5f45b9a9386c6788cbd

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.53-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.53-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3cf3e986ae94cab00c9555dcae9325fcfb7f81021ca793c34068719ed849ec9d
MD5 469776c6c1de55dc16b55adc410e1e37
BLAKE2b-256 d6186d2b47609ebebc45a16b91818aaef64e36cb9427d14f97f249e0f70e29cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.53-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.53-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.53-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 147e0395ceff1211c2400194b75abfdc0a5f6b4754ea8d565b919a75fcf73b4e
MD5 f4f6f996cbd752c9e351b05f99542e5d
BLAKE2b-256 920d7b95ce7f332071a1bca66824b6bfee9c987cde6bfc39c6ff2380174d9429

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.53-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.53-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.53-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6f213500e7dc187c550f0dc0e5e897a18a8f566110dbd629a2d2573440a24f21
MD5 575590278e11b3856f569f88aca26d43
BLAKE2b-256 de80bc1c90c05dfe338cc314fe9630f729f765c3e07025f5618c0d8846dcfb89

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.53-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.53-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.53-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 800ea46ac0c03ced6ad93c286ba4328a2650551ad93d8b0a49158599f920770b
MD5 b76d78c4db3f3d005aa95a3847b7c576
BLAKE2b-256 a45d0626a64fd2f1a0f6370f94e61e64aaaead1d352eb42f86268647ffa71e32

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.53-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.53-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 aaee24b77fe6aa0d902d2f64b377331ae98b0b5826a3341ce79c3a08a38ac2ca
MD5 5e4039909d0763e5de4eb11fa48f9ed9
BLAKE2b-256 1982e9df8f73b872b323af33dcc188ae0d0352a2eef80016b9c4d91b8c3fc503

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.53-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.53-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.53-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d7dbfc291c7471a423ff01490a27a048b911917032e2e236953813312d4d3dbd
MD5 347d173723757d096a6d5abbe2c03f30
BLAKE2b-256 527fbc07f6f1e0d42acaa4cb44456b77b942d5bc5ceceab59cd82671a9498502

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.53-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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