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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.13-cp313-cp313-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.13-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.13-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.13-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.13-cp312-cp312-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.13-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

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

gllm_inference_binary-0.4.13-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.13-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.13-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.13-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

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

gllm_inference_binary-0.4.13-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 272867d4913e7a7e480a66327d39e2332789328c99398ed8f9a0742c05382f19
MD5 8c12a2d3ca8fa89b96c6b24068a41a3c
BLAKE2b-256 014c3cd907e03572d689970ab680b5e60c5515f53a28255030d3dcc6cfd94e0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d72a5fc24088c2860fad39782712b0dabad4d1e3c48b2b7a3a03e2fbe157570b
MD5 31534e7e5a526678f7968a3e33bcfc3d
BLAKE2b-256 905dda38c7470bb7fcedb6882abdbb144b902414ca390dfa967cdcb8203446c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 510adfa8ecd12b3f998e35d91c055c792bc58ba482c6e3e428244e5f55097c9f
MD5 b7f3a768a05b3f87f1f7e114c5bb2e51
BLAKE2b-256 6238e4eb919fa93a3189b2ed1fc449ebe5085d4ead373e116e81a60563fc9dc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e2136b4b1b06ba1a7c4c08bdb7a7f6b1b7cdf1644d026d97fb35f9d3063b1090
MD5 62caf0a71c1a3603c59c0e6cc558a0e6
BLAKE2b-256 d18bfb3757430e8795dd517ecc07e8ba6850f2d5193a832bb34f5d65fb695d7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b954288dc5ec838bd69f83dc624f196351bcd7833fe8b23e33c4326d9cebead3
MD5 39bc63b1e3ee1fe188c5300e16955af0
BLAKE2b-256 55192baa3b7c1cceefffe15deebce3a613f2ee17384e83383ea03f6ea8162ba9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c9795fd6da34783beac3dd39c9c1766289dda778215a4112cc4f976b3aff9d22
MD5 eb747f1f35e3bd5ceeb844a893356f82
BLAKE2b-256 35611c10495972468ffa0fc0f176a054588b8275a7ee0ce2d1b6c586b21c6e35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 76310ef2a51ea43265dff6e205085fac8d409f2954389f4da13da58acf32012c
MD5 f26e25dfb83ba9d49ac939faf74d0c6c
BLAKE2b-256 cb01b3b9246423a53c65f97710577def779c86b509610ccbf13209f8967b5996

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fa8285ce20abe86cf5f7ab29cfec672b0a629a9a232b4740aa0877bff39470a5
MD5 59aeacf6d3aa0e387c2cdc9b2871b182
BLAKE2b-256 79ff679322f70124d71ff45881c3267ad76f84a654be6d6c78afdff99171acbd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3f2103dc8e8b3502da84dc82381a2e01c3021641f7dd35de3e29616df1e6895c
MD5 8008593075bc20481be1dbf6274a1594
BLAKE2b-256 dfbde025d28a11b0a664b73f4e64fd52b87ef1596d106f563a8b8ae14b25b657

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9d39f68d81b0a736883d5d0feb1e8c5235a84a1da865d314b66d5cddde729764
MD5 fa4a30451cae569c8121e1868badb484
BLAKE2b-256 9033c38e436c283b855c64f268ff1017e4ac46bebdc7f580fadac5535ff4b1ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 acd84632eb808cea70bc1ed9d8e7c5fd1931c265ccb67c26ab0449e4e4cb8a5c
MD5 ee2daba33615563e7ae068ccb97d32bf
BLAKE2b-256 d4a7e8599402a8044d1c843905265df75ed23076a4104b3213aba6468dc04c9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.13-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bbb6be7f6e657a6e74273e1beb27b0c67057bf7cd687ffc863b455e4e9d482f8
MD5 17ede9e951d821967df239d2e42906c3
BLAKE2b-256 9906f1a54757d6fced929a75e5f58d7877510c3aee6e344b06f03f3f806d6db9

See more details on using hashes here.

Provenance

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