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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.41-cp313-cp313-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.41-cp313-cp313-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.41-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.41-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.41-cp312-cp312-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.41-cp312-cp312-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.41-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.41-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.41-cp311-cp311-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.41-cp311-cp311-macosx_13_0_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.41-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 76cecb3798c885b9859699b8a87f58e0648eba3e5374819c9fc5c0397b9a2470
MD5 40ee3058011548d4cca5d896f1c138b8
BLAKE2b-256 e56a7166962b6cd57d28838f851a04c5ac4a4df116c73f89ddc839d7a35c1841

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.41-cp313-cp313-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.41-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 55e4c81395426665f44a27200694448b9c1c5dc753afbc0253921fb4891a2c1f
MD5 e5cda5e97de3feeb6e95ea00afa9dcd2
BLAKE2b-256 177c46332b414cd0e3cf5cc2f33d3cb42ae2ab7915b855f7dcfbba7a1bb2b870

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.41-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c0d52fc0b60fac5c26b794682e5b4f57943b44f43668c813b2bef299663a1919
MD5 9840483fbb53b69692aeb16d5ca7697c
BLAKE2b-256 4f335a6647a33e3a4aed04d87cc165e1aafcd8eb102278241649b160d22ba532

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.41-cp313-cp313-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.41-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5d32f0e649a3a3dcf89b6c72cb63b994a1d983715a8ac783f0884a520a92df3d
MD5 6d44d4bfb0957b7b9439ff3d59378fa2
BLAKE2b-256 73305e257936677d88353f2172157e7c5fefbbfdff20a28ac0acb92313c7aa55

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.41-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.41-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cc568cca053c80d0a94b6a20e3a79d27021e22c759e7a9e8b98aeede4c8a343e
MD5 cf4bcf6f3ea26fd4af4555d5c2201cb6
BLAKE2b-256 8aaa0271eb6647971f558004534afcfecde77bc7a9ab5d5518318812b8b6fe56

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.41-cp312-cp312-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.41-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 45c576a51f17779f20635aeeaa685b6ac3e7f3da4c85db99b99bc51a40653eef
MD5 f616261e6783ba3c16afa4f75bb2f714
BLAKE2b-256 a2303411e944b49d9bcedd43681dc785b27346397db4ea9f4a07cc2aa6deacc4

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.41-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bf69d9ee27a284ab1829e41b87256826888a4a43d1054545a75a99c2f23b66a1
MD5 9db871a60789f4dccfc080df361d10c6
BLAKE2b-256 8a3024bb41758610e200b45def60e206d13567e708351ade10d341a032182216

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.41-cp312-cp312-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.41-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bbfb00abcef049db92b88dd44d47ef38b81f0aa91aff8c804c8689fb5a0b167d
MD5 4dccfb0632c459b804998df88a5773e5
BLAKE2b-256 f6c326738c220084bb67bd88f076c34e026257339346d17ab5186bc6a49e4d96

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.41-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.41-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 47d89fc963dcad0497ae72ffe8d4f0a610124b9a2c4e0efcc7d64fbad641ed4c
MD5 96e983c6b8e863b348521d93ba315daf
BLAKE2b-256 5d7e6016bfdcb14be08c8833861a25254e0d5eef581d111acc7945c4f7d13039

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.41-cp311-cp311-win_amd64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.41-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e5fd09255ace3e0602a3ffc2a88af5a982049dfc6ef3d917927eecd9eeb1e856
MD5 8948131df6bbc95d44e448bdc43fdf5b
BLAKE2b-256 ca1636ad81953d3c8d6345e480e5f486233bc8bd7e4601716beb20daa6b5b69b

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.4.41-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a5a56bda676c5781f376627cef13cc4a11f8e58b98140e402313c33204035cfe
MD5 9dfb8fcfac376055773002c6276da2a8
BLAKE2b-256 b9747e6d96474d2c23c1c08913b2008a90a50fe94eced6da2b00a24c77e6dc33

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.41-cp311-cp311-macosx_13_0_x86_64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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.41-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.41-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d72331a4a04f0c0fde43c132f0d8dcd5f869defe9decbcae52d393cb08f922d1
MD5 f5595b67a10405065cee4096de54740f
BLAKE2b-256 af4903c47f5fa0673f75e6ee5fcb860ada1d4fb591ffa53a60ab42876ccfd8a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.4.41-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl:

Publisher: build-binary.yml on GDP-ADMIN/gl-sdk

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