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

This version

0.3.8

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.3.8-cp313-cp313-win_amd64.whl (895.1 kB view details)

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.3.8-cp313-cp313-manylinux_2_36_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.8-cp313-cp313-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.8-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.8-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (923.2 kB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.8-cp312-cp312-win_amd64.whl (897.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.3.8-cp312-cp312-manylinux_2_36_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.8-cp312-cp312-manylinux_2_31_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.8-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.8-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (918.5 kB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.3.8-cp311-cp311-win_amd64.whl (908.9 kB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.3.8-cp311-cp311-manylinux_2_36_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.36+ x86-64

gllm_inference_binary-0.3.8-cp311-cp311-manylinux_2_31_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.3.8-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.1 MB view details)

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

gllm_inference_binary-0.3.8-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (907.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 20fd5d6272c27c00446e2bc0ee8abb0bde407fb18bd50a3311d75f5e5499c7e9
MD5 a723dd217bd59c46adfd0704bcd61bfd
BLAKE2b-256 e579406dbbddc7fd37ad99e86d9b980d15691f0a2ac63635e1a7007f2468dba7

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.8-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.3.8-cp313-cp313-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp313-cp313-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 829a8e6f5ff8921fcba8571dcfdf0030026e69c4179ca55782bdd63ca7635815
MD5 94aeff006ce8b8de908a1f3fe382860e
BLAKE2b-256 8fe859779080561583f0685fb21cf60f9d15db521a9470030d9182aa3f56b022

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.8-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8c401bb685e65fed818ec23d050f17f8164ea1c72c5bc7e6d32a4d25cd3b7dea
MD5 c18f19130d195244bdc2bdef2b3de119
BLAKE2b-256 b2ca9774beceeff50ba3b34454cd705a2ac9116a395fc5e6d5c42699b4aba5b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 4225ead20ed5b74d8ad259aefcf9ca8186b54b4202c6dfec2892b56a2a510e80
MD5 8851c0d28b6b23e1eb8a3737f5049df5
BLAKE2b-256 e3eb7df91c178ee88a69c4d2bf745e8646e2962df4082c7f066a5af1277886da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bf60f0b53167223a2a90b1c1fd0ed29bffeaeb461f3a6b1e00a22df0a58a0e0c
MD5 97b4fdbd09b45420510876de8dc21387
BLAKE2b-256 6d27b74ba429a2356e3e4cf128482d1b0e2fca2944baa87ec97056fce0d8a43e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 48c44072241d115b02ecb37454e5aea60938d2a4efb41704e1a14e40db2a8af7
MD5 f0c1dfd6b6b914ee79055a8c54be1578
BLAKE2b-256 619843b6eda35aeacfbb4449f32a527c6253dccc7e61fcd6aca199272e5083a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.8-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.3.8-cp312-cp312-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 52011e9a937faac094d4fd00970d652e6546d1f34941fcf5e91200a00bf40cf2
MD5 0ea356f7da7164e1de460f9af8f26707
BLAKE2b-256 3a928cc139ccc2ec5b9f05a2c26d2cd87032baf081bde2f8acc54e1165568f9c

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.8-cp312-cp312-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8e38c3823ab2039f02878440d87405706e6aab42939c4487728f5e6df269170b
MD5 d43e8aacfa0b04109177017d24ebff9c
BLAKE2b-256 c271da818cc88b0960836628393c5513640ab64c49ff3ebca7bfeb5d8bc19c8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a5d19a4f1196d18b835aba8b0a381f7ee4a8e8137fa68911fc33e2a3d70a5758
MD5 0d4fc9d0c0822c1ede5f318681b86cd2
BLAKE2b-256 d4d315be343c61b0c5d11ad6f77ec0f7420d75f8f07fe194309e4ec91fe60e8d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e04093e76ce9caeea48db42aef47bc1784adb196ac2b8ca321fc0a39f2679b08
MD5 e1fa5a5de22bba66b4c8ee931ffbfe40
BLAKE2b-256 a2bfde65e5f7584dd54cfc59e96b5829a73684af6ef6d8436f374573f1bafbd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4166deb27223730662dcacec3a9f4b1b3281efbc47bf483cb8748baf9e7adc35
MD5 1cf0c65482e4a07ff916e01afa6ecf06
BLAKE2b-256 d0c9e28510db268bbd7a8c63da66a9fa97decab4c928cdf0dbec41943794710d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.3.8-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.3.8-cp311-cp311-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp311-cp311-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 30f404d49c873d70e8657cf06478dbdffa48c9ef6ed012c4b6ec3b7f1783765e
MD5 bf049279f5bf231738433f47f2c7d2d3
BLAKE2b-256 8a8d2d163732ae3e71bdec63c373a3d3e2fba6da51b120e2dedf396e742040d5

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.3.8-cp311-cp311-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8740a98d4e84b9211a2595ec5c85555b6e7169fbdadc8e9cc5b13f67fe2bc365
MD5 a8bd0aa414b45fc9f790ff6a608db525
BLAKE2b-256 3816bc15fddd7bcf95dfe5c7d55dbf64537edf6ccae83855dfea791fb61f6e1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 96e9308bded59456879725971e37c7ef26c8bcbf2b0796399bfe209ec548fdac
MD5 d49e1e19245144de188c995dface1130
BLAKE2b-256 4bcc532b47c016f8cd6bf2ec1b8795a6bc28d19c6940dc201dc27b38e658c8db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.3.8-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9cc42541bab3c795a42d8f64ba1a358a24243866e43c11fca28f70208ec30a22
MD5 d3a95330675710480fb00b8158fc84a0
BLAKE2b-256 4ab084717f27a5032d3d53d82047208cbc8008bd244c3861803d15814ccf4fdb

See more details on using hashes here.

Provenance

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