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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.7-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.7-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.7-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.7-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.7-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.7-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64macOS 15.0+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 bc9c2db97d715f160fbb52bd2c82198b92aeeee92340f7d13d8db3559747feae
MD5 cfaf6fdcdf55b50c8451eb6c10bf4956
BLAKE2b-256 e20236898e476b7b3c287638a6b494404b831f51686cc9a224881441eae58006

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b503f9b14fae93401b085916e09a9fab81450891b6a965a9cffb2d8fae7625d9
MD5 939264a3ddce64017abd3ff013595b13
BLAKE2b-256 39dd0cfde9657331218f7717e5f3cb7782996413936a00c99261a9a59510d1d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0d1aabc1b6cde523e7a230c30ec3f21634352cf2132079aa4ef73f9291f5d003
MD5 0559e939481c3e25d3e0fa6092f05e31
BLAKE2b-256 4c4a1516fb7dbaa1c7d847fa6b778bf391a296e23c730d18a0a914e8730118ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 53e7051a13caedb12fcb806b4da8ac826b81704cfa6b28dfffd72b7907ef98c3
MD5 d5825f1cd1d964da47aafe1142dd55f1
BLAKE2b-256 822ba1df71367102171d033a97b1dfafab3084f1356661cb0687b7eb865fc3ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9dc4e9df74ff54a22c78631e32b30b014a5788adf41ecd18639d9fd6af58cd3c
MD5 d19708621e4717d33ff31de3cfd5af4b
BLAKE2b-256 1b61afe72a7403b6afd34049451c9dec40186b25d6802fde0f26fb3e8b0d274f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a5d227a5abfaf5840a5034bbe534b2bda701dadff5d278f85c7087327e7da279
MD5 5489b3964d1eee05cd322e45a511828a
BLAKE2b-256 5664dd365299531d70643d26b4df04987b1f29e80f03ebbd11fc2931c5147f41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d918a262609c7c53fddece63fc771701b75bf2868f809625d6c9c18f02b9ab39
MD5 10366e381e4c46d6b5c5313874a00dde
BLAKE2b-256 96f3de14c282c06845864cd80d7abdf9ec11cb1f43989a8bb040aee5ecb3760a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 87acccd68aaf3f5558967a7257c76f92bc3ef8e0b83a767dc87e6990fe5cbb70
MD5 a75967145c76035f6d187759bb06cef0
BLAKE2b-256 7928425417f1a7debf6a0a4a02ed5f69b0bdbbbcf4feb97f2edcc32e0d7b961f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cc5eba29f2ab0654d5658adacdd4ea2e7b7652908affd9e9b2acfa4dbb4498d6
MD5 f3753a6971543282df2893ba029b64be
BLAKE2b-256 2bb1b610bb2fdc77f38b059092a6cdfb41ab824f4199603bfcf3a60a80dfee19

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c3c35a0e0fb8b5181d213a39fa63745924b1fa5132ba3246fe52e43a07035416
MD5 07c2c6156fff9855ed9f39a84d5f93e0
BLAKE2b-256 6eee9750593fdba412791ba7c6f7f490cb9dbb62b0c2d2c500ab13662f83dd0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 dfdab257305576325726abc34328a2725773405c37bd73fad6eeaaf9cc5f117c
MD5 b53c79bd380c8dba143e1ccbe910ad28
BLAKE2b-256 5a673815d1de258421ba3e66e1453f383a2d6252446edda5391f582dd94db257

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.7-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6498eacf07678ffa16d00434209c71c8b278abf61b44ef47da20cc839c820177
MD5 04e894b65e40ba0d799440bbf10586b1
BLAKE2b-256 c779ecaa0ed0823ecec1ab7304d0d59234681d2b94a991300417760a44ae7912

See more details on using hashes here.

Provenance

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