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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.14-cp313-cp313-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.14-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.14-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.14-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.14-cp312-cp312-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.14-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.14-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.14-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.14-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.14-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.14-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_inference_binary-0.4.14-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 148836a2aa52ad49c50dd4acaf17fcb8a16a04ac2d9636fee453468631b2eef4
MD5 88d09d3a19d6a27de7f293a577b2d47e
BLAKE2b-256 151f832f420460fc3ba0b3f7282a330b24d66055e0b7ae72c267d99cd64496d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 dcd9653707753689e77dd37d9e2f36a5787626078b5cd0adf3958030e68fc3bc
MD5 d2478028ff88de581fff4ed6eda5986d
BLAKE2b-256 1a494c400f4551342dfe8ddfa4fc9282eabbf0e42ce6f3382264464e601e49ed

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.14-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 347a2470effe6a172c464a3ef6b6b5fcd69ccc6f2ae7f5470026db38f93bbb5f
MD5 c511b4d1a6023803ee61acb21f00b87c
BLAKE2b-256 325e693ea9356b1ddcf46457324f7f2ac896608a234809cd60bb20dd4355e96c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.14-cp313-cp313-macosx_13_0_x86_64.macosx_15_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.4.14-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f5a63aa669fc525538b1ea2ab0d38a8bbc4fb51a97c470db82a77227ebe02a86
MD5 7841049fcf3d4d8e3ae90ec66573a3d7
BLAKE2b-256 a2c68af3910502b2dd75f54e57aaf7aaaf85460a7f60d0b5321c3c6e76bb13dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.14-cp313-cp313-macosx_13_0_arm64.macosx_15_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.4.14-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 60b2cf16f165b959494f258d8b8dab5c81c37c19643e09acb94316b71cbfdd81
MD5 f425544fb74cbe8ef189e4ed0c09c4a3
BLAKE2b-256 079c9499424f8b0ee965cb3c220bbdce1e6ce2ffd68e1805589e0fec58d8e374

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c57c9dd5d99f42786c4dfabd211af6965d79dace5a68a8de81d103dea723c99c
MD5 bc34346f991bcc2613f41d76e8bb86a2
BLAKE2b-256 ca9382370adcf617da9ef328ada0884f9c6b829258b6b6cacbb2ab2307f7f57d

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.14-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 6ab8d8d91abb14435bc69357d0b68ef41782bb0edec5633068eb36e07d577cd8
MD5 785bd1c644626a13c7baae77a918b480
BLAKE2b-256 6510315d2273355956985ff63438812ffc22700b07e227f9c5ac2cec4b56aeb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.14-cp312-cp312-macosx_13_0_x86_64.macosx_15_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.4.14-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d16af1454ec85ffd4c9e4958866950d26523e2d0b516b73ebccfe5c1ea279393
MD5 5d91833070553da41d3298b173b7ccf4
BLAKE2b-256 d89600e3cd8b318f10affc82711f5bb36dcbc4d99213056b8a63b824a32d8db1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.14-cp312-cp312-macosx_13_0_arm64.macosx_15_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.4.14-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cf6f8c2651528102a248c8e49504ff08abc21f8d859f79928d7cba2984f34d2a
MD5 a05eec1b7bf0337d717a518be5185bdc
BLAKE2b-256 aae7711ac9a191c9ca3a4f0b6e59ab89a33666496aa8847ab7b553eb18fead9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 133968471b0e954d0dc3f06a249556ebd810411f6802d5ac248726422291d59d
MD5 f1300cea84253f2b096dcf16c1a98e6b
BLAKE2b-256 6d5255e415b3697939d78a7a30c5f5406002f2b2dc8ecdc5c5bc0a18f36cc8fc

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.14-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 437f2a929fbf9b5d1110edeccdf5163fb5a637593bc68bf67cbdb3c8ddda7f22
MD5 3e27e2ca9486925b36054b86a7733b00
BLAKE2b-256 c4920264f2f1624d7631e83651577ad4d9f527c615e5b1d1fcd4f8a2af59baa6

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.14-cp311-cp311-macosx_13_0_x86_64.macosx_15_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.4.14-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.14-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f72596c5b6764c44e513f4ae6f2442dec3802102d38f48654cfda0e6b96ef534
MD5 5c85e7eb71bde074334ccc0b00702f83
BLAKE2b-256 55e7ff07c3e4de456713470893c371fb703f1d12ab64ece3f58e15553a283b0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.14-cp311-cp311-macosx_13_0_arm64.macosx_15_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.

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