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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.4-cp313-cp313-macosx_14_0_arm64.whl (960.5 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

gllm_inference_binary-0.3.4-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.4-cp312-cp312-win_amd64.whl (869.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.4-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.4-cp312-cp312-macosx_14_0_arm64.whl (955.5 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

gllm_inference_binary-0.3.4-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.4-cp311-cp311-win_amd64.whl (878.0 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.4-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.4-cp311-cp311-macosx_14_0_arm64.whl (945.2 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

gllm_inference_binary-0.3.4-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.4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fea96f018c335d2b18932cbf046134ca8ae1809aaf84282019ef54fc67ecfe99
MD5 66994277dd6f9a9b7ce686bcaa0eae63
BLAKE2b-256 92fc50ef1a8fa651f5a1ecf35613a3a45efc6a3f8bf1261d02c86fde3d3c6652

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.4-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.4-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 52bb02a9642fee99f1273a109d9e74b336137b36cff1c859044b711220b6c557
MD5 b88e1d42072bfe785d211edf19db09bd
BLAKE2b-256 b90ef38a4c7d2716f510456e923972679e03e2a3c135e9530eef66bf54408e19

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d4148ebaaeba86d69340b767a1743eea89f5d5e034173824e452c6ba7375f562
MD5 9024615c6a464a6c0136d77119aefadb
BLAKE2b-256 1bbbefab295d76d724bf45e96091ae40bfe8c0c3c8a5b71d45d2675b3df421b0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 54161fabf73a05f88dccc242f9f3520b8716c25c98aea03123f47468d6a8c26f
MD5 6e2de46fcc2e721102d2e0922124cd88
BLAKE2b-256 5b6d93bbf446bcac98b86e1af43634bbccb30e807a30e22165bedd0a4d44c545

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 74d24ebadd1bcf154e5f9448680fb0bace642b51ac8607053b1f458d86fc189e
MD5 29645cfefc2ac884ac68b1295675ccce
BLAKE2b-256 f0c4b01f45af0d76c88b80afcd77361b19bba552e0f0aa4403204d29ef345033

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 22c9f76afcab8a03de839bcdbb02ce2ad3aa2e4bc37716b7f298b8ca58a80ec9
MD5 4751a9c992077179e13d74cc4606885a
BLAKE2b-256 6b264ff4da4e142bb5a3a608a1a6b36f3069f4028addc2d56d5ba376a4052e3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 74a0b6614d24b10fd4ed5b8e258be7634e7c51a2224db55a7847c63e0070da3c
MD5 f4be3f2359209240e399a4695ddb18c7
BLAKE2b-256 bcb6a6ea44734194719ccebfb904c33955717c82d85728674881f314d0bb2c60

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3608fecba55fd8cd41398ca799fcfd1f40d65dc54873b6ecee3dd2e03448e342
MD5 f68c8b0bcee0c8f279a4d3489cd47d81
BLAKE2b-256 6a8073a24a7ea989966a8285640d3cddef83919f666ec04b9e652d9c55f5d9d6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 390cd9d1d6373ad57c122f6b72c562102cecc86e6158dae23f3cbf2d70d79139
MD5 3bf4a4ec58b7e856938401171c9a9a12
BLAKE2b-256 9883ea416a6653419b66f630167377bd39e9a82962c38c750298ab2a21fa4e24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9e2048ec3c75113d1fbd5cd08ff825b1a537550d4b9c05ad9fb40146fd3fab47
MD5 242da00746d5bd5a189ac3f85c187da6
BLAKE2b-256 4066d7fe5516d39a14ac1d125b9e4105a57775fdfc1d400aaba1bf1df6cf51a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a70f274488b95fc7d140100599c8204b7c55b7a0d9faa9b7951c0bdf0091efe5
MD5 8f917403e41e7cae0e0f9bdad730cbf7
BLAKE2b-256 13ebb19c7699851d6469aecdbac3bae3fbdbf7b74088c530b992dbf762205c15

See more details on using hashes here.

Provenance

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