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.4.2-cp313-cp313-win_amd64.whl (957.4 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.2-cp313-cp313-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.2-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.2-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (991.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.2-cp312-cp312-win_amd64.whl (960.6 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.2-cp312-cp312-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.2-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.2-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (983.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.2-cp311-cp311-win_amd64.whl (971.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.2-cp311-cp311-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.2-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64macOS 15.0+ x86-64

gllm_inference_binary-0.4.2-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (972.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 329ffa8d103143c7937f395901080f8e2073c7c338829e31b023fa685f1deacd
MD5 d0239cde05b492ebc2d769ed2478a551
BLAKE2b-256 1d12c8774ff95070a4617331ef3935f1618adf26bedee7be53205dc45664b380

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ca891e26030f398741f872e6c9f693cf49ed76b5640ef10d67df244d2371170c
MD5 f98fd0b8870c4a68a364679e0c013b56
BLAKE2b-256 944912ec77c575213d782f8990e1c157ff9a6f11c3e161cb8f1eaad89d03c876

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.2-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 8e450ebf7e2e930e8f607972f5e10b9a54f62c7dc89efac8a4d03a5483178805
MD5 afa045c69c62527ac58e548dd4cf77a2
BLAKE2b-256 12bb57796f85eb940ba25a48f9c5c7b4dea23b61c5738a010145bf5fa1e67848

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.2-cp313-cp313-macosx_13_0_x86_64.macosx_15_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.4.2-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c03a70f69f70bbd90c86c833d614738f53d9f13c95146e00d693ea0bd4f36393
MD5 1db78a7ee38b53945ca8f050ad3c63bf
BLAKE2b-256 cd2ff3f8ba8cb697322062eaa29c18f84ff57d0e35dade78a19b148a9846ad7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.2-cp313-cp313-macosx_13_0_arm64.macosx_15_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.4.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9a022a46113dd2a627f259aad4096baaf4851deac51b1920c32ffd0e14040857
MD5 73cb17abbd1f7a1eaa85be07a2baad2d
BLAKE2b-256 34a5817b9e74f88974575ec2c1e822e286576d83f6aed3e0aa25e97518ed97a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 aba9946473c0c2390507bce2a04258231ec2540477def842da09b5cb4ca6cdb7
MD5 1d2df8969fab8b0350d04286d1b2f575
BLAKE2b-256 3d681d8f0c384027c49ec48c9b1b2858c57bfd936bfb0a8a1bd29ae2b345794e

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.2-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 33212299a01d72ae5781615ac51044902abb2430d8f4ea9af536bb659ba8d129
MD5 8907aed195c2d2747660bc908703dac2
BLAKE2b-256 8ea1395f238864e23b4f1265de4222a5183137b34b762f05fd90972567715692

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.2-cp312-cp312-macosx_13_0_x86_64.macosx_15_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.4.2-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 da0a2f1e6be2d46a66bede3ae4a17699edd8ea8835b9b27ac9b1bca772e56fd2
MD5 65e46e7d9877786a1d914c0057aa06eb
BLAKE2b-256 d0525d5df42d87fc4ecc03cf278f55dac2053c974d3c5c1ea25d2d79cd0019f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.2-cp312-cp312-macosx_13_0_arm64.macosx_15_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.4.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7e0e53410eac5f7c8b4cc72fe232e7fb7ab55f0ef3cc04cfcaf6d0761229a7ab
MD5 606f6e4f6ba76d3310c4e1e81a8b0a9b
BLAKE2b-256 e707c3f0596a2b10b4917d6901bb232202d469a2af2ef9cfa2f05a865dfb9dc7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f7cac4afa9d3c5f068643aecfe057c81a13f43b3780559d55c8b1dfb3248049b
MD5 8f967d6f903de2d360a1ae73228bc550
BLAKE2b-256 b8ce458c9af15b328c3f691c48dcedc625ad3758195704f4b27aa8a64ff9a35f

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.2-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 f0546a5e28fb4b36ddb43317e3ec9fff57750af6ec383c9b219c9156117309e6
MD5 413008309b89cd8d3638869a360eaa03
BLAKE2b-256 6d13636d44ca13c4ba431703404c8ed9d6f6f6c173734f682a615d1bcec6bac9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.2-cp311-cp311-macosx_13_0_x86_64.macosx_15_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.4.2-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.2-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b10e4ebd9e54d8f191991706dc8a6fa8c5b4c470c2f9d2e3aa3254ea4f907dd9
MD5 11abc915c2e624fb926f7a44483e0103
BLAKE2b-256 cd8a700c2038abc019f5c724bf4f6bede09ad04dca3ffcdeafa04750e07bf6ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.2-cp311-cp311-macosx_13_0_arm64.macosx_15_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.

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