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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.26b1-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.5.26b1-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.5.26b1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.26b1-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.5.26b1-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.5.26b1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.26b1-cp311-cp311-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.26b1-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.5.26b1-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.5.26b1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 56d77ba3ce37273533f194cef77012d60d5e3d26db1a5afd4b874a68f26b6836
MD5 872380549b3295193f2e39909bb4c080
BLAKE2b-256 bc598e436ae828b5b453abfe06714d7029d852936c097901f83060fc798d60aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f35d432cb868786103933ee1ae00d844c3b4bbaf5e023c78de4521ae8fb4e6d0
MD5 2594ca2f4458f961e03133aaf3b5af90
BLAKE2b-256 f63ed19aaaa63be1a9fb011809bbe53e95cd3dc3a5bbe52500b9d3576d4225d9

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.26b1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 141b13910fd161741cf5e4470855994de26ec662ae66a90d0dc8a091ca1fc7d3
MD5 91322e45de56fdd12b99a78b727d9e1e
BLAKE2b-256 24a4101cedd0c20cdfb36ca299d2d4f37ec678fcc9ee364eb085f8a9d5cc81de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0ccab5d8d988a05847da6c2b6697583494a2bb6c1233b6fb1cb26c2983add7cf
MD5 cb126d740c90ed4cd5333f3b4fc52107
BLAKE2b-256 1834164ab710e0417c6543f97f890489d8b0cc5ed2cf32e4511444a886c47db0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.26b1-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.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.26b1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 201938484433fdc3e1f78f2f944103cfa19031c8ffc7ea9132e82703b3609235
MD5 359ae70f9a380c518b73af5302af2c1e
BLAKE2b-256 c267bf6e88d8f513c561820fb85083c89e4237d6d2d2d40f1183457ac9e1330f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f5ba39da01f4f9698463a36c3d8b6135e96162229ad848202100b89b97a8f5f0
MD5 52af0899cf55e589772f872e12181f84
BLAKE2b-256 e2c683543525a8b73ba750b7a0b837f01f5a4acc093d2e33d4eb0d55aaa8e2df

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.26b1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7a063e13f3615e4a4c98c581becc1e14ffbcae4c0de12af79521e3fe71cf737b
MD5 6e6d9521d74dfc14ea5bd1d256e6c701
BLAKE2b-256 f188d31c1ee0d965684650c71b1024becbb9b527f761a9e2cd04e61436ec2061

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b9d85167b45145b3c3ad665382bcdaad16e26a2cf5ed57fe0ad2f14502b10709
MD5 776019d3ed58dd7fa0ac060f653408e0
BLAKE2b-256 626b2da68bbd2db4ee8dd87ae834bc7ae544f3cd882f09fef6747f4f11e5c63c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gllm_inference_binary-0.5.26b1-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.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.26b1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d54c08e962b0a1661d815dbff64f6594c1917533a05c4f1f0f093749f5b9511d
MD5 ef03cee187e02eb0a57e6e4b0fbd125b
BLAKE2b-256 0ecf9a786c4c1b9ee232e266736925ef555189390a0a6eef65670438c0ada474

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3b0977b5a079cdb9aa84e863f1b370556b0b052fabc27c84a8080e08c5b59dab
MD5 59dbbfa0da37ac669f8e8d9e6e8c21e9
BLAKE2b-256 4e6e2f01736868d714c82cdfe9b861883dea0393814a6da596735c0c607778f3

See more details on using hashes here.

File details

Details for the file gllm_inference_binary-0.5.26b1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1e02fab38451ac9b317af23c0f35daa8ad2dca99ca1c437005f276700a101293
MD5 83df198c7653246889a587589123da9b
BLAKE2b-256 bdbe9b7b025f12a6746debdd9f0d300f50ea3a53fffff7a6ac8291be1d0a74e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.26b1-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f754348901bf61cd50a62c2b9a518c9cc4446715eb59639e34c437de55d34e9c
MD5 a82c34f3b93ce81e6b94a155781bc27d
BLAKE2b-256 0bc647423bba46f2e807ba0100eaefed724bbd072b36a43fb3ecd63b399ef8fe

See more details on using hashes here.

Provenance

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

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