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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.18-cp313-cp313-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.18-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.18-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.18-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.18-cp312-cp312-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.18-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl (1.3 MB view details)

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

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

Uploaded CPython 3.11Windows x86-64

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 beaf8f5cf1121b67ea7c7b0ce639c31e1d95eabc7c6e43e53548d72f28f34090
MD5 530bef76bf184137682c8e0df00c86ad
BLAKE2b-256 12f62e6f6877010397c591a3222b5733066ed5db8229814f0b77f6ec26d97c44

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 cd6e6230ba4985d682cc3b225961c966dac99108e1b8a1c046d934dd0935e225
MD5 606d082510e8d798374c41ee827698d5
BLAKE2b-256 cfbcca5f94edeecda74094239c9a361caf409f771085175ea43ed49d1282afb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp313-cp313-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 40ef389c1be98e22fa95b213dca6743c842e49af35d89d81715d0750d20f1e7f
MD5 8b96daf5abb484d2694085c1df655ca0
BLAKE2b-256 2893a6ffaf4e4aa6ddbcad68f6c4a0f3f7d51d168e516030ef3b484e7f4824b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5190fed69c7cfe530370a3ea11788470067cb455762dbe590105a50fad6a4442
MD5 dc5458061c8ef047440e331f33bff6a7
BLAKE2b-256 713f01570cc20467559fe3443d876a5d65a3ed613f000724e86fd98a1026eb24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fb4cc8da280d1ced2890b32aac5f2905734f42c5fff12a613e9d74659cc2212c
MD5 dbd240eea4059e445d1ba2df254707ce
BLAKE2b-256 2e601d5935c5111956f33679bae733be7fcd7898f5a5f65b086961480655f261

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e62c3308e7742fddddfb6fa2415eff8cec7b42e5ee60561b8862c0c0890b015c
MD5 783c001d43bbe23dd7a633c14fdc2967
BLAKE2b-256 71eec148cb76faa7c2ecfd9bba02b4a7e8ebcc83044446bf85a35495b5407ed4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp312-cp312-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a9a655ed7514cd0916d1fa14677353041f5ca6a35b313baf58062177426cb95b
MD5 15061806dcdfafff4f4158a64f737466
BLAKE2b-256 bc59245cebf0a8abde0cb21ffe11ae7f39e70cbf6e9e1e8e8a0fc050f42861b5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c7637af61f5295f29d097f350a1582f141b17e0515738dd5f3883cca70b5943c
MD5 9e15563564337bddbbc3c9c55a7570c2
BLAKE2b-256 b81827bca87afdaf2af01768e9fd4b68211ad9c036b34a3aac14575cd574de8a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 abcaaf86364de66e0e82080f48bd0f9f2a7103b72d7fa4157dee6f221d4ad805
MD5 be36b9335996b57950bd4f7eaf911453
BLAKE2b-256 3c8e65b6e079850a1209e2b3af0af67698962366b99c04c8bf0cd59a4742600f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 17068558c2705a4e37bf8a61795db576f34cefd7661fffc9a18be1cf2347eebb
MD5 d05f23df09fbfcbf1aa94dd83ed646fa
BLAKE2b-256 9b5f7589ab1a603e47701afdc561ba9bb465d254e524e85c2c68303c03b6169f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp311-cp311-macosx_13_0_x86_64.macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 450940e31da93098e5e8eb028d944802227bbf660672f8670e221a4f5e9d7546
MD5 4534c7a0c01c66e29c206950fa3235e2
BLAKE2b-256 a0c91f45e7a4b141bcdbf6f949f355389db7553f4e0c53412496b1a03949e021

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.18-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 dbe15421ebb20679a918a7ba3828a7014d592dd68442dafb5037fbf72c815309
MD5 1578a00ca53fbe508e4b5f5d42491a72
BLAKE2b-256 11a01855ae047cb7e6057b6a0af234fe55a21ae784e4c785f931b5a3d729442c

See more details on using hashes here.

Provenance

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