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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.27-cp313-cp313-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.27-cp313-cp313-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.27-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.27-cp312-cp312-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.27-cp312-cp312-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.27-cp312-cp312-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.27-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.5.27-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.27-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.27-cp311-cp311-macosx_13_0_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.27-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 975e934e883663cb4c172c4d67fb16d4a8665e73e6dd888dc62c2809c297420b
MD5 a2628fa03966698c73a449502e3e06ce
BLAKE2b-256 41123c6cc40783da0492473daf63107e63fefdf8f432c6259babb6461846ede5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 850bd91ac2b9577a12888c2b06765c780e5b9c0366dfc91011c23676ef6dc426
MD5 c1847d7fe8839c2b0ceaa7f138d811e8
BLAKE2b-256 eb28309ac03b160ce9937230f2271b581dc00713bee38f6b101d5e74349b309f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2883e5f57a0b7ea89344fbdcf8e5905faa2fefa6541068ea226404798946cccb
MD5 9b4bde29b812755f6fcf260d1956abfe
BLAKE2b-256 0f25e35610b9c56f32616173fe4fc2200e1efbcded3069935a53ca298d10180d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 28c610755c3907a6e8a72986d504493d48b0caca932c900e738a1a8d93b8064a
MD5 fd67546fbd364529b707c0c6b9499d04
BLAKE2b-256 53e7291f7064f205c19680a04e4f4efff21dc2de2004c41b380ce0c226c9fe0c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0a14eb81ca212aaf356451f1614b2fc1af6ddef0d92cc5fc627d043b4b15e89b
MD5 758233dede561147ddb3650cf07ea086
BLAKE2b-256 016f7736b90e20c91b7a3b564ff52e21baed5c2b3ea8f04cb59b5d44073a5e66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fa2277c93cfeeb28cd55c9d6aae768b45bc92159ba605b37e3751cf7eebf8777
MD5 ab7ec6b504a06a2a6c8ab59cf5f9ab9a
BLAKE2b-256 08f76f29f78f6c1e82d67e3163aff0944cd62dac51f2063cd807bde7d813626b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 da19ae8e3bad833ce2e2f2a4125cff047da91a6003ebff7aabcdab5b574ef3fc
MD5 4a4a8a5ae146cb8c2e2152030a1970b3
BLAKE2b-256 5b75547896eb3fd68e6dd88fdb9722f1f0975a0a08f7af13843b2cb1a4af8074

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d7d8ef9c6ed18ee65d64cd0afca621fe111f4a8a475eb8086050edf7cc01384c
MD5 e5cc75e3a1b3e6e80c76e2c675274a4f
BLAKE2b-256 71a373e73196ad4dbe0e9999ad1c51c2ccbd9590e92e77cd8858ae6b896707c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 56af13b876d2ae46585d196936752b4d2d7fe5bb2ea66d295d723ad76d7eec36
MD5 11f045d38754d03cef03ab4718024ac0
BLAKE2b-256 3fef141bb2e872f87e2c5e5854fe588870757ece65938697d29e3e440328d912

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 aa5e616ab08d6bef33fcce1e6b79e8bc44e205cee1f0b0dd86e59ffa9d6f26b9
MD5 f90b82d824aab210af6262891a235c1d
BLAKE2b-256 fbb1dd1bffb45d98eeb8f69588b289a07b776f39e027439c5fab876c229f2725

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6cb66e870eb00b065e4acf1311a5c25656e7b2eda64535d0d4d37921c7cfbf91
MD5 6b633f75254a242a7d3b1301b15f981d
BLAKE2b-256 b8c071aae7258c85a400269529b1d13be2e82d8304c98ef60634fed54a6aadde

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.27-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 95458f85e0bb5213f70cebaa1913154a9a44b97df66fcfc626022259daa05b46
MD5 efa999f106e867ed931329b44d86e08d
BLAKE2b-256 bd0bb3fc4b25104cb81f51356513527508b1e458e022f8f68f02203149a216ad

See more details on using hashes here.

Provenance

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