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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.5-cp313-cp313-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.5-cp313-cp313-macosx_14_0_arm64.whl (985.8 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.3.5-cp312-cp312-win_amd64.whl (887.8 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.5-cp312-cp312-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.5-cp312-cp312-macosx_14_0_arm64.whl (980.3 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.3.5-cp311-cp311-win_amd64.whl (899.3 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.5-cp311-cp311-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.5-cp311-cp311-macosx_14_0_arm64.whl (971.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5b26976a041046d79e71e29dd970cc481a9702f6c42d9c3be94b22f471b74861
MD5 a4dd4676164173bda0c9248fec5b6792
BLAKE2b-256 6d822320874525039a8c2462cbb94696eac39fcadfcd6e364ae33f94f43a59d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1f9c9967c8ea852371700d7633f7ce8f9ec29a2395b81357a51dc6ca27e97759
MD5 0f9ba03e2f9e1da53be33626a4194b8d
BLAKE2b-256 806efb7938e74f5caafe5d678b53191b90aae92e285d1528c46f6813ebd9d256

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.5-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3563aa11b5cfcf36953e7362c3b35ca9f6fb05c2361d0538f92501e717b64ad8
MD5 a296274a37fb4c94909d0cf9cdd4207b
BLAKE2b-256 42a94822e737bd477c77cf44818e5b09131ab2d0b25acad5ce429890d5150abc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 681e77355fbb40b5a92ab982a4e245239f632faa0ae7cc8bb6ead9c6801068e7
MD5 047ab4fb1e336e2663fab7da89fe72fa
BLAKE2b-256 17f692f5011c2f9f2acf6f95d8747acabee583cd0292350dbdf01eff358abc0c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9e50c8a040ad091294d1ea864d9124d69a30bedaec7d79943c1e760e92e67ab1
MD5 a9fe5ccb36061937f8c97e121692b9d0
BLAKE2b-256 de57f050f646418fcff106886e5a039c211068ed738344d43d00a211fa519255

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f168312dc43ed26a267f1d2ba4c7b906fa64bbe467ea05ec0d031dc48ec1c862
MD5 d9ac0cb713392929fd95c0d25caf4d95
BLAKE2b-256 7166a58d3d35922020de8ed877448f95cbd05cbfcf603f796244b8700f335ff9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d10a1dd361ac26012bb3e4273a4bd81dec8af9bf063147b85aabbb89496e9e6f
MD5 ba25ce623f463d44a0b9c0258b2f307b
BLAKE2b-256 f897d4cccd7a5f9929bb6a044e77d60204a69a1ce3b5353202e5053fbe0f3dd8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eed7d037e9d2f8b9312c2690937ed2064719d1b78883614f0a337066ca294428
MD5 c5bbdc4e9682c51f96ac91502504b97b
BLAKE2b-256 5e9795a12e9b5bda80dcb44278e05da981a409ed8751178535660d963620feba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6dd1430d4c6eb033486241f41c41d45e5548dc4a7f3a7856d867bd19330ce294
MD5 50f3c4d2309c419da9d1de81468238a0
BLAKE2b-256 289efca6bc9438a006d3a92ad93aaec5c63233129f65b7734268aa610957108b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 dc33e05c29855c00bbcf25967fac84cb7db1848a00d7a3ca969dabade64dd3f5
MD5 0c84d2826d45f1abc514f623ec148458
BLAKE2b-256 c0a5bd97880916c442f14d95cb0c329e31e042a345667a48f802264f52adb26e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 51493a6f1b75da9be3b32938536ee52701e4363bfb5a12fd640b4fff514a6819
MD5 8028a4e05b12314ef77d966bcd165d1f
BLAKE2b-256 8b349fde401e0a44e1111b878c47026f1efbaeaee02fe42f0af741fbe906b3fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a174303677f46dba8ecb123edc34a4d8bb64134d2350aaf916cdad2f00c14c64
MD5 987acee067d8a75d3a341ac0464e2a85
BLAKE2b-256 614033a7d9aa715ba090b36cc922d75e3bc6dd0a6931c7ed54a7b79c3d0b9c6f

See more details on using hashes here.

Provenance

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