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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.12-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.12-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.12-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.12-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.12-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.12-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

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

gllm_inference_binary-0.4.12-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.12-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.12-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.12-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

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

gllm_inference_binary-0.4.12-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.12-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 eeacd58a684a15003208a85ab960dc74aee5d117de694f49c149b2627c13fd31
MD5 a31e144b2991c3d75c2c2dd45e022210
BLAKE2b-256 ccc52dda5e6371256fc9e66d3e0555f143d7e4e391df76b6f67b7bcf3c80d8a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 129a22ae0c6c750445440b5d86b0da6dc26139a47e0ec4cfed094ffff06760d5
MD5 9e095745085a9be2a2e35660306bd578
BLAKE2b-256 611a1076ca79ac088d24573f5d1e5984c782bba58b7c4cfad0c6475ff69714b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 575514ff6e426240200ceb2f1054cf0f010d78ce12f49a1044f65f07b4268cab
MD5 f192064aab5abf94ac1bc25d576aca9a
BLAKE2b-256 2df6f22fdee5c49d15658f8fd10cf7dbd8010d541eff35cff9a0352bbfe0ef4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7caeceadf1dcbcc4ac2ac5b607b14a625645c1ab8ab335cd6eda272610df6333
MD5 39582f4cb6b03e572686fb0b386167c2
BLAKE2b-256 6768488cd3e2673d5f14fe53fd8f6086912458c9115665d16cbda153e8bb515e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 89848a94545b4aac4ab7bb3f58311364f849074fdce056fc024b8cf18cc6ef09
MD5 a151f61383f8aa86ed7ea38df7973169
BLAKE2b-256 ea3dedf1093b8f5bd0d224e755769b7f57f9d281b0781cb14a42173218ee330b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d7a71da478795a8d89c2dedbc7a2ba6d6c2815bcf0a8092a81835f66fb131dd9
MD5 bf4af4a4c2d729eb13ec1f8a0bf46497
BLAKE2b-256 ac58b311bede6bdc1406249a2886412578ba2c30a5cc645862c800690f783505

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 262dc4549721a93323a3ec3962d1d5d28fa7635fe4e8b59003c2406812b14607
MD5 4b02a1cc5366e37cc2e7ffbe65c081c0
BLAKE2b-256 b14d77ff205ef2f8fed9c3243e81441f1bacad24b4df116cef20ee2d92091475

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d49697c787f4118e8c2a4cb2e82b1bb32fe482cbfac71dd4c906cdebac42ad35
MD5 dc460fd9e637696c48f8d0dc5999fa3b
BLAKE2b-256 f2c00eddcc0eb90c71a284d2e0ee803e0a581f69df38713aeca8ce05871d2ca3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9aecf299f82ed24d174ad9b0d7d3af03521e76abf3617b34d3d35a73b47c0e72
MD5 3de41facffc9eb3637f01b478603100e
BLAKE2b-256 d2010e976e05246735cf21e77c564618756ff846c695ff7737ba8f924175a23c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 46e2cdc03764242a8c1fa26411299e973a1606aaa244b6c6ec07b110a462c6ae
MD5 46e18f9729e5e01c5ceb1db5c57c4915
BLAKE2b-256 091b14777567f4cd695c2ec2d6def605fcc0bdc3cf4f8a7dd3f3d02bad194aae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 24b160cb15265dc61f81ac5af21075b415ac88b808a99ac6ef7df384e202af4c
MD5 f0b890e2e3b0c75658b498254a6b20d4
BLAKE2b-256 2c7be7eb420c6ef6c3a46e252c4539217fd8ce023141259f7f03e1ee34111b0f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.12-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 34ad0466c3a6fa4d094aee4b7ab862c49522efa7086f8b6bf3b52ade21d8fa3a
MD5 c88ca844dc6a2fe27c0bfaf9b87d1631
BLAKE2b-256 40d8c96ff43df86fa2d1fdab377b918cb7e6e44f4c61589c0bec944e6a8a96a7

See more details on using hashes here.

Provenance

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