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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.24-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.24-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.24-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.24-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.24-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.24-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.24-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.5.24-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.24-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.24-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.24-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d95bf5f93f540b4c396934b7cd234648a131dd77364ac47aa4a68722055f0ae9
MD5 56b5b28bb8eb087d4e9703b8fb9ee9f0
BLAKE2b-256 3b42a56e946bac8ad1273b14a96d7e2cb416efd500d28f44f1e1db0f2a319a27

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e6f33fcf56fc9ad9cf692cbda993452116d71b6f5ce55e02f52b75e73f9683ee
MD5 a6f21c334f3255df612590d3a6b7d2e0
BLAKE2b-256 8168a235b20caff0351bce018cf62eeae395f9c839ce18a20967fa2b28352d64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f3f91fd722c5c60643bb943da8ea26a5df9829839ae3b39d34bb1b612a31aa3b
MD5 645de22f3d622ad345339270b6fd5ef8
BLAKE2b-256 869d310631f35a06488bd4ff8138ec18d4ba86717be6696a6b1701aa2043e128

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 53e721d97bf1e7175f23ce5f59facf2167a9427f7da04532596581a1f22b0fbc
MD5 ca7d9cb8a9c0b5c58dc947edf6349cdd
BLAKE2b-256 abbb3dc5bd2654a32ef059757bf10fbafe216f1b14b628524f06736537788c40

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 30a3f6861c89d6dbb6503f94ec82164383849f32b9c393f497375f740e9c1db6
MD5 adeaed7dc167b6f8c91070d6c2c64d96
BLAKE2b-256 afb68204e326b42ddc358e60e712a66419493df592336e8e21f2f6f3d13f62e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1ca15867ad06029219bdcd1227395d8abc1be478a688d5fb3d939cec9a61cd12
MD5 08cff17c61935fe4022bb282e5c58159
BLAKE2b-256 437d90bb329df2a53d512be304b4c12c25073b7e180463a07b4e03ab848eec5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9d2a3f6460dba5517edacbbae94111c31d43b85fcabda0aae727444584f2e26a
MD5 52189a07c143d38b03e36f11d32a3ec3
BLAKE2b-256 98eb576cb86f71b87f971ec71b92461fa9aae4049e6b9fd621949c91243b9687

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c5dc352e7b0f06e402c1eb17df5a7ba8d086214483606c6ba5d06adb5a4fb582
MD5 422853c65fda54d182262f96e0bdb716
BLAKE2b-256 b4a92c7da2139f2fa2f32203f8b434ec8664f5e0153f9ae23a4c738c1cdc7983

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a2663c895c72e22afc8fa645ca68f2a3db3cd663a1af1e8ed781e6ad0e071539
MD5 dbacaa3fbffbe27580c2ff9b5fef647d
BLAKE2b-256 1ae4ed2c1715ed10c530b6de24cbd7d0e0904da34229d21e5ad2213a4c0ac7d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 17c3cc37e22a65d8e048596a1ec0d6cd2984889bb30cfbb79c087479e868d149
MD5 72d2da80f3c512c4b9b20d33f02395fb
BLAKE2b-256 cd815441e484914b335241adfb7099c22c3faef696da8d9a1fb415be1288df05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c61b4e7ed06dbc84643b9d75df6bda01415be7be0e433bab953ca4dcbc716c4c
MD5 19355e9b7e07cea25c6041aa1cdf42b3
BLAKE2b-256 97af8c1f0c62b47b1f2a1cd3dbd61da15fbb46b64d544f382ac9eb9778379365

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.24-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7a17183964d74fe416d07997aa0cc0c2dd37542c464e77392404f3ace425b302
MD5 a227a39ca35590dc4f2edfcc9b64c515
BLAKE2b-256 b08f89874d022d0ad9b3f0f27ad7c5eed99e88f990b8e69c88adf1b7107eed37

See more details on using hashes here.

Provenance

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