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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.44-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.44-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.44-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.44-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.44-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.44-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.44-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.44-cp311-cp311-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.44-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.44-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.44-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 03fd484494621d554b134e303432add2c2fafc16dce91a6a4ed5f1ea54d83082
MD5 8810e1f954f1be42012e9cc2d58e456d
BLAKE2b-256 8f5bf84fa00c75cebeaf29b42798d0099c24c71df39f636e59635151fbeba2f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 87b2aedf58cce10364a03bab989fe724675f7e7f1f3c5bd14cac01a8e97b5300
MD5 4cdaac8f28d36979cfdef2358809c0af
BLAKE2b-256 40a20ee08ab7cc6408363a740f7bc21ff76e7908773465b7becf9b8cd2576b96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9cca9e3d5b7077d3d9c068188dd362dc4e778d54d6ca215e1fa13e5e4aebe760
MD5 4c2772579e24e56ddedb5efc88a222f2
BLAKE2b-256 59997b7bac9baf4eaeb2da95428b15baa29fa7ddfdc104dfbbaab6095e73ab17

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 274a793a9583abe963ff60a9949d50f35f63e2da1ac358cb0c0390c0d3b375d6
MD5 541caecf8abf15a5858a2eb97b83fda0
BLAKE2b-256 2971bf48137dbd5b22a93600c9a31a530709cf975757fbcaf57cfb73cf455746

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7b00ac464417e01c4300e7eea0db16010bc38314c4d6eef02acee2e37b39b020
MD5 6dd47688ab9052b84a923f177078c4d4
BLAKE2b-256 9fa373575a0a6045d7826ee8997067b0b334085459406da242d8a5f60402a659

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 47d35f4017f5f5506e0f895b2051d2257d5f7bc5088b630eef84a1c771bc9003
MD5 86d4157bb36ce0a0a276919426a1e4bc
BLAKE2b-256 145aa3f2977bd409d4954aadb76cb3ed8e6f0252366d1ed7c70143d4a0f219e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 18bc75ec29b026bb8ffb68494ee1622142e3783c4c6eb98d4e2a53b682ace587
MD5 74cef8e7d0e02bcad6a40e828b1adbe0
BLAKE2b-256 f00e405e6f1e4ecdb9274a8d0283bf0818275893a24c4176d202e7531bbe5fc6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3bd65b63da0a2cc53132b55fa1a4850ade353f9dd9472f07fd097398bdf243ff
MD5 217ec686b22a208031deadc2ad8ddca7
BLAKE2b-256 898bedfbcaac451e7a3e3bf6cfa34322221181bb46dc0e8803bece3cac3b9cca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ffea7f7ce314b52082da09fe392de3f056a1877284cd60503d9313c618baac3b
MD5 abf88cbb81c455b104bbc30f6542b6a0
BLAKE2b-256 fe9045fbd10485a29daa7695acfa06caf11f0208e6b6db9c302fe5b50b94822c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 38a2478172fe55bc726c4b22a1e15759ef1420c9285060f0f6e4c43745780989
MD5 9a19813b5dac663b0b4566ed55a614fb
BLAKE2b-256 aff502694659993f4b5086bed964ffba4e0369f18a7a5835b1c8ab7d4273be46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 39d1e3c2764fe2b767c2d749c6e3b25cdb75091290c1f01a858bdf0114dcd295
MD5 b239adda15f0810563576b8e4cff5f4a
BLAKE2b-256 29931bfba93425f659fb765c57876aa46fdf590bc78323d5e0f23a67a1c14aad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.44-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 21d379a06f39ffcf55a339eb5c1ac825fee6ebb38fc2ea8369b0a29969567143
MD5 68fe5cc006e035879789b62578e1b382
BLAKE2b-256 4c56a3aa25702ca741f695671210327ff5e24da93b590e18d80cffbcac14abb1

See more details on using hashes here.

Provenance

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