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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.10b12-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.5.10b12-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.10b12-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.5.10b12-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.10b12-cp311-cp311-manylinux_2_31_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

File details

Details for the file gllm_inference_binary-0.5.10b12-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c7d8528e5d56ad48ffb0b309ac8c80d750df0b7836cae87c910dcb44fe5fcda5
MD5 f454b2ce61c9deadcd7893cf12610c4d
BLAKE2b-256 3fec8d2b231c66982e9c91d4a9550a314203cc64744b15437619e3e62ec04637

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b12-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 046b853f445bff10a8efdb9f596e0dbda4cac8b4cb2dfa0cd8d982d5bb3dc13b
MD5 4c8fbbcdc37ac0aaf408c89b57c1906c
BLAKE2b-256 a045c39b6e9d1217d2da82da49b2777e55d4d7e2c5d511bf2d457782ae06e920

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.10b12-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 eec985fff630e40b5932742e5e8f8d89e8c70e4761314f1f03e6604ddb84909c
MD5 8348f90274c7a7b490285e4428d40c50
BLAKE2b-256 a220c6224b14dad8dc439a58529d1756dfa88e054bdbfa214d38b5defc44d4b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b12-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f1a0bf163593696f98d8cc8d01441cdc7993fbb3055e234ad3a3d521b1b43eb7
MD5 37b6e480849aeef949de0b19464d27d5
BLAKE2b-256 9af78f9d39f9c680dee4f934955a35ed22bd5052bc6364925f19dedd058c1c8d

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.10b12-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 daa4d538ad32bffae82cb20f62b916ad4896cecab29fe1cde18ea89afbd840a3
MD5 c2d0d0b4da7187a798e40ec2551c938d
BLAKE2b-256 25c379f15da76fd7d8bfffdd111c9da05d64814ba91e790e8e35ec4cceca370a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.10b12-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fa617d536d27e05db35b05cc5209531699224342a2fec811c47cf43426324708
MD5 392e4ca569a0f8aebf0ef699df94a6b2
BLAKE2b-256 bbbe1f29d5d824e89d35df306ee15746f9ab8a634298a21e9733323ecd4e1ce4

See more details on using hashes here.

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