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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.23-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.23-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.23-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.23-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.23-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.23-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.23-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.23-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.23-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.23-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.23-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c2e89e50e95472bcac006b5bd81f8cda99680cdeed5e095468d63727b65a6af8
MD5 a2052d078294a53b7454aa84d2fd7d78
BLAKE2b-256 653aa531d5aa3946063860e6f4a212d2e1d1f1cf78e06ee1676328e9c85e1b4f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 76520f0801047b795eb3ccf603a31f231a7523a20ff6a6bd4b07b7de0674d6a0
MD5 16c376ff6184c7515ef3c3c9984e738f
BLAKE2b-256 e1ac3ed5bd33f3e9ade38da971eba0ef08806315e76a2243546e7f07e17242be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3426371463a4c86c9b90e4e96d4a25d35c06e6cd77bb06c8193d72f1c7a85f21
MD5 43afff01bc58406e3161fe5611ca1b6a
BLAKE2b-256 22e582e59d110a1400e2481834afbecc8da8a0d3d039b00ca15a21d0e3564db5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9e5c8d7370061e64277ebac948b9bf6a250899cde81b1fe1c444b190278a68cd
MD5 7ed7d9638b714f58cf4140793aa19116
BLAKE2b-256 b54fdcbeaa8a37686986d7c2e893307f49c410cdca1f8f9555ae5e978573234e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 77705d48d2830459272088a97330c8a280188819754da28f72c9980a76f5040d
MD5 8a2f1c7cbbc278ecf81fd4e4ce560bc5
BLAKE2b-256 a66b1e01b8fbd991a31b8a3abee1cdc33693af17ee2402edfe636e5759d88809

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e4606563357b9de5d34c786500207050a82deb60dbf6b16d04ee8fb6d77f5c97
MD5 32240c61b53ed41861df53bdacffd1da
BLAKE2b-256 6df38dc64869465dfb0d65b47eff966ed1028186f5240f080fd1d33c0ecf7d0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fbdf6d2edfb0806c59cf985a6af638d15bc32e6c40bf658ad411d4d15e785d9c
MD5 11b016e94c10d63fc8422f09f909aa15
BLAKE2b-256 3827ffd32876690b1d95a0528e5e49ec0e1caeb728836661f99938de3df32573

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 72134d352792f487a4755bc96d30e9943b6bc336980f7b386d3bb3d7eb8d877a
MD5 11a692c219142314fbc008bcb46543c8
BLAKE2b-256 af5641d7a5328c6d594475fc0bd180a9c4c8a5d22a66344454ff42de5ffe94d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f150113bb552ad73ff4a4b8dd0ec0d2b560a6e909626fef424595cf888a2e835
MD5 b19adeb01c225462fc77ff738cf811fa
BLAKE2b-256 5f4ff24c97f279f847c5ed0f282aef7db74640b9e27eff903499d77a4a8200ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bb687e4d7c3c9a9b6d1af2404ce9989dbd7f7f50c6daf61a8a20f6c3deca5c87
MD5 27acd867820f6553672573d5516d6eb4
BLAKE2b-256 317ca99f20fc6ad85a430bbe2d6760924ce1724365048fe40d2bfb5c90a311e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 70cb2bcd528b73f8ed835f99b253d06c4e9feb27944bafa2c1ba713e176495a3
MD5 a809578a65ceb86fe919a650ce2f0b21
BLAKE2b-256 c6fe4aeb48e8671a78e3173dac5019e8de11577f1587489d8d659dfeaafde71e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.23-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 905fa9538802527cdba057fdf14ee5dfdb4f015e9d7a78e8ca5bc9e8fbdf4110
MD5 5aad8c439c9ddcd62050a47517ba081e
BLAKE2b-256 c7cc741a591fa8346bb2c0e78e563f5f902cef9a299a46436b79ff70e3483bdf

See more details on using hashes here.

Provenance

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