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.1.post1-cp313-cp313-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.1.post1-cp313-cp313-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.1.post1-cp313-cp313-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.1.post1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.1.post1-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.1.post1-cp312-cp312-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.1.post1-cp312-cp312-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.1.post1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.1.post1-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.1.post1-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.1.post1-cp311-cp311-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.1.post1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

Details for the file gllm_inference_binary-0.5.1.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 791d36a59da57d9216e59f48f486878440b0f8e4c52f52b28c242d8118cf5221
MD5 43baad669f993861639a388b7ac405c0
BLAKE2b-256 90825b12d3a55c71158c0f7d5eb11557557668defab90fe151195755d69544e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6d5ee325501a34d72d13a12c5794e40bb36ae65e98359d5d68aa90caac629f3c
MD5 8950be006b38db3f8be58e852919cc4f
BLAKE2b-256 892042248e5631088e77a0f509be1dc9332ba047e8843c654ecf985d857a338e

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.1.post1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 837f692e91904aea5569dbe7b71e6bb2adb59e86aba0f307052f6887480366eb
MD5 f39d86dcca01f4919334b69f901160a0
BLAKE2b-256 7f39328d1a10e360059a16bd9d70d83584f0b247680bac86ecf2b1ad55445bb1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1a408be157d3e78a5890742bd49172dab1970392aa79d5b2d03aced6b13b642a
MD5 2b95645349b2ebd160939248124d31f5
BLAKE2b-256 afb94a687f2b2fcc9968dea43e1f2450325ce620f44204b2498e23af92cd7886

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bca80205f9f984d8d9dc4e62cd3d6fb11238ffd3e5f3b772e2b115e394c37692
MD5 2614b9446c72fd93f97bee5d9f3c592b
BLAKE2b-256 49cb5d80210cd1b045b6e8c0ede517402df5f68638e1c3647896087b0a099e0f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d528139cb93e544ce2582bc648647d92284b705c4b24597d26a4f83c25882981
MD5 74698c310e846537e4133d2a248c8cf7
BLAKE2b-256 aa81e5e5a502b605cd450fc0b8fc4fffc6166503bd1c05fd21c2caf8c373857e

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.1.post1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1d0318d22f791f8d1a192b8e1e0367177763b6269e02a0f1ba5e74d2b5131077
MD5 20ada200093e45e3f064345a24c2b5ea
BLAKE2b-256 b1c01b425556036c1c5962212c58367568395df35c0b965c0b838f7bfe719a59

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3d1e149efaceab92a2e0f41d71f86369f6d4a554206f151997fd591108de27a6
MD5 82a3dab98d177e635dfd73964a153fac
BLAKE2b-256 80ff53c1801f0ffd7c901cd56700ec10259c735056daea71dcb62e923bacdc3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 634032a66c32c03b95e8755a7e8b9f8a84456b18f3fa3972360acaf5b7a13521
MD5 968f2afd59945805462a527d5d86b3b7
BLAKE2b-256 f5c72e61f1645f68d217f2593a962aea45d929d1241eb2ba69092c3f11d5c1e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a8fae074005a28daf04974f310f24574f263cdf0289c4fa26297361f37ad95cb
MD5 f60c7983d674b0efe4fb01cd8b3791a6
BLAKE2b-256 3bccf43cfafde7a0253f2510ee8ae6e10060e50ab5e56b1745fd77a7874ba142

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.1.post1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a40d196dfcdb6637de4eb68712bab0726a078bdbff9f8e977becd3a4f065531a
MD5 28e7fba6e7a716b92f39310bb523783f
BLAKE2b-256 454bc9b174a57425bf765981f7bb83f7de21cee2960581e13475340c1d0919ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.1.post1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 af845efe939c5add073dc7654ed282caf15c2f48006c205e273080aa671a4402
MD5 497250129637cd20cf1b1f1396b14979
BLAKE2b-256 8ae391b6b5a49617d4f635ec6e84b345a05c8f4d2e7433280aea6826b869ac29

See more details on using hashes here.

Provenance

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