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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.3-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.3-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.3-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.3-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.3-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.3-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.3-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.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6ecf6bb2ec6626f847363d99671e7e96840ff12dcf2f38777d551e7bf095d43e
MD5 ff79581ad624f09884f8eb86042a1423
BLAKE2b-256 c4252539c1ed9c21348c24b20096b290cbf2fbac4a39c6dbb47240807c3831ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0fa70449f9cbc977ef2fa7ce70d5d8628f91aace89d08e750bc494f40ca9e37e
MD5 30fd012b916e971e7ec2e86e3e4eca8d
BLAKE2b-256 e41b8b45d4f531b54f4e4aa74a0cf47887dc0d1723b22d845ca079ce8d48b74c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 00015077bcc190d157987da6e8fce1da7cb283d4bfdd912043ba6b2cda25a817
MD5 45737c66c771e320acd42b611793018b
BLAKE2b-256 2d2a8244d8e3963de96d6e793123f36f17597e1f284aaef61f2f2acec1b761e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c86bb43143d9af7cd5e92162f895f5bf77ba70a27b98372538391581b1b61a86
MD5 45b3c7977f596fa3e1512a9a8af85f50
BLAKE2b-256 b7198bcd0d7a5ff58385d7582ea075d71a13063e7fcbdad7939cc0634d1e50c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 060a432e9735e9bdb1024ae035d338cf8646297b51e5d1316fe40c1af6ce66a2
MD5 c82751bc40f15112ee2ddb601905e817
BLAKE2b-256 3c776d29bb0c346606bd293bb3e04552da2729e733b823fa85234835a2512f8f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 42926fbd20907cafd9887b19454c3e4fe29067aa375afaef397b4271cfc63951
MD5 1d3db2718a5c7da32fedd46eda52b5bc
BLAKE2b-256 3ee8780e6d1ead091313c4c4c621f99785bb20af4af5af29f5fb3414ab7b24bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 64246f9ae053ad190fef34aa1c3b90a76416c54a07dc031a31f397f3330a3a2f
MD5 0e063fd453f047e938c961b3b629b65f
BLAKE2b-256 f45d9896f7d242e88cf4d91c3b633decd6f221f98be5241fe3be25c3754c386a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 43308988d37bb657959eb6b00711c47d226eaf9d42a3041ddc5b133795f7d50c
MD5 03ba62857f678ca55888f86f2ef873af
BLAKE2b-256 6409183f61735da08acd36bfffbbfb2298dc1816f7c711d49fa02f14d2edf45b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6a92f4a4a15f08dce60548406859e3e4e5acd767592540abb66ef7da0551ab4b
MD5 2800d0317f8b91ab40ea6ce6f06764a3
BLAKE2b-256 d58c52b323aa91add448b71d4cd8bf1e13ae00f14b95708da1a480437c5360b5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f5d2d084a8e81585c9852dc816745771c7fdbd4576af29efd6a0f59aaecc0c46
MD5 8dee2dc602759d0a3ac4c380027a4bdc
BLAKE2b-256 e85afd0f761f82a193b9faa7f1df17658b65fef071f2321e7985b5408d307932

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4f35f12e165d91cf0896ff2950d61559a7ffd886166cd1e6ae13dbe03ee424d3
MD5 93cf8f4e9c0ab3fcfd0caaf821c5fbb6
BLAKE2b-256 271f1620c6f29b48f078233bb578d1833a86baf30be8424838ba7753d03eac18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.3-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3cbd911af23238662545467dc09e290ef4206e055936e8e974fb0d7d4bd20b8f
MD5 345279f051f3616b3894f2eed0109d12
BLAKE2b-256 47b6c8ec2dcd6023b78ce49f989885823475c5a7473b7b7b85aac184b3ce136b

See more details on using hashes here.

Provenance

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