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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.9-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.9-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.9-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.9-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.9-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.9-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.9-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.9-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.9-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.9-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

gllm_inference_binary-0.4.9-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.9-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e0bbf7a58d4e75e165ee7b3d0eda40e230bb3376b74e362f122078e0ac3878f4
MD5 2f6aeb093d6a28c94d50b96e134483ea
BLAKE2b-256 502d72ba0d4ab1909ec8327da96bedbca738dcb1472acff5ae887638e432647f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 90065bf3b71694c5f200d96503c8149d2e13fb61781dfc75c659f2ba14ab1f1e
MD5 a7f089e750df867a4306b3941533f917
BLAKE2b-256 5d889aa5a5b23240909253320c28e0e23cbdc511e34596719d5bdd1ad4e3565f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 2ed50e1184a83d4d9331447accb2db2e3a7e4b4c1188ca7516f048bf411b2317
MD5 4e6d7d1cb67646d88a4f2a7229ce8509
BLAKE2b-256 bc15b6f8106a57bbe593b1ba3c4e99e83362e9678927d3c2bcdd7db05ca66204

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4e4a4d3418a0ac13f5f1c1f67e8937eb072f7d5368105dfb446c9cadfe6af25d
MD5 72baa429fd23aef15e79d13161cadd49
BLAKE2b-256 b6e900f132e63b2a499a499da1d58383b52db973527f3b79042f8aab12f962c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 44d9cee984f0d8f2949cccfeab2990d5bdd54a6633237db9e7f7a8b2df9391fc
MD5 fe5589417b2bf2c66f37257d39c6ce15
BLAKE2b-256 9184a7333f1afbdb6f77a0678935c91b6e07e2374b2ae971abd101a98dc5cab7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cc62e01a1348bb4ddaccbf3fc934ae116660cbb4f0b2cd47b316e2b97a2d4d66
MD5 152548c9e16dae4a8daab3945b201d9c
BLAKE2b-256 a88205b89321b0f967f737c988888fdf67660e285778804eea84af40bf9f04d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0a84444e6cfb3131db3c398114633d9c1c2d1e05719451c4c7a91c3530070d8c
MD5 888de103046c84386898f7c80b01db0c
BLAKE2b-256 042a3f78d67d198e627d0f16b12393298865e6654ad5da447f4484abaa33ede9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 51f8f344b03a9267c313376823d6369a2d00ae0466a2509a502123f74dc501a2
MD5 8d9edf8e7d0e76bc725cdafb0c1ee3d0
BLAKE2b-256 d51cd82137d5e16bb2f82d8d4dcc5adc2374d023edefaa79593e1cc30df718ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7ba845ff94e6c9b48e9cd2f475ed02009c059a8a745bcff66775a2dba5e2d2e3
MD5 1380c87d76aea80b36c1bc16aaa69309
BLAKE2b-256 c5a40ff6700faa934c8725b1832eea8148a5a7505a08272de4ba4c3b7fb0f2c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2b199608c94e2e1586d2aaf7aedd4aab82a3367d9c3e0d24cb43c8de3e1aa833
MD5 3d95ae6598e2c10a9dffac8ea4366468
BLAKE2b-256 12214905f250891a52de129009c88ba75af14446362c7fd49be8d6865c3d5ae5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 65c5c18a77ac8ca9198fb13906613d4e767eff8833451964aa11e1619600de95
MD5 25e932b93ac5e0a7cedda18b5651a219
BLAKE2b-256 303c50cdf340b0b33c9352db3d416c437118fd1f6e4f606c18bce72a66db6ede

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.9-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3faf5d408934e70c50dd112b78f4023be076232e221bbc2c2084273a5112bbdf
MD5 e175eafe96ddd36bcf207831677eeed7
BLAKE2b-256 8a86635db1e08d337ccd25f00c1cd1e1e35714a329e04e1b7c9089f8865365f5

See more details on using hashes here.

Provenance

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