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.3.1.post1-cp313-cp313-win_amd64.whl (840.0 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.1.post1-cp313-cp313-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.1.post1-cp313-cp313-macosx_14_0_arm64.whl (927.6 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

gllm_inference_binary-0.3.1.post1-cp313-cp313-macosx_13_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.3.1.post1-cp312-cp312-win_amd64.whl (842.3 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.1.post1-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.3.1.post1-cp312-cp312-macosx_14_0_arm64.whl (923.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.3.1.post1-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.3.1.post1-cp311-cp311-win_amd64.whl (849.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.1.post1-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.3.1.post1-cp311-cp311-macosx_14_0_arm64.whl (912.8 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.3.1.post1-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.3.1.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 521918d2d289f84ea90f5cf1a399c0ab453e7d80b6aaf4dce3c72de90fab517a
MD5 08ad173d2591c9bf59b5336fe5a96ff9
BLAKE2b-256 937b5c4197892c19506b5de2ea914e0ab699e416c6e8c02bd4486e97063d0096

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2212c01838774eaf0c3a3a2960eecba1ed0eeb401aee5e0837454b4e6a300ceb
MD5 1e0010e89df8c569ade8f6cfa179df79
BLAKE2b-256 2d299fd80538f27b410e04921db4b894a0c14387578e552a10c3ef33381f9de6

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.1.post1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f65ba185b5d308c68b6f16d30bb912e64becff3b01db7163e0c774bc3f90322a
MD5 9095cce4c2fb8199cb00fd9bea5c5236
BLAKE2b-256 13a24fe4d4d7b4bc436f9e17341f5e02b8417ca9f3b9a66994c78fcff386ceff

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.1.post1-cp313-cp313-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.3.1.post1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ba64c53980974e4074188fab3bc40627f5c8b53ddaa01fbf000febf4fa34a367
MD5 998ee96506fbfc223ee49c130a043e6f
BLAKE2b-256 75c4232d04d864dac23f59b3805b307f1c8da864db4188e1d1e1092210757467

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.1.post1-cp313-cp313-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.3.1.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7a4e4b7f342d22e84b195b0e7c8bcb035e769b4bf92f93e97cbda061f0c07527
MD5 dd87d3b6282a24748c2995b40fab0006
BLAKE2b-256 874eec2aca6dd52f0b5b5a67ef4ddd575ae5b28f460a294e095ea8e43072296e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 76cc96b6c778041ac6f8dab866f52a2fe8464181e57dbb49d52d641a310e3e12
MD5 bd57621f64e0e866a6c359a4611f6d13
BLAKE2b-256 e5949305eb8bd7ad6f3d40fcd7d4b834ddeece27cd4b6c143e480c9260a6e2ca

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.1.post1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5366439fd99067fd1da4523fe3495f6c68ce0aedcc617c411aff8f51c70d4e36
MD5 9a66b2e7585a2d584a019630c2641aa2
BLAKE2b-256 7bf7dd7542918e6d80a7b45be8367fdea5f72ee7cf1e5c169d5d935c76ea0c40

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c43c160fd90188a6801f2dd6a7178bb1f67bce504327562850878d4c41279348
MD5 62b5f2d70f30c187011e78c4d8072a86
BLAKE2b-256 c87fa1a7325fbd33fcc51525070de293e650de31283d9a7595a6e07f2a3e7a4b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1e8a40ca04fe979da44510865de41dabfa098679f74c4f35a9028e70fbcdfb90
MD5 80025d56f185940226f99453a5c35b52
BLAKE2b-256 bcd0a9b9668c498d1217e1d87ca446855f7b60b7e8b028e850bce58cc9e28d88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4b92235c9e7ea72fba94001a43a478075478ba17fe943a8102694066bff1a05d
MD5 c962fb7852269591f859968df6448bd0
BLAKE2b-256 4280a71cab01525156385b2a3f60ba96227242dfa46ce83a432c3e6cec836b2f

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.1.post1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f8732aee1facf4b5e7ad3ce751cf4c3eedd463a8f5ba9b70eb6db150b07c114b
MD5 cfd0c0a87631d82821bb60c438266fe4
BLAKE2b-256 3ea004f6598b45fa98b76c0e90ce2a301a1d5c12d47aeae2f0fe555b7ab0eef3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.1.post1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1a9bfd7dc7598f35735a0da9f87acf8031eafd4993c3ca529a3609b40cb742e2
MD5 c54478df7e00610635df4cea80efcb7a
BLAKE2b-256 493d6f800b2951fd7e68da6f60652e17f2b62266f4bd6cf64d3086989219ae21

See more details on using hashes here.

Provenance

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