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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.2.46-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.46-cp312-cp312-macosx_14_0_arm64.whl (906.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.2.46-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.46-cp311-cp311-win_amd64.whl (834.2 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.2.46-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.46-cp311-cp311-macosx_14_0_arm64.whl (897.2 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.2.46-cp311-cp311-macosx_13_0_x86_64.whl (999.3 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.46-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 35294edaf746bfef6da2181997b86bf504f89fb11a68ed1820938fad2c624871
MD5 29957c72cce1c168e739d2bc92fed566
BLAKE2b-256 d6303e5ae47a9a028c17a5d4f0a19f75834746593fce857865b9a20e1bd82dde

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.46-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 04bada9a87e3ea494f5bea885723bc5c2224ee35cb0c4aba5b3482c74f87632e
MD5 7373138514be511bcb8521e711dc429c
BLAKE2b-256 b340da13fd1684a53a8e24226a14313110ef0707350558ed520ff9ddc802feba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.46-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 73126aa62576c944466a37fd6223ebca68f230cc138c6bf645faa368bd95f92a
MD5 9f2e08b27d8b7be36fba2db9adc30dbd
BLAKE2b-256 95bb8cb219f891938b6e699f53d8a92861facf1eb13146635d2d27f138ec5adb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.46-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 06de6d36715b057cf85d701a96c1b0e3f65701f370eeff87a2c1debfec5525ad
MD5 f73b183610d678603e17f4ee372ca152
BLAKE2b-256 275e475f2fe6f9be763450ef913112cd6fa10babfcd5dc179f19920e6f09012f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.46-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3ceab4a07e7807d9029dfd31b11da4d3ef3c9492e104ca56c96587438735ee2c
MD5 6ded4d7fceb2688c1c135b4c535604ec
BLAKE2b-256 4f457e88346176c281bf17625ae32970fb0ea97bcad4bd8ea1d52fc792eadda9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.46-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5210c74e82cc122c805652b0b528ab63a624d51d6435c2218aaec85ce060b79e
MD5 8bd9e26cec0d32b985941c468628faa1
BLAKE2b-256 8cd70ad67c5e39b55dde41363cd17a4d49921c086b6d6c30a7599dadcc4f2238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.46-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6d16f307e04f47c0f5aeb71db0f6c2f4759aad4f9e2c4efe71f3851b021b23fe
MD5 3c03692868ed65188138ce8f51697a7f
BLAKE2b-256 c84f4e79a74d5090328f2aaa0add402bd6749601ae2c91b3c08520c5027078a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.2.46-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8bb218496535ad04c982ee5a06572e3ef6b31d3971c6b5965a90731339c1a581
MD5 83f8ad23e13713917d9db121fdb65e3a
BLAKE2b-256 2ae56763b6eb61c4d6f05015a45dbda4773ebee366501c7c4b45fdd29c804aee

See more details on using hashes here.

Provenance

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