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.2.49-cp312-cp312-win_amd64.whl (853.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.2.49-cp312-cp312-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.2.49-cp312-cp312-macosx_14_0_arm64.whl (941.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.2.49-cp312-cp312-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.2.49-cp311-cp311-win_amd64.whl (864.5 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.2.49-cp311-cp311-manylinux_2_31_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.2.49-cp311-cp311-macosx_14_0_arm64.whl (932.9 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.2.49-cp311-cp311-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

Details for the file gllm_inference_binary-0.2.49-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.49-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5f32a8d1d79495ae5b30c594ef9e2cee597109d402ecf4178c114b017f6ecd96
MD5 912276765e92530e91eb049ff2f29f38
BLAKE2b-256 2d615245d488dcf42db621d42165f169e77292080bdd47d324d878774ff422d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.49-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.49-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.49-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 51daacfd31e79fa330bfe3fe06fed711816c45d3a8003bea2e92bfb0f0bd842a
MD5 8289336e9de2a9e4b0eb4f4bd6dd905e
BLAKE2b-256 8b8b048fb4ebb01806fc01b6cb284f5e5bec58846ced178e85fb7d4f9f4cb8b4

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.49-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.49-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 733d7438d4ba1a93434f973d0f99e19a90e559b52df2e24581b6ac4510c2b355
MD5 1b8d98f39e1f35e371719d650cb90561
BLAKE2b-256 4bf1102eef3deb15f8bebc11ed13415df2e014732d4e8e758af92fb6b9ddae36

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.49-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.49-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.49-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e4029f13780ad1af75b9f255ddfce4d818e432acf6f9d9ac3090a74bed9b964f
MD5 e51d040d2e58f0bc49ade810e9f2a0b5
BLAKE2b-256 ec7c7a677129e5e3847fa34a44d4ce2f09fa44a1ad50c9220dd39d0a98cfae56

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.49-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.49-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.49-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dc4200090c51492b6b4856ca0d30f1f156b8643f4ca7d4ff4f549659ed4944d0
MD5 acb5b5d4c6fcce4f128128da8fffe2d8
BLAKE2b-256 bae89f549616dbfdf5602b5ec641d761e1c7802199e756b80ee81c0578d22ddd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.49-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.49-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.49-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 986c16bb48b3f7a2e4df4f9c9dd3a4c7834dedb730d9b733d090430b55d43eb8
MD5 2488c5f260fa321e0e865f00881af3b4
BLAKE2b-256 a8372b0e30849fd6dbc9768963c08e3e6081035b2807e35d51a313a526067289

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.2.49-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.49-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9b6eeb876538161fff61ea110df8f7353ee9e163cd175a28d8d9631d65b53e56
MD5 b63daaeb58882f1944c591805ff6abe6
BLAKE2b-256 a7675a02ff3d60012e253f34dc65c50d1eab8f41c60dc12d7c476eed0599639b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.49-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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.2.49-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.49-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5805a113f67edba56ce56ed2c3851f1b880a1130086b160de0a89fbe255b57b2
MD5 0fefa8ad397ed086878d83f612bb36b7
BLAKE2b-256 0c568a31d85f188bda42adfab816e5b299c16c5747ace407cf297154a85023ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.49-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gen-ai-internal

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