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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.53-cp312-cp312-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.53-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.53-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.53-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_inference_binary-0.4.53-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7926f5829fcc6ab5065fdc94be461c45f6d4116062b0a5af69c194f95d6563de
MD5 3b2369b2cffbd4a2fa55faf0736884ef
BLAKE2b-256 86053374d003b7d311211be32841620a7becee0ea3e79c8ed3b60bd20abf2cfb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 27e961cfd32eff3c87d218935b4b87416dfd28364f90c74da29e42dfa00cff58
MD5 537570c71e4d315b0606ce70cc7edbc1
BLAKE2b-256 d335f4ecb4824665e3433fa1bb252d509ffa47fbcee0e75180714bb640611af2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 806d1ab71a5b9296746578e1befc2c207fd900ed85f8d08fbca7c3777140edee
MD5 b24a08b3f1b85268df5eddee74304773
BLAKE2b-256 1fcba6b92f7db79adf13b3f00d1d87fa9cc2bd1789379249e598f201dcd7216c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d57a4e0f493a7d249409c940ae99f54f819b0b653d4600b7903202adcd841f6c
MD5 b84ce89942b8705050f900346b82e669
BLAKE2b-256 d5d209d7f5c3d5528b019a2b3be21705aae3fcc69f3752713635f44684e0669b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 27dc87e0b07213eecfa6c0e2542975fe9ddc3454427fb1ef87f4bb29bc48bf60
MD5 c6c7dbcc34dc7726bd71ad01edced56d
BLAKE2b-256 41d6578b74fe52b7430b9d69dd09627cb584c2ea30c34fe141c1c3e0e840b548

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a69cbf756f078baccaf0ebbf9465d7c84ac5cf90bd2354f53e2b7b302e3e5fa6
MD5 4383a0b591324ef9efe7c3c426d0854e
BLAKE2b-256 8f16d1bf676cd463226c566232d7ca5365d0ae9a92ca3e9cc8b0590612f8f8bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9da20177188066f8445aad5482f8a8ef934d6effdd081b0ae714c74492d55399
MD5 6300c6f26ebd45580c487948518399d5
BLAKE2b-256 597e3744d7d8b565405362e4a6ddc6d105babb1481dad8d77688f8f2301e18db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 dca32e649b19c3ea2213fb36f9d1d3a48b39ae50c3ee7cb5f797c597cc2da302
MD5 790e29b70e8c69749feb1b5e49a0f493
BLAKE2b-256 b45505345b9bec1fee9e5de0dcb078abc9a4156923d40d9bbffa0e12cdb9c09d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d813044a2a4399c25ac783cf9484e53da2fd3df6fd1cae9324a1984600ca2767
MD5 8de9abb62010fe8201f246e4ad9b7442
BLAKE2b-256 c6de0ead69279f737ca6a1fdc44932fa0c9ed7eba019eb101d42cc447fd90793

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 37dfd84e7ce869edbb5f26746f6825bd7cdd5233bc7977609dbdb739e5b141ac
MD5 8853368c6b38cf1c4afff899732e4dd0
BLAKE2b-256 c054cb82f00adf8c931fe6338b60e9a355c71c2bc0ed39f3dd3ba2e3fd3c26c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 146bae0243f402c3f2cbe9e11d1868ff97792a37630e1ddb082b7167375d1d32
MD5 0045e825649585fd948ffca733d5f110
BLAKE2b-256 3b8e33f03a577c0267c94881424d009e61caa3a98581b123fa5ed1443dff648a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.53-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5ac3ad40e6609c96a3d06ca1f71435ffebb9f42fe805b50bc34484d473bad19e
MD5 8dc8c6bdbefe11701d21ed55a36e844a
BLAKE2b-256 b97d6646e23b69ceeb05fd9d39ec997530b40d16dd56e584c2bd073fa0b8a4f5

See more details on using hashes here.

Provenance

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