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.10-py3-none-any.whl (102.6 kB view details)

Uploaded Python 3

gllm_inference_binary-0.5.10-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.10-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.10-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.10-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.10-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.10-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.10-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.10-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.10-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.10-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.10-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.10-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.10-py3-none-any.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5cfe173f62c2f64aa7fd31bbbf858948f4736a3322f633f50c847dd96e6b60b1
MD5 c3e4344acda969d706114d4880683ddd
BLAKE2b-256 e7b6f873aae3557a4d7d70556f4b92dfdc60f4feec040965df108916b7ccc86f

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.10-py3-none-any.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.10-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4c5b37c8eb4f03a2187307ad12a91a9a2b5f158d31509937da7001dfd240598f
MD5 b3d39fdd6d87b4283868592e04035be3
BLAKE2b-256 4356547db2a82def1510b55087ac2c3454cbed9c94e25c611635befff42926d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4b8fd33def2b0e292f1e20bc09daafb9e8d27714bcef9c39b72f12b8c1650ffa
MD5 8f5db4228c51e17a7e2cd4542057e5ba
BLAKE2b-256 4503cd89c875f5eb4a0e146d69bf20b8f1823a2ef87b0136952d4521486abc9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a8813139d8b3b285e9562635ca265137d715a03ff4807a1e7267a3d851f12304
MD5 9a132a774001332b2b95130479981c50
BLAKE2b-256 1f24a37f7c742d8bff96c04ce2db90e66107b465425cd37ea656d3071dc1457e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d60d1ee45ba8579fffebaf2956381b6c14c9610578c6d42fbc9eab626440983c
MD5 3439e838b7faa5e48b189ac41c8e9b1e
BLAKE2b-256 455e22036e0a7f014ed4fa6cb43200c2cdd108a682c2115589b18dba60e6ea3f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 18eb45d200e5fc2c08a76c0f944ef2749017323e8865723564cdea8b9ee6c349
MD5 4826030839ea1eb8d63c3fc6e48eb69d
BLAKE2b-256 ec1d01a2cc777c2b9688bb14dbd6e6e03b6d4ce435546b6b975d72a90106f8b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 23992813674b209886e1b79424c1b0c6baa8945bad4bdf41a3b7171f50987dc3
MD5 ec44bcdbf26329d724336a6867f8046a
BLAKE2b-256 6bfafa0f1bddfd7f9b225d93dd083231ad9efc9e9b8fe92e1e4738940c98a420

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7138f81977cde1d40f22c53c718ca2407d81d1df11a547074c081895f42fe36b
MD5 93dc9735c40da97d79e782495d31ba71
BLAKE2b-256 807eb176849d666393bc800f25c7395b313649ab86c6f93bd6b85f1bcef0575d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 880f727f2e752b5eb8e67487832a586a667972f9701b8569487705c1494f7646
MD5 417331f8a2adc0a5e2b4d3678ad30d5b
BLAKE2b-256 4359dd3883861f1880f5a52745d55bbe5479fadc1189757f1601805a7af663ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8892a717177e7f11576825a00c23f24b525ef5f4af3a759a3b164bcb45174b8c
MD5 8c443263c0f83b3b2143e9efe12c7c78
BLAKE2b-256 13b07f7def27e5d56f4cac3826a863d0bedaee89bee395358b0b6f864dff76db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0a959f51f7d9776e918da72020ca308586ce1eed11e0610c74b909cbadd35404
MD5 31d9ed65c2413925a0fd84904af8bdc6
BLAKE2b-256 60b828e13045c3cfd91771d8ff0b4a6fb099d924a254f6b32eb5fa80537db7a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3601c4540269945dbe1ef728075abcd80ef6afc28cb38143e0bb9b79ba575f28
MD5 2c5cae85e7729d18492f18a4480d4a7e
BLAKE2b-256 2a6066b6ad22d141f758087e834cdae37bb0a847e2f818a1839ba29f50baad87

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 891dbe3ca60e1086bc8173270c81a34c1b77ffffd0fda66471fd04bd94288e2f
MD5 356a246ccea908c9ebd01687488b97c5
BLAKE2b-256 3ce832cea2e35c15937274825bf754e2fb62a5d11ad92925bcbcf7a3ca9d3c1a

See more details on using hashes here.

Provenance

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