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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.57-cp313-cp313-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.57-cp313-cp313-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.57-cp312-cp312-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.57-cp312-cp312-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.57-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.57-cp311-cp311-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.57-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.57-cp311-cp311-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.57-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c218dd416b48dd0e151a9cd797c095aa6817adc2672d58f361478694cbcabd29
MD5 f7a0b4fae0effb05886d9c917842311d
BLAKE2b-256 1fcc0b9dec62b95830879c30beb9c4f7ef5526bb16b00af778bad5634b66984f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7903abc92c8453e27034b906eac3c98ac16f752026cbdab93f516952016282e4
MD5 0af71c05431a58e7bdc3095c2845da5f
BLAKE2b-256 e4c7223658950122146b0b1fb411981b4204cb32e17b67917061c3b25909a938

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 be7418f859331967174f72b8fa22460e0f298c1bcdac712d9e3104ce72d0601b
MD5 934ecd2be364ae5e045d4619653a0031
BLAKE2b-256 179868c9c41c3f27429741baa326d7e210815c84d67836efa0fc772f0d5656f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 09ec5c2fec4a648157966405e004cc61bf7a6f9a3fecf44904f872dbb2571689
MD5 1550554b8e1fdda0c577bcc95e3deddf
BLAKE2b-256 b114a4c8662c01a2529bdfda6a5366f7f1e89526eb88e8ef120d1b1eb9d7c78f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 82f71173edd5fab9ef83fbdb233b0ba4a12cf72c253226f2e853fab7b2c85579
MD5 69c96dd5ffa42bf041a9126fbedab828
BLAKE2b-256 cf1802a95e2ab130313a9eaa01af24412a07cad812bdf0aee90724f0d5960a9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bf9d0bbfb4a9632ff153bd8b6f538ca9cc7630c443db07cf0da6ccc6737d626d
MD5 69d407591e25764b43f432dd66900ec9
BLAKE2b-256 71756d402ca3ea63d2dd4c608024fc6bad8f4f655e75d182112633a0cb865ec7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3cdb93fa7d3d893488ec512f6f70c935a36d2e59b1238133909eb3f9db730889
MD5 9a7deec0b9c66a9e1aee1f85c0267761
BLAKE2b-256 fc4b907aa7844a6940176f3a4d136a3166adbba022b8463176a47921883bac51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1d696f498bc3b75a257dbf8e14407c3665222ccb74751d68e2ef6eb4b106bd66
MD5 cfd0f1134e4a1681f3b16254e5748cb2
BLAKE2b-256 b181fac3e8eb16a56aa5af2da6153f7f599cd4d4bc3d6232b634633563df9a1c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ccfc6a81b7df6bcce2425711b6965fe103291691e6acda8075402ab78cf46a5f
MD5 0dfa4a96b6709fdd2ef3680d15211bcd
BLAKE2b-256 dd16dce6041d63ab381ad4b17e8235c933c85894d639ec2c55636b6d20c76228

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d806ea3d92a54fad546aedb96389bccabdcb14f150c95a04e10b7e6de8a3aeba
MD5 bb750c0d287237e5bbcb477109e6b04d
BLAKE2b-256 005153df0850d28a4d523fc0faba7f586073c15170ff820f73d2ffefe02fe1cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f70352a640d74af730032162173a45d7110a0b1cc05e9b945638ef785d2edd52
MD5 92bfad1a1283a67e46fd552b16aea08f
BLAKE2b-256 fb873fa95e6b1a712b48f78111e78d78981bfccd67ab85c0222f2de2d4c1c90f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.57-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 334af3bd8da2447c327e4fc81b2834c82c9c1978288f5c2f41a533418ada9eb2
MD5 03c06d435ddbd756d4812c0dd52ae0e1
BLAKE2b-256 9dada735f05a6e841e3411f83383466cc3a924f9ac2ac95feb21f6f0850a6459

See more details on using hashes here.

Provenance

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