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

This version

0.5.8

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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.8-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.5.8-cp313-cp313-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.8-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.5.8-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.8-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.5.8-cp312-cp312-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.8-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.5.8-cp311-cp311-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.8-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.5.8-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d73c6fb41ba3cbf5f931c8ca6628f5865c7e03401e0fe2b3884e3a072e89e363
MD5 d32b8327fdc79502216766278ae81797
BLAKE2b-256 a01b614009282ff71c2f4846cbd8d067167c8f088d10ddf8b218f4d8cf2ccb8e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9af0e01e279a324ebdce2fb6cdf77ff95c48a4793d5ef969ebf7973bdb23bcfe
MD5 4ff09bb4a85b0a819258262343b5237a
BLAKE2b-256 48299d8c775a55b8bedf6c1777668c21da20094692dd38cf69cd0e8b46bab99f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4876e94c2c9b21d912d06e6203f2454677b67f1d87ed8070aa1cf68edbcbe2ea
MD5 c905cce5922b691909bdf504d0828d61
BLAKE2b-256 e0d74e835d9b96c3cf2f7e33fcc6caec4303855970d1762b1f5dd86b2cc6f3db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 97363cf8b006e4822b044d2315796af4698095f994766d378f93784dd76fb60a
MD5 237dbca1ac275ecf23cb3955c377f1bf
BLAKE2b-256 6c7350322fab70694364d46f246e16aec39b5e182db16453a99dfb46260412ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 46468d30b27c05c2685cdcfdbce04a819d0f6af590c1800e92ec836b00cce898
MD5 49bfe293b9d835631fb95cb0ae2a8172
BLAKE2b-256 a65cbea2ac6489e0e0d48608039e8cfecbb31a3d6f7e733fd334314ea1073144

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ec241862eb4feaab7451990b0e73ac767304e2273b467bf7a838aae08c92a1a9
MD5 c498815d06d7afd29aa2a10f95ca78ba
BLAKE2b-256 f4d121f52d462618c68d394ff59d18d5f31638c96d307d2ede09204b62b2cd2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f806373dfc5402af69ee25dd7c745de6cb78ebe0fe3413a1accc5ee7b0ee9cc9
MD5 cfaef6756599db2b230de3cfdc9c1ae7
BLAKE2b-256 a9e4074bf246bf0cc5f208a0b512d263cd60a244bf35722f77a12212765708f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 822df6f5341dc92e54a39548e6b6c69debe1055132253eb25759a92a1b0c773a
MD5 e3d330e272534893b9e3e45b75808bb3
BLAKE2b-256 5ffa1a29b74a8bb9ee3b8484510de1a767de2f0b5f7477bb3b7829353ea24f67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3b15fd1dd0f53a3e21f48a1b72fd92fd7e9941927e8abd946ef82c4365a6c31f
MD5 b7ddad176d5f6c074c8516806a392d3c
BLAKE2b-256 309d496f25fcee55d092a34e003414c01f8d196d75277c2fab6c9140b90d3dac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1756ca1514e5685a4c7618bbfb535f38fc16986f34c580a1c7d8031c788bf61e
MD5 074dec6aae50b2bc1556bb592a219fed
BLAKE2b-256 4f17d01e31686d6f10e5aba210471ab9d8e40d885e944cba24b70edbee40590c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6a688a967204cc8678aa7b6e52af492f788e39bf95e7c1826855661989747f89
MD5 e153111b67a8953a8cc1544812a5ad1a
BLAKE2b-256 277a42473f1872f8bbd1a1cb3c1f8b6fd911787647aff3ba764994c3fbb2e6ef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.8-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 db17a4d8e21266837280a2e33ec8087b0903d917544a182772f2477b233c95f7
MD5 f1a1a58427eb7d3d46bfe4859e5def2a
BLAKE2b-256 de36297650c38de49bdbb82e078c35e680fdf9dde439bc3089018d8b5f3503e6

See more details on using hashes here.

Provenance

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