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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.38-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.38-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.38-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.4.38-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.38-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.38-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.38-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.38-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 64dae1a6d3b06b25a4ec18f6eb0e5fba1cf8da4cc9c4bb61970c0ca34e5ea114
MD5 f2bec42f5d85d958c4a8ff87a2ca5ce5
BLAKE2b-256 4085bcc877ae91eb109f65b542fb8a3a6b9b725d48d80e43ba94d6272d74f778

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7068c14c65057b30bf3adb31ce9ecaec23493f54dc4c4458ee3a1c1fd6a93ed3
MD5 510a4b19a259af0a0e1226a612e684cd
BLAKE2b-256 6dc1276fa3b40873c2ba7247c3393d22944678dac1fdd7e7c546eedc92051846

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 46393e876ea50c882ec9ffc3e1d1649842ee6f529657db238c3c20a4103091ca
MD5 5ee51d9e4d8bad5aabd71aefa0d0f6cd
BLAKE2b-256 8bbc53168b642fc916e9cf94fc0ed0c0073f72775a8ca3b921efae335e914ac5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 14414649f955a31c7bc25d442e7c6e424e49c2002c7b11b5e93227b227f444e0
MD5 3beb520be2b8d2708c0dc225a95a5858
BLAKE2b-256 f8bb21f2817a6db39b71e660da34d4e0a61f4fdacfc41bf62418395b0a33bb16

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d94f3f271061d2c6b0271ed70770391f545ac9df061192f369a27aeba48dd995
MD5 a4647a911245acc11de2ae0cdfeaeb09
BLAKE2b-256 a133ee5839b3f60d60da4e1bdb730cd02928a6e1710884659dce28c2bd74307f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ae76f3646ab25d89d7176df4c1c0679930449b1d54e94ba43c4defaafb8b3753
MD5 b2cccdc56d62f4fe740ab3c057c054d2
BLAKE2b-256 81be8d23449d0b0bc051c83a32d7b298b2fc967003d656a7be55b4f411948030

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2a4a35a08cadecfddcd5ab61513f160fbaac7bd87df5f02f3e2ed66090fc1dc3
MD5 d8fd56038e4adb1bc1990d1373c97e56
BLAKE2b-256 324b6a674d2572d8836edce7527998b59e1d351b66276f13223b8021e8d73fd1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f9ae6ee23f730f60f3b6e9d272edc536735e04e9ec3799db16f33cbaa306dde0
MD5 59ff4e69121f7e0defe76330273b0ec1
BLAKE2b-256 62be746c0aa40a029213571fdfbd5e3aea2426201aa7b79f3de1d33cb6eb3dbd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ae1e8f5018901cb603f6601cccb12c54dbb2535ed03c68c6dc70a21e6d3d9e65
MD5 577e75bef4121bb2d41945ef231d4d80
BLAKE2b-256 6d28b50ef92421267d3d5c4f1c755b13cbe564bbcdab2d9c7dd78d049c4a4b02

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5ff71aae0dc1566478c137261f55508b32659e602e2ae9bb65dfa7ce2db1200e
MD5 b9e8f599bd5333063c541a5ce9bee976
BLAKE2b-256 38facb5f275760c309793cb27fd3a5da890925ac5764f5a548b2215378a49773

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 15bff66130f87313c13734f4b68803c33faf067631bc7f6c5abcd99cbbff71a2
MD5 5d22e68848edd8f05f6f51531ebf289f
BLAKE2b-256 7c9cac3ec8cc86c53e1a6eb1946b743536f2b4d83a78028e108ed934895edbe7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.38-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1181c59cd5e15d5f51ede9fd6d06f2db2087ac4500c49f25891b3eb321e14040
MD5 2205c525e47a01edeedcc6fd00d004e2
BLAKE2b-256 84629997f6b726686f0b78f09845ffb89c8a3f7f51f5f76903bcf1f071859a9f

See more details on using hashes here.

Provenance

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