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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.15-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.15-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.15-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.15-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.15-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.15-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.15-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.4.15-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.15-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.4.15-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5442285bc337c818933f79574d6bcabe82fe44ea930440e6911feabe9c5421d4
MD5 02b9fdb916ffe44beaa5a745aa203bf1
BLAKE2b-256 3e4ee5813f3ad7f6a232210d75d5990597f411971be76e5c789318e0ad2971a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9571a8f7110debba52f960b8ae4f969d9f69aa5f93afac1334071b3f7b985071
MD5 e3b1a26d99ab6cd17a3bc89b7a804998
BLAKE2b-256 c74a0dfa9df623db5d585421d6fa2fc56516ef0d95fe6de8efd64f08fa2a4ea3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 b584903c633f23483f1f346b8728e42844d70bec8bcc4ef090c020acae0f8c7f
MD5 cba8537911dfd2555af6a21eb3a61b14
BLAKE2b-256 9f4221d2c0ab48cdd938e632859425f073ee44803ee8e06abced855d1133913b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a30079169f9cdd9a99a860b29fa80d9bc29e2a8a820845c28e40b620bd86c064
MD5 38dc62fb673796090833cf8a1c4002a5
BLAKE2b-256 5f46caa575271f8173c8ceabdc4b89437764e20c49f7ea60fcfd801ef69598de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f35b9be7e6e562b6a911d4bbac74c9f5bf4f804a4cd4554f6ce42a3c8212abc7
MD5 cb25b34992e6183016f9a123fabe05a2
BLAKE2b-256 73f2d780458b6ff4809b46c70b14108a40c265ce55fb99c86267f86299c3bd90

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a7887e19153d65443bbc3bfcc3dfb7e621794cdb25949e73da2ea9e1af180ee9
MD5 3b1fbbdfc5e7ce5657b52a801fb141d2
BLAKE2b-256 7a9bf3fa3917ae9fbb442c2e00589e10575022191a462d2a8704faaab8b0c975

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 9bc11d299d486a08de8d645616f4ef723747d7f0931811773cbdc0cbd4d09ab1
MD5 1662fd4496ba6018b5fadc2a9f863346
BLAKE2b-256 cf140f6a0564dc6f7e97ae583f828ae2f64a950ac159f651b7a1804273c11ee7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b2d405764e5b061222126045312bf10987d8a8065eeaae0ba3fd5496930ee4aa
MD5 a85d8f34fc0be77dbf547e62c7c28f11
BLAKE2b-256 68223097f762ed33470970297c142c4fbbfd9873be2d6b3f4d7888a91a901ccb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8354d838ebdfbb08bce307aafc19c6d46e4fe6154bc70d9e01fb9a7e3ce29013
MD5 78506737b0e3c81d0e1e747039b32697
BLAKE2b-256 142f0a2b0a07d380b5d3b1225562a64c8206d844d47dde3a18158ef9d810b456

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 afc9e1d234fb835f6dbfa512fd6a7ae8e3838de65a3c2769cbee6a808544f128
MD5 9b91cce8466f12bc6607374ccedb979b
BLAKE2b-256 d3d350b4fd7360c639a35489af7058e24c21530fd2b6f48dab38eaecac8d6fb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 46476bfa22791e735c6853acb3178bd2c5d4e71af386efb4b1a547950910563d
MD5 cc360ec299a1a87b17f10c437bcf1625
BLAKE2b-256 27eb3eed2d395374f99a82f8ddb1510d50effd5d43bc47697cd3b3f0dddb5b76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.15-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d467cd5932ce7aab3175fbcd858d961a14236ab23e43b006d885cda4ef50a87e
MD5 ef75db921dd5ff982b9dfdb171cc2445
BLAKE2b-256 49c569ad7fb6d51ae44a1868944f66b5dbd27169fd28a14264893275b1e3a15e

See more details on using hashes here.

Provenance

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