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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.50-cp313-cp313-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.50-cp313-cp313-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.50-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.50-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.50-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.50-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1699f535d32ed231dc135502ba4ec3538d5cf1a844d52d11b022999604da6e86
MD5 577e4080a841f1d2a98b44d7f48c2b78
BLAKE2b-256 5eb5ab11a703bcebc8b47d622d7bb233cc5b64149244498af635d0e5978f4981

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9bfbb2ec6dc8f924c4f5bfec71fb89a057790400ee4539712b63132d1b15e9e0
MD5 30941fd36d86669aa5ecde9783462835
BLAKE2b-256 72aeebf6a3260cb4b80a814bcc0445300473d8e95e620cbd462831dbada1170a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bb0f6744b96e414fb4ef38df1f3acf9d1e3657d0bff7e5dad02932102e0fdda4
MD5 99c1da7826f9e0cdc5688bc320f4b3e9
BLAKE2b-256 4f60ae4937ed92d03acd48cf34657c4a8a5d6b445034110aa8c333f23e1c45ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a843539c6217a89fe85c38ac2324d415bad8ac67099ed234e27c9a05d7f6d282
MD5 59f6d8e4d28a1662371966ddcc14c77d
BLAKE2b-256 83abae2f8150361f49cbf16bf689da9b8cfedf69e39a80d67af9bb77db47a782

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b9a8503cd4c0698e42d197efb65afbb3fa61d372358fc5e1911df56dc1f33547
MD5 8950701577a7cf12d333fa349f65e06c
BLAKE2b-256 b754675e6d9e142fcc95e1c108fad0a6c64dd5887ec968c0e688b6971ef6a40b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6d42e2a8697cc939afa961d3a386ececd99ded05bf5682137b408c6a18dac8b6
MD5 d70cbc1ae3f690f8eff15d7789a0bbfd
BLAKE2b-256 09239d7b725281309fd399062eb248bde81787c9b1e045a0c5e73353b1db0a42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 463af795a5f7cecbbab612731fee6b04591390a0ef3525cf0348f17f27deac72
MD5 d8ed0eda5449247ba54b22182ea56b86
BLAKE2b-256 fb29ee6ac156de84af1a6f8d0272930402569967a3d7a0b5d93ac08be8749461

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4eaac269297d21380495f8128ee810e9ba46fef20502da32da74c049c340bf4d
MD5 82e4cf78e21cfc67cdd91f40a9959de9
BLAKE2b-256 658730f3218e8e95a5403f698262c8c184b64a74bf3d778108b2d38ae07f0cf7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0c391cd59f8d68a6a9a5b790627f3f8794e5a116755802ef2296e4c99e3a61ff
MD5 63747caf8ca0ab40b7c0b5678487f35e
BLAKE2b-256 a29374c0573961a597ac95f85991d4c5fc32a69630cd67005025afa04dcf113e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b4c9a925e15b59c5c9ac5619605eb0498e289ffe85f4280ac19f154948be5fe6
MD5 6434662945fb190ebb6ab46c0b0b7f53
BLAKE2b-256 871e7695e822b85a470b0454561ea29269f14b378d5d94e591635ffcbf397fa4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a8a125e310fa863d1fcae82357af06381a23ace3e52a6cc916156eb9f6239f56
MD5 16fb9aac61d6c98b083f95a8c14d7eef
BLAKE2b-256 c2304995077d324b16e43d60d943e88fbafd4726a28dec3c8b55c07240a0c6a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.50-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 77e2997b228c3a4fa91cc86e965a31cb1289b51669bf7b7cdcb8fcee4ad118dd
MD5 aa8ede83fa51324244befe3c513e9e86
BLAKE2b-256 43c1a2c1c2505e4e8c30a635ba45abd44695b0d774838dd82b222f84d205791d

See more details on using hashes here.

Provenance

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