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.9

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.9-py3-none-any.whl (102.1 kB view details)

Uploaded Python 3

gllm_inference_binary-0.5.9-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.9-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.9-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.9-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.9-py3-none-any.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6f4cf71e6364926d1fad1729c26e1f4291827a14534874150a6d9a1af022a355
MD5 1b1a5995655c896b48664eee8ab8b720
BLAKE2b-256 c7685a53e3e419c3fb1ab2ee7a9384c3253829a7bd24aebabc88d7a5aa458b23

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.9-py3-none-any.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.9-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8c736168a22c48c8d8f8765ae3d65c64ae6ccec79dee05d127c9f931f7b1afbc
MD5 86fe699bb006cfb5021a2b9cdcc04660
BLAKE2b-256 e5636b049a474729cedae0fedc86cf27bddad0f12501c69d01dca1d29647fd41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e8e945f23de43ce28564277e69724f6a1e1fac8ae356568ce62fd0744fd19739
MD5 47ab7b0a2157757db81f6e26c2e5d327
BLAKE2b-256 2132ab22dba8ae17319f3455f91a60e549c6cf33c12ead3cacbaa89efc0a5488

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 70703d6c46ca1d432a273b0de0478d686db5b243f03580f41d95ed695b1fa1fb
MD5 ed78785eb65b1a1b40798b9c0dbe460e
BLAKE2b-256 f74f49a8af76f1e72d257656c2956ac1584e4b59fe1b11a284f30ecebb08cac1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 509c330fc598056dc668f2be455a3d6cd65e27fd402da2969f3e3c339d1ceb5b
MD5 8088b6f5e3f2322be83a4b630c62731d
BLAKE2b-256 966dbaffc57a8cb5d1c30c7821826baaad6b8e24a24696dc90f8d0e5ad9e5bbf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0926129404a71bdab3ed0870200d7f6dda2c2e47e32457c7feed9445944ac6d4
MD5 1553c533df43684629ece8455d9661b7
BLAKE2b-256 f4ebe281ebc32ef5b81ed51641455be6d9bf89326a836bde06dee582780aec32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6d8943901771f53445b4e8d2e49fb11c7a67ba87c567d5bf1e4dd5b410047959
MD5 4a4600127654425cf8f4688263148b85
BLAKE2b-256 6e3abb6db583fe0c60180ff5a4e509e129afba4826436d55143bcfbdc3a382ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ca05c2f239294a97179256cca2bec0ce7f438d78644ea993391f60af036303dd
MD5 404397f7f834542a945978597c425596
BLAKE2b-256 1f98b76540338e9f8df32e335ef779e48122b9571e4eb43bdc63ee2d69ec794b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 be427b87cf03de7f7525084af9e4e93801ef5e8428392824dae86045a8edf9a2
MD5 10c455b840a74fa1cf7a077d1e86e533
BLAKE2b-256 86e99f27f573a76b5daf3e3156793d9e2094625bc323debe738aee42a14dc96b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9843761a02ff6d983b3342c5e7a04ef7a3c5c387c8e5af66cfc66cacaafcb62c
MD5 3f11fae38b49ccd2977af0ffc9eb1b9b
BLAKE2b-256 e8e3f1f568329c5805dcdc14e3528766975521e1e78df2810024ec41d3b75474

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2d3909367766a2a5e5fb575e008949969d368e97dfce33429a5fbfcf97779b3e
MD5 2429034d43e8f9ed78a5568ea321988b
BLAKE2b-256 3d6d4392c8dccc2901a7dbfe191cb644f558426290a5dfe77c6fd76f5935f89e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 aaba6a36d547925cd3397334be179bef0ca88df439357da88141cdaf5f3849db
MD5 ccc2eb11f8ccb790751663739c5a9cc7
BLAKE2b-256 3b9f80a6536c6218ad63fd033d0c52ed1f3f237271acb405d0a5488f50f840ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.9-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 375aa3d36888448b13625d61334b7ea685f76df1e2726dcf080065249a9d783c
MD5 6351c2f7f6a29123f04f7f522e1d193d
BLAKE2b-256 f5294cefdcfd814c26f73c903ea9e725681a8101f0207f830a2cc39023a14b55

See more details on using hashes here.

Provenance

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