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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.25-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.4.25-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.4.25-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.25-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.4.25-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.4.25-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.25-cp311-cp311-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.25-cp311-cp311-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e8550a84143009aa12bddb2e02053a59ffe59c45f00c72cd19ecbe9276e22acb
MD5 2dffb5bc934be78e2c0bf56243fc7c51
BLAKE2b-256 ee252e225889953c448df1a3b25b02f632684e595d7e7421ea3f40f2a8738fe3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ba1c5dc5183124f0c94bfd4e7ad914e4fedaa296976943cee5c8b6784876607e
MD5 dbf0c2722854e4d328dceccec640374f
BLAKE2b-256 efe6e516c70c8e26f791829649b7881e58aa0e2e351140bc707d4b5147452bec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c49903b6e2c4c7a330cd27e15ad9ba53c0df2182bb5e066dfe37d571aaa597d3
MD5 6d9c30194663d17a06b2fd6eb5f7d33f
BLAKE2b-256 eec7b96eca302ab729a8e371a494fa29a1dcc9438fcd865639c70e75e3730040

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 305365770ea1071c890eebebae8c671de2962b9a1cf54646c4818cb2c3a2cb67
MD5 30221e11319335f2ea7bef306b6a367f
BLAKE2b-256 d30294c5faa4ed1f7f591116daac5d067c56a2bd4e9b57508b044a0eb6ff859a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 37740be5f504f40764762d64e5b5d34898c98700e1c30c95a5cbb9e267575999
MD5 58789e93dc08db85042209c445f9d563
BLAKE2b-256 bf94e902b72ce33d77d7e1fd86fa154a7e6f7c02bed3745b25fac76a74640d57

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 faafc584fc0e8224cc10489de9840f53968f424e6885c4b9109f1a75770df48a
MD5 770e42b11370887bd1000e1eae7c6514
BLAKE2b-256 c05b53dc2f04b1a5b4385b1fb6d5dad589df581807ee3d56d1ceef15574ac656

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 08825b865f72aeb0a3e66155597b9d4c253e6b9c3f5df80285d15c42ccc9edc5
MD5 36b5ccf553ec0d449406e8d414395ee6
BLAKE2b-256 031c507e367302bfec7ee8ccb858ba71ab2f2aadf09b85e79667fe8d5a82fdda

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 daaeb2e4d0325116c0d316613bcf11bc89a4099fb19ed51e6459df1b5c027b76
MD5 09da1e97af43ed95f3cb062537665df7
BLAKE2b-256 21cdc0375870c1f700290b67c9343d8acf1d18d39def1fd33b1d204ef68bc112

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ed94d8895b5b9de4493a08430fd2c2424b303a589828992475e1a03822c56ae4
MD5 1fa9b567e440b51af52a4528083077e5
BLAKE2b-256 4f034e651d18f02365f122e0464d5e246d2a690142d69d2ab442116c5246aac6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 70905b5ca213975481ccf5cc8091c8e6d1d6d87dd4504d5e685901d84029e773
MD5 80a3a72fd463500cc20fe23a2088e329
BLAKE2b-256 a575f9adad0861e9218f63b70aa1d7ef16b7ae3c2fdb6df410657e165ee5a564

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 414ce2f8850080ea072178b533104beb1aeb290eb22ba8be75b2889e69cc879b
MD5 b26ccca3bfb560bd1bef2d196d67a046
BLAKE2b-256 a1700bf3b9c033a4f3a39ca6e8f1a85518acaf59965f35b145b826ea5dd218af

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.25-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0c0f01e69c97615f142a00b2003419b957059891a542597f50324aa9efe9f20b
MD5 7a6e53cc8af6d15e9afbc357969c7ad7
BLAKE2b-256 4f250a08b23d713a2b5cfed4426f960a27648e744dfe71060a596397399db645

See more details on using hashes here.

Provenance

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