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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.29-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.29-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.29-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.29-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.29-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.29-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.29-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.29-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.29-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.29-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.29-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 378ee17ecd1402d38871723280d7ee59fa4cba97b810cb0a32b874c06f7fcb16
MD5 99c5c95ea97865044e0dda72c634c1d4
BLAKE2b-256 caf6701cf741a474fd7c293903332455842ff683e8ffeb4795c59b0122e9c5dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b696f7aee0fbb6798c22637464b007b1fdd57355163015cd7727aace9c5900cf
MD5 112082a9089b9fe8374ee823faf01d9c
BLAKE2b-256 b49c6c91268de08586fd092d07ef241d89a6988f4ed1968c86f7b969e99b0b2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b0f688487bcf44fb031ec9cb45c348fa8ac428f1636868097ade95cf0528d234
MD5 21d9c9019036a6486d0352457f82385f
BLAKE2b-256 c95aea17c7443f4149743022395cacb42cd3e64fe9df96a7fc4d938ba42fe41d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 dac8dfe3152043d0abd392af62dd804a3cb5fd167cc0f32d83def2330ed837be
MD5 333710b05062107d28f0d2ced2ba311b
BLAKE2b-256 67bda74e6ef317c31fbe04b77fee8844e24274358f3e1b82d6e4a522504df2d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6b9ba5a080fcec34656657385d90c1f826b1ea6662b181a83f148192eadeab28
MD5 850b374f3a8ada7604950b6468d03bc2
BLAKE2b-256 94968627f7f6ba78e8391eb8934060b1129a805e69d91df7b881516e19a7e57d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 55ac02bb2b55e260ba131974afe633174cf1d8cfd3fdc07846e6621c111e56ce
MD5 381fd19d73959a9e76da283d39cdc699
BLAKE2b-256 e7b2170dea89ab879c3a284ab384c1df6d6ec28dad18feb3d93f2cfc1d007130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1fbeb260a6cf258641f452ebb70ce05f836b78f1e67eda822e9c0862ca8e8c4d
MD5 dba0ccdb090b3dfcb1f1476b9e01b320
BLAKE2b-256 4a23b911eb14e12ee18b91d40442617a1d037ac3a0e6a8940fb79c3891cbaf11

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bf7f865c7ddd800208775b3350ba77477ed65ce9d92cf2a775129f9a74d83807
MD5 335e479946adfdc517765f28531c5ed9
BLAKE2b-256 ba1d471b46d362616803fe2c7a1def225cc58b17a750ca82fa6636199152d8f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5ece9ca7db6047b8d5becaa4139cbd02450e5baaa6eb773890c0eada992c862b
MD5 8456f979e9c773887273bc4c57935fed
BLAKE2b-256 cc04f18d3fab222ded95e13329a4a8fb00b37ec5869b0a266e3f47e28943c533

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 93c03e9dd9e6730ed6db5d46331e9d9928d7b0cfb3971109c4cf86c8dcd7144e
MD5 435c3ea4a8ab51c14088d9ffbea8b7e0
BLAKE2b-256 a7811e0088f55ab5720c27286b221b37f8415a9f6384a2e83b3199f724a3aab1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6c0b3679112f93a55778148b971a37c583d94576f29427b621d4bfcce01fdf10
MD5 a2f4ee66eb2576e3b6550d3c46060239
BLAKE2b-256 2333e01fc26670e20c892e62ce95fa2af4b93895dca3fe8d7a61f0be5ece6aba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.29-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 21e934666f8091198df22d05a5a8d031a4b0f086d32fc3da1ffd7f65c7a81251
MD5 c38ffbc8fdd2fca440780342f4ee4c38
BLAKE2b-256 cd2ed5df1f9be08f06a149c2938b25e5c7f45a10bdafda7bad7452740057a3c6

See more details on using hashes here.

Provenance

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