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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.42-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.42-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.42-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.42-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3818aa79603677a91f7dc29d1af5ac59e080985f9f6e41aa2c68a9160015c2aa
MD5 3f38cc52dfe2d5af318a93f4fd7c223f
BLAKE2b-256 7e30c68b8d5c7c3b7e30309836bd9212b7d59dfd4e7eda61e8245439555d321c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 15ec73737122523aada4175bb37b56a7516a16413817aaf2eb686c06ad7ff929
MD5 46131df426ecc6212189424fab0bf489
BLAKE2b-256 92752e8c4285acdb3d66e674df66d5d6fcf92b4f250d32713c4bcceb811ff4a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0d21c0173775e009fa241ae5d5990279a0b279dbf80722e63e1cf7b870e938ee
MD5 2f974dd139566eb41606e9ccd39280c6
BLAKE2b-256 4568ec7a7040588e6e30a1af802cff7dc8fba039d10069a9f5652476bd4222fb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 cdee6fb0cb31b8afe4c36e4b09e5db1ec5f7b52e61dae5673ef8b269f50500a3
MD5 d36255519e639da8b95dc61b3c06f05d
BLAKE2b-256 e97974cdb82d39feb28894983255e26cfd8329f28c27b4292a2d59adf933fc69

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5b53a21a08525aedd52390b74ec5a4673ec6bd410853175a1a477990143636bb
MD5 23d621de7bd80cb30f0ec79f5511f514
BLAKE2b-256 ec647120d260cf552ca12cc220e92a16795079b418a315d7eb665c8a3b1cfa9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5773e7289e2df1560f3be9978b3b985c6e4e09a900c5074c9086695e348be0e7
MD5 38d5e3859bf148bad4308eaed0c03cb1
BLAKE2b-256 956f5b570edf95f8cd7bfcae73627c1c7ab5e2c82d2d0e1db24efba8b916fb43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9e8ca082cf0224bfadbe097a974dee43345a1f5c71ef244a1e5002e95df5a839
MD5 246bcb8c236d8226de6c5a14182aa54f
BLAKE2b-256 6a58f5f58fb48366caf7429ad3875cf4a4f8bace7b3b5414f975b1acb636fb27

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e3fc2606db47f8418797622412b3b0d168aae7fbf20ec418449629841d94551b
MD5 d365fb6f8cc9be6cfc5026c15949bc91
BLAKE2b-256 49f540208e4a57061e6dc7a0700d46d91629362b1e7b7158cec466faf3cd20ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 37565cfadcdaf8f38b1096828daf2a1aedbe0d30cee0919690e12fd0b165f5c3
MD5 0182dc5d0f89a72047f935b6a8f11891
BLAKE2b-256 42b5e0aa943c64663ae271f8b788198272b7e42221c43b148a79ca88698d6b77

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cd28bb52d6eda946610a3f7515f7f593e27e98779a0dff1034c35dbe3342c364
MD5 e68349be9bfef1ddd0e3a53c526edbb8
BLAKE2b-256 7445a58a50a60e7e2ac89140e1ac875a4730bab47eab47235c60704051cfe596

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 88726829c3418f7219aab18e77f019939624bc9d05892159532e349c733a6108
MD5 d0cf6787114b066b3c44c7286018f7c0
BLAKE2b-256 83cbeb93eb0418fc4434c015d89039ae130bbfa2fe93c7eb146de93724c072f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.42-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 99534249d8635501a729e7093a998222e445619b49c036f90ee45cbe957282be
MD5 3304fba56ec93ddde8299255731c5460
BLAKE2b-256 e110bf90b89e45598ce6513563fcc638c2f26a31c3acb373e2d5bc3c17d2e775

See more details on using hashes here.

Provenance

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