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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.62-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.62-cp312-cp312-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.62-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.62-cp311-cp311-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.62-cp311-cp311-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.62-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.62-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.62-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e05126da51be4a90cb14e1f650e7e1c2600ea753422fad05c214ae87084a4886
MD5 1dc13715f9745c40f8829d3af79e0653
BLAKE2b-256 225561bac2da4d167160b4c5d366c36a9c2974b47a4b3ba6f71269e9bb2167f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e17d481ad1a32fcca01efa04b1690df6740b8d2a6dcac4b8d744ad851d41415d
MD5 d8c66ffb3f668697d684db9be00c7e17
BLAKE2b-256 e1ef0431191363887cd839a80303f031ffdedb43c123337c7310d63190b9f602

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fc3d37e1527898c523a8fea8b6f355ba913ac8820ae9d35b2785df0144cd9c8c
MD5 e1ea7caf7a0badc15318d6d9ea3984a9
BLAKE2b-256 12200c385c24ec764d559aa9c05143c2e52b874c5e231c332c1bd1cb0e4eb091

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0ac839c674d6c9c5bcc269b502f6760438a8fce72556ca8f8f2f480964c7058f
MD5 cef8ffa1cb85913835be855890a9cb94
BLAKE2b-256 62925cd6d0f2dc55ad99c8157635b10c3c0dd178f443b086c139647478fbda99

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 408f7e9112217bd607141ff76ea81b2496049efcfeb38431db37232f7bcb188c
MD5 22d7450fb2989c4af8135624708d26d8
BLAKE2b-256 981ef89241f7385d9ea15de9fa7ae207fdf21fa9b5a9b1d9225a42f5fcacc6e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2c34a3c8aff8ff26b80255877bf4a322f6333a3ee1596fe4d6829d9449cdbb4b
MD5 c8d4ede2e101f9743e7ce747d6bf0b9f
BLAKE2b-256 e5e475963a2da5b2237f499fb4ff8fb27cb4bbff8b4e17be1ace14758796cf6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 72777a82527356bd96e5c3082bccd6203ee8897a6f2d609872bfba88cc8414bc
MD5 d771259d5996039283f2bbe7442775da
BLAKE2b-256 47d82fb4d070eecb18ba8e23e7c7aff668859841d8154e9ad8a254f1470156ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0bd7f19f62db8e3908bd1ac9e28b6244d0f9f60727e9b6901a1ee6361e01fd0f
MD5 21faeaaa19f8c66c3fc1a2aa2569d938
BLAKE2b-256 3f5070d89b9deb2493af94ec159bf1100ff5bf13e85e7ab46bb70eba26fe6067

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 92265f2115562a7b2cc606f14cbfafde3252664617480e54fd4be9e3d858bedc
MD5 40ebecc0a9bc61466ebc0b60e1aef199
BLAKE2b-256 58b8760736315336d10434b0a1fd9fc04b2ded76250576a64fddc8be0fbe4309

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d78e2b8db8736048b604cf3dd1ade8204d89b63ea2c744043d874973bfa85bc2
MD5 1cfa0bd65b406c7ea624dfa44e2965c2
BLAKE2b-256 d91ca68d53879858e6ef9c56668464cdd3b587cc1192475ce99224b5dbe394c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3798466d8913d5c9b3dc8b1245b3dcedffd172baba59785e720703c11666d486
MD5 d71269828f0a0cb65adb7ac436072603
BLAKE2b-256 0a113f005a003ec2c6085df52d83b1ec864e6ccfed943c26a77ee99dddf927c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.62-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 dcad9cfdce46e5bdfab5ef929aaac0ec72295563d08b6887971f80397b44f939
MD5 892e726a7ceb0a640633bf25bc5c87c5
BLAKE2b-256 ffc52f0d3d563f8026d74cb6bef019bbe72b3efba589a4e25893cf4db45540de

See more details on using hashes here.

Provenance

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