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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.14-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.5.14-cp313-cp313-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.14-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.5.14-cp312-cp312-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.14-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.14-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.14-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.14-cp311-cp311-macosx_13_0_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.14-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.14-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0e6b948cae8d140f7b43d9736396a2f2ee975945701408f8543433a1c75d468f
MD5 23035017beb30820c00e6df7d7d8967e
BLAKE2b-256 f2c53f269d7bf0b140c6036874a0afb956bb2a4eb19189573df84a2693ba45db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5b15f3619758f840168eb3bcc552ada2c4ff3973aa000ea88ab338466a85b12e
MD5 2626085255ab0c0acc7ad8da3da1624b
BLAKE2b-256 aa3892b3e261fbe9ec97b43193b72211da5cf34561091df213fb32d4ce6cdd74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e918486d1dd9f33bde167e6411dc0a764507e9809fb3b70e85b0f6255ad43461
MD5 02e13215e893601a471c3745c9a02ac4
BLAKE2b-256 5ea5728a6c5ace465cd94d97e83138a6dc258428fa47271888fc62e9974e1e45

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7ead928c8b2de7d56f69911c1eae0d0b1899134438699742455552d95c747703
MD5 a48f88fc1ad4d9ce5403953b5b8fa17b
BLAKE2b-256 4e0e0539fcba831452f7a128463a4493084bed6412a0bddc436e394b5a63ce94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7141693da07e9a58772dabe371ec348e0b8b8f6376b1ea86751e375c24eff36d
MD5 826ab8084e4e8f353db9e18ad8daad5a
BLAKE2b-256 26dbe65757a2b3c4762f0be06a1dc60b45d66457d303393b803b958b1a189924

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4e49ca913efa7c1130da88a80eb9f5778a2e84bb96582257c7edbbdf2df4236a
MD5 1b2033533657a84765a715eb80d324fb
BLAKE2b-256 2bb7c39a12bb5ea7029c328f3f90d4fea94069a38f1f1bce676491992576eeeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e7107e568655b1df53392d559514c867dbe82efbc27906587abfbeb58239d74f
MD5 4acde2a7dbfde8ac5992a8665051faf4
BLAKE2b-256 a305f0d5e56a905ae0d5ab7bca740b4d3c429435c57dcf570d9045f8d8d32de0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e25e34f4106229ff16845eb7768a52c5fa3705cb31993bc4f1063d35ec8e3562
MD5 55070755381d3ebcc91f94c1136947f6
BLAKE2b-256 38251fb1c5713f5252ada71ce5f9abe4f91cd1b70a0377cd881217830959aa61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 60a7714678546995efe2cf5457973b1bee4805b8a71d5711bdc03685b52a7a17
MD5 d70f3401f9f5a1645f568ae26fd66389
BLAKE2b-256 48b28dff04cd7e324e496c68d4d787f2102a964b19f2b08a879ad8cb675d23be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8ddaca58482d5a39119f17d5f711c867c5c114e69dcc972b51d0a8ae29233d0f
MD5 e748100f260d91e911da1614bdf9a9b4
BLAKE2b-256 0583e1b22fa75e15d1615b9fbc1c0a3794391799947f61e9629d4558c05f42eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b818462132e54732b489958059c096a63eac855fe40eacf6b2f71b12bca89550
MD5 775da55f746275740fdf9315bc98d646
BLAKE2b-256 4fd9f624248c4af38d03365c8ecf63148d9b5cac3ace1b3d8422647fd84e4058

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.14-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f110b3868d6911100bd8ac9e5e26530b8f3f2375b4fdbf20608d0aecb8a7d9e5
MD5 096ff1e563666ebb211bff09cef5567b
BLAKE2b-256 8953807c477a955762c67f51ff228d171b6ea22112b92dd6e56729928b026d17

See more details on using hashes here.

Provenance

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