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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.10-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.10-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.10-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.10-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d4a78c99c72f600be7245c826338780443dc226c7eca5ee3f4fe38dcd74a14b6
MD5 8a4ab0e3bedfc92424eb6082c5f9c34b
BLAKE2b-256 616216391acc91abe09e4011997da4b198603366207784507e2004514a8d554a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 55078bb5a720cbc39263f77647b355c9f6680f90a9585007ba5b442c8a44e5be
MD5 65e8f686d56711bd8d173dfeafd69145
BLAKE2b-256 1783a56f8b8a396086f2341247a6f6cfb8e22fa5bf3bf8ce6c3e21162dc07c26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 b6a3109cfc68d686f3ec4ae27ab863d5b9f314f8ba8798aab67141f448b753fa
MD5 8331f53f0411049794dbbead6f688dfd
BLAKE2b-256 f3ca2658c729c1eaafd7e632ac4d02ebcbfa6fe8b2ca87b49348a15d77fcafbc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fa1fa77557a8007cb455f7d0bf66335e965174822dc26c69f32d33ab94d6503b
MD5 57271439c54cdc33af2b5be515419538
BLAKE2b-256 5ad0314eaa8609af66742a0b5b18386e58bcef15668f461b1c5e7e56625f8a97

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 79f23d7126e73ef32858daa03a9d2aacef62f70dc2afc403fc7a5eb5e9482faa
MD5 1bbbb1b51ca71fc00c4abb1e59331754
BLAKE2b-256 3440fc0496e0b096a9efba5a54b535e05d0eb72973638407f19dfce21db93fc6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ebfa01bf4389fcd1526e465f1230caa890ca5a29f13a9943e3779508a7c0b4a2
MD5 8f79b9a9bc0381439e4ccd3b34b28539
BLAKE2b-256 4c5ca5a6ae6490a4be979629f56180c3f0d4f90761f3ef294d54f916c03b2bdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 5ec208870b29e3ca9fb81c0405cf163d5661ecf65f47bb9a97da81b6c7de378c
MD5 c2fa0b5ac2e0689270082e32e1d9dd1b
BLAKE2b-256 c16eea1294e4f6ce04345147b1bcb754935779ae2daddf713a9e87e4d4945e98

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2a100dc51210075c1566c27188d3e596e808dc649b3817c3379a97450ed5d6b7
MD5 c735ea152734fcc71a1ac78cf16e9088
BLAKE2b-256 c2be84c8c0995f8dacd9d7a7e559bd0f2a9836fdad90b1becf166f4b61cfaa25

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 91dfd98c62ac385ff2b2cd30a617af571d251ae5ff03d6dfd683fbaf36d081fc
MD5 ec73112a5930a423f1c72391434b5cce
BLAKE2b-256 5ca0939f08f3617e218401ac1c1a8a889781ecab4acab8f295ef05d080db88db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 45b893beeaf6b75df16d1035cd69ff5265e56afac017517694ca0c03baa7aeac
MD5 84e191b4a7dfdee8bbda8f3bee61a35b
BLAKE2b-256 57aa741562e89ad7379626feecac9971812d80c8a102cf021d5213d7d7555dab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 31968193f54dba72947bc7899653f944507bf0099cd00b7ee1f6ac634e80172e
MD5 9097e31ec75e9d174873d68a58ea7c43
BLAKE2b-256 ce97a1e00a543d4a468e17d4f5ddde0dac2d937e2b8fea0c7eba4373ec99fead

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.10-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7d390d49af191cd2b9244a6396cb437ab14b227c273ddffcad60134dc1988441
MD5 90633edbd5d6e6d67213325fe2e18c3c
BLAKE2b-256 2dee6139c767d76d922ef9976d51c6722fcfe9c4e44a7e8fd05fdf265da1c005

See more details on using hashes here.

Provenance

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