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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.31-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.5.31-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.5.31-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.5.31-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.31-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.5.31-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.5.31-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.5.31-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 817eb61a761162452b8bd8225b0c7e2e520346b6e049df894dc2b360159e0294
MD5 44a45283e950341ca37f5e37ee065a76
BLAKE2b-256 56ddd50661ac94c4edbd7f082b9eee5b2505ffa849ffc93b5f9dc87b3e4fef8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 08359ceebb6d686bdbb378abe8405c7adc1f26b5f0ad7c1e1a81c5be2ed81268
MD5 e022bf8f8b4e220cdd0e0ebc501c3f4f
BLAKE2b-256 f46dcf307b9a783cca6ae8437c39f7a4526058766c17a6a91f8aa4d8bb2b6238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d341d8e75e51eb84cdf3768588d79f9b7813cfb342ef42dc3009499c754f3c58
MD5 43c0c9460de66e76b26dd50c80fd01fb
BLAKE2b-256 4e465411c1981a1f921a290ac77c7d6250675265d270327d942860eeb7c7845c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 28cd97dd5791aa9e7dc58a8026bb931f62251f8ffdbe1e6fab75b91ae078627e
MD5 ae122ffdc0ae69108a9b1b8c765414af
BLAKE2b-256 35a8dcfcda92691457fd2d7c2c5ee02f78f50e7b596b739e5ec321c92f9eabfb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 594194ad858d258fcea8d0cd35711bfe0bd7a1257300f97fe67169fd4bc3d41a
MD5 0a5db8621f98e8fc83a37a5b53b42fbc
BLAKE2b-256 4615d2b7386ef8e1d142a255b9a85523e7cebe4a9d7feb53e73fd424bccb6459

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9ad23bbe98ff85a6b19c99f03f4f1129f8d421bd1d83ab3b8953ec7363939b00
MD5 6753bb5abedcaf97116fc86bad62f79a
BLAKE2b-256 b422bf013d6737cd520ef8b59cb7c834de1c70ce54057c31d44ef79e3146e6cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4f39ce46da1de5f0d907f77281d48bd75d8fac0ed58d878ca07fc1a383e67b95
MD5 9c6fb5faba5f492237ea0ec64413a1a8
BLAKE2b-256 73346c14d05e38833be06a55307f6abc70ad68d96ffab35c30b94a6403a86e31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 440ff87634b8c1245dc2d2442a297b045791f949f432425e481db037ddec3c34
MD5 76d092e3ac1e49541ea2cbc015a12cd0
BLAKE2b-256 c618aadc1862326de0ed55e68e8c2c09e2df2e54838e0420ea350f2216410e6d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b279f8c0af3b0cb418589ea4d695f1806a8071e82b224098fe7a35db92aea92b
MD5 93fe5890f72eac3346e9c2f38c04a7ce
BLAKE2b-256 98f3e01830949428f50f32ed1a90a9cbb2960c0bc90c3d2217e62960d1730ce1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2acc31d6edd92410c2bc67597e5bcabebfbfaadcc3e3bb408b9c2749413448d9
MD5 bb18e77325d00002486037bd879816ce
BLAKE2b-256 72850d65892fd74c6719bb6706f0862987e95678afbccbeac44e52faa1797797

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2f564aa832de19281aac57501ab3b0488be673808e90cba968baa1dcf1083085
MD5 792c84564b166a2067f05476d60bdea1
BLAKE2b-256 b15c360f7523ea4a89e46eaf0ee86c7ccfa0da39b5922b12a8c1514141e7dddb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.31-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8150d262a8011b94b76a48261b601b9070359a566b4d1ed6915f0f678194f53e
MD5 202d55267b2957e152dac06a8bcabc57
BLAKE2b-256 218ee82fe9efb0a8129d35caebf30b73d0383d7154f5c6b7a0332612c1f38702

See more details on using hashes here.

Provenance

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