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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.46-cp313-cp313-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.46-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.46-cp312-cp312-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.46-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.46-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.46-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.46-cp311-cp311-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.46-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.46-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2f0535e50ab76e353d694be6a271f1306e84457c1ff0a5bf9d95dc5b33b03eb2
MD5 7c0c914b3926a4affdf4982e127e629f
BLAKE2b-256 93f299ea900cf9674170fe84e342d9a6161f0f7c5c8e2c614ff4ab45560a48ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 33e247548cd7514dd9a8b2c74fa8984489711f9938aeac2b0454d9bc697fe66d
MD5 88559c654b096493dd15ca4979f53bbc
BLAKE2b-256 54ae74d26bbf0f3cef42140856c8c107d11facb46420345c23f0ea54441c8329

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b335977864336c25260907313a8c39857fea75c797104a62dce54c090600d03b
MD5 d5d74c9bcfce4f5c28354cdfcc840863
BLAKE2b-256 39895228be88e542b3220a97e96e88bbf4c2f31b444bc48e3957a6c891ea6cc9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 15b942957a213b18ce962def9e264e78c38753de01670c5567f891d2b13996ee
MD5 4377bada8c92967357f7845ef1c59ed3
BLAKE2b-256 6b76f646e41a78ba2979f80da192105df62941a1159c41bdf05a423ceedf6eb5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5e3706d6c8f65b52ab505b024f1cf8787fc9e74227d6c39a32eeeec88c6682fc
MD5 fd87e0c27d0bc6590d80fba02c6a8fed
BLAKE2b-256 ff79b45359052ec189666e658cd4754276130b13b4e3ca265c7f19114464dafb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fa447335dc7928f95f006b5aae138469476bd0d2118aac6a6875e0f4c0ee4999
MD5 89135bd5db4263ddea629ddc90565ad0
BLAKE2b-256 d63e8d00f5ebb4b04fdcfe7e5476f32edca8b842cb6e11a404c5d7b459b4b01e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7ec11cf6078dd577e4f6f6fb7d39c4a79f7aabf1f0cce8d1945e099fd93f64a3
MD5 eca6bd28605d155ab472dc0f5a57dfb2
BLAKE2b-256 85dbf1005beee94354235331569a7a8c4993ddf26ca37467f613b1898b3ebd32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f98c46ba644369ab401e4f0ffb775b9a575531f9fe0096f603d11df5c21bbc00
MD5 5f7810c30edce6a413b525304457cb73
BLAKE2b-256 242fce778376d1746c19110f8f288f882442f572b99f72761efec391bd51a608

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f8ba5665af2f38ed3a0435ad7de952dea9b04645deebe300af6ba20a3464799b
MD5 c8935f4d9f08282443410deddf625c89
BLAKE2b-256 55df2eb30c30f307402030ff94ced89ee989e2324cd2d0c6dd1359544d47fa95

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4a47f33f898f50665f4182b03cc37b540e6ec91ad73a52f369769cf51c4db753
MD5 8a81becd04da763304d1afb4335e6590
BLAKE2b-256 fdf03db709f1435c131a1cdc50b36e067d5e60d21ed2537349d7305f9215b1da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 489209ec1b96add12e4230880e21f15deda5dd09a5ac6d37d83bf1b9c3f0d09f
MD5 7572a2743e600031bcab1c19a2d6343b
BLAKE2b-256 d40e24414b4f7af1acb358139a31bdcbcf1c84d1be40857918e2b5bc387bf37f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.46-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2bb16d308ab16277bb4acf82fe7554b45c2b67f0807eb3f1bc8a49240933ca93
MD5 01850dedf545fdc5d9e83d3dffefee04
BLAKE2b-256 a05bc9ee2f3a3292446cd185392408dc3c9024b8ba279dc655a7d6b1ef280e2c

See more details on using hashes here.

Provenance

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