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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.2.48-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.48-cp312-cp312-macosx_14_0_arm64.whl (909.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.2.48-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.48-cp311-cp311-win_amd64.whl (837.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.2.48-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.48-cp311-cp311-macosx_14_0_arm64.whl (901.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.2.48-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.48-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.48-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 03ed6623bb92b35d8e9a442d8c7cc90c357ac87074a6592ac2bbcaad2cac3291
MD5 63b6ba46aee3ce7ffab9ffa52a894a97
BLAKE2b-256 1a42bb3c8dc2f8b4c0960b705bcb0d9e79d2bb39e055cb7d9d190d66c851388c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.48-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 93df5dfaeea78fd78427d0f555ef41a1204ede71ffc468764a2c7bdbafbd0860
MD5 340ffa84800cea4debd02e1eecbfba7f
BLAKE2b-256 3a2f887ffbde229d3764c60cdd0da36ac482ac60b464addbdf2f9abe509cf607

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.48-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 de2cb46088fdb064b34a5a85f9f13735fb45254fd44ac98475b782a66f85ce13
MD5 d90f4b35ffd845f65726400fdccf29d1
BLAKE2b-256 a866777c0c07da088be532c8d6e2b76b5a3247dc6bdc5e392672c3514bbdf8bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.48-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.48-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.48-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 29a3497d80112a9db5e10cb016e30eb2143b10ca9da97de62fefefb98226dda3
MD5 1908dc211e39d56801c2424a2c78eb38
BLAKE2b-256 c32907b8ea0699ec44cb0299e0d09501e357d9427cd32970e91f09c5025667ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.48-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 76168f697314702c3a011c50df6755e1b4549ea2409e57cff6d2e441d60d5bb5
MD5 93ea9178ac83a771bc6aeccbceaa29f3
BLAKE2b-256 4db5831956b77fe38711285e644c85bbb77a93b54de82b4ce313d2af492545b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.48-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c4f2be66961e8f8382115e33e3cbda229da7155c91007d9423890daa6d197e29
MD5 1160d2ffb9bd6fcf04a371405b4f1469
BLAKE2b-256 9724820acd5c12e56297aa0cbd211cf2d0b96ad29d3006d5319bb6333a65c40d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.48-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 22d70f795bac9dc7716711be94cf41544fdf4e2f85cb5dddad322a06b123b9c1
MD5 5260cf183c46495ac944165d4666f4f6
BLAKE2b-256 181c2e8b1711d2af1f4f5233977b78928abbc45c53cea1df86609c163610cf59

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.2.48-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.48-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.48-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a2c01378e4659756cd6a5e0be09246f498f6e6009b7dd2045fc08bb7513bfdab
MD5 7857dd80b523aca60dd299259b9b6d5f
BLAKE2b-256 0e0d7d306408ff19f1148832605124036025a6c7a75151fc223762b74621ce81

See more details on using hashes here.

Provenance

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