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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.35-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.35-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.35-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.35-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.35-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.35-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.35-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.35-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.35-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.35-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.35-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.35-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f7b395bab2479dd8788d2cc9c052dfc4323752931f6af804079b14cb04e69371
MD5 88d7eec7ce1d3df3c8d48d57b1ad8890
BLAKE2b-256 509c31d11b1775c5d854dde60efc8f3ed729afed085c15cf111e0d7e0392fb87

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 49cd81d22fc85af9623222cdd5c419117ed2f836de4f226bb273e293d046586b
MD5 af790185963823f314e60ab5ad078a1c
BLAKE2b-256 00a069b1dec192c76e84488ec77d8e8a3a90acf134d362c5add3c8e97a251e5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 495ec533935de93e930abf4bfd1337a7e1a5d18259450fa38c78caa626b2176e
MD5 4e90a68269ad245539c259796b7ad769
BLAKE2b-256 2f0ae5ef39010e4f8141677db39c52fd466a4362308d4a852bcaec84e41a559a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 50a0fa10850b05d4ba8d0518f1e246585ceb620b0ccd4ee95039bac558841a3a
MD5 082a39853668e944af6e4bd8295cabf7
BLAKE2b-256 7c98dfaedd6f20cf0ade7d2d0f1727cde67e0979f1e7f686f1066188fd0ecff4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 571d184c51066e2125837ebe8ed0b25f6143a4514cf5315a1898999d7b378b05
MD5 58618c805dd756a98cd907a5f84d387d
BLAKE2b-256 e0b39ca51ff70654d8ac11337d574a13d92ffa42deb498c7cfa48b13963dfb88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 780dff3946b64119981d5dd1ee2b7d1d9306a74e35cd243a2dc77f8385d0c5e8
MD5 02f91645742d2cc8e8f96e4bad95954b
BLAKE2b-256 4c4c5860fbb791b387a6b706a67c008dbb776890ad08f47e67996b0604a5ce60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ab8cf4f906f8869c1769da09d3367012bec28ad1a22bc0640dcf57b5c84d1319
MD5 004878eff4a1d7b95b723a552be127ef
BLAKE2b-256 610d1b051d5635f3d40cfedec891615038eff0e79c519299836d8191211c05ef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 01a4421c452738b25d73cb48d8b3cdb6a815de0b4b330f93a32be8f330afe950
MD5 8e7b2381714e2497c1cb41f2a903702a
BLAKE2b-256 c468e2b8b6b3913ab54a31d27d64822e2d1b6aff2ffb377fe27d33304b98ff2e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ae9eae7f7c573dc7042f0b6ef1cc0df17d51670a742ec82e598642ab23263b9e
MD5 9e378c0aebdc2327ba5dddd2fe817f7c
BLAKE2b-256 64577a06655d260a8e4f30161ad465300b7ff0c600863c56d1ab7a080519b8e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4edaa8bbfeeda65e6ec3421ffdffbecdca42f64080b91d90626cabdbb2a7d6c0
MD5 4cd38d54bc84a6a9c6baeee061d66116
BLAKE2b-256 7961679c9bf539a26b7ecc88d865d2c37680e9dfb531549146db3fbf3e309e0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 961a6bf593831ebb240f620f7bf09b8e85a60ee960b4f5729da7ef51bd77eb0d
MD5 9f14937d25b095811f0b2da01cb58496
BLAKE2b-256 0a7df94b634b7563f1bb0b5c70b4bf5c206ec093963057b6a42a110f2e2c113d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.35-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5e91c4dfd6f4e2ea7f35e4b17265fc46436de29488813e9d0f6e0dde08e9992e
MD5 0990e3e157de8aba570ac3a2bf35a71a
BLAKE2b-256 c26cfb8c98ccb8f06dc920b0edcf220a39217bac93fd8fc1e564d0dca5954baf

See more details on using hashes here.

Provenance

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