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.3.12-cp313-cp313-win_amd64.whl (950.3 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.12-cp313-cp313-manylinux_2_36_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.12-cp313-cp313-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.12-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.12-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (984.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.12-cp312-cp312-win_amd64.whl (953.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.12-cp312-cp312-manylinux_2_36_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.12-cp312-cp312-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.12-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.12-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (978.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.12-cp311-cp311-win_amd64.whl (964.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.12-cp311-cp311-manylinux_2_36_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.12-cp311-cp311-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.12-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.12-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (965.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8de198b4d5fdd22dfe9535fb4f89f2eaa4b907957e28b9f5f574c74dab60b24e
MD5 f3097f3ebcd1cb6d6281c8d3b8a50927
BLAKE2b-256 6b31d7fad00b3be946eebef41f76bed3dc33daf6d33b1ef84d3d8e24311af66f

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.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.3.12-cp313-cp313-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp313-cp313-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 1a4da3a7a7d25449c5414b282345a4cddf4d282f69b824da1a10588ee3978e31
MD5 6403f1d9fcd81d087594bdda113e032a
BLAKE2b-256 dba8c4d4a42c83aae02da3b42939980118f09b198a671b0de9aaa77dda441bbd

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.12-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2b99d18ee4acff265e0abc23310bc682219584c79f35cd3d907ce9757e36bb65
MD5 ccb1e26403a3c3a9e99b4419cfca98cc
BLAKE2b-256 5d08d7ea18471f7cd398c1f021ddbff427607086ccb0a60e2051921bbdb1f735

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 8eb38822cc5c936c9efe262d91e22b84a3e55ea3622f132c7e359820c70e928d
MD5 c6c8c512f26f50a3ff354e3a743debff
BLAKE2b-256 964c119ce078153a67b3b0ddb86b305d24c172b4d194f540b3dca30eec4c2699

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d7568fd8fe42f7b340a79ca314fa45f4514a10bc53369a3f6a8f2bd82f930ca9
MD5 022febeab3df3117010bc5a459955642
BLAKE2b-256 6f28377280a7e722a39cd184b356894ab56a21f4bcac071d62bd914868948f3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ca3d69b38cae1ad25fa7f06e4e5a11d44c68997ef942b181d1a922cad6af94da
MD5 fe892f1aa10d71876f41e5425de22b82
BLAKE2b-256 f9a65cdf1696dc92d5b0860182099ad0acf79c5acb185fdbad87260bdb6f0464

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.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.3.12-cp312-cp312-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 1aa067d04d8456f22c68b68a24e7c486a06abd3d694af99417e9abaa6a15f001
MD5 77b28ee6908b45393f448f277f9bff19
BLAKE2b-256 6af601f93885c702094cffab7a44c8c477c384b622755d7e8fe19a7528625fe5

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.12-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f60a40a342365191f42fce1e6950d37dd9eacd2ae2e806312905260d8111ef57
MD5 5e70648920231e4439a1e76c4e664cba
BLAKE2b-256 e9adcaf30f795df31336e3898a1f6d887fa1859888eb29daf0e7154ad5d5ac26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a1fb6e78cf82190e301f9726c62b777446b87f0bc1f3e90832f59376dc7f1873
MD5 9b2c744b84e63a7510fb821313399061
BLAKE2b-256 26515b0603c29256ef69d861ba3c6ed9727011de46dfabd1fee17bc4a586e6ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e0a7e3d1ac4342f6aee410bb49288592c3150a1ddadd3b60e976caa4f354a380
MD5 e9d91efcf7a77651ee0a47b9062f2e7d
BLAKE2b-256 d456259dcf27a4292754543edc300883731165508883cf250fde567120f2a463

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c72057e478d6ff46c557eadc80af20d5b527a2b2db88927a9ce6a53a2aba005d
MD5 62a68abaf921b7c8b398b6b8e6e6a0a8
BLAKE2b-256 b67e26f74afd57edc0d1014992e08db31b528971f1a68160fb4643055dcce5eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.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.3.12-cp311-cp311-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp311-cp311-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 6e2a4f2b94f3705f55b586a4b77a2df2b3c3c03c7a7234d83f3ef2a3dc0875eb
MD5 5aed728cc8c8f68e9225dcc929095dbd
BLAKE2b-256 5473aa58b41d408ad89af21af6616b3880cb276103d705890d275edbe294a6c5

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.12-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 edbd76741b2b66a5ff4440d02d6429dbcf92a31835fd00d76c602cc4e34f33a4
MD5 877066288ec922f40805f19d2aa8a2d3
BLAKE2b-256 e4663299fc6bd4664c1a2c2bf6b8145675656346f5480cd7caeaa47f8dbca9b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 2ff68513baef52dc1c1ebdb1e73ef065ef31b22f12aa164abe6d81efaca5b9d7
MD5 8ec3f2b233b9e6f0499a449b3df620b3
BLAKE2b-256 d19f2ef0c5b5de6552e91a3a878d76587354319ffcf59e82d912c27b80955dc6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.12-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 85f3026319fee72d0edf09cbf81b8e9a821ae1f48cfe40ac5851cc006760abf3
MD5 caeafb131cc3b617f40fe20c9815d1b9
BLAKE2b-256 2e530ed987e52b797c8c983ce2f678e1cd8288ca722a2ee9c9855375cff52663

See more details on using hashes here.

Provenance

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