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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.4.60-cp313-cp313-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.60-cp313-cp313-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.4.60-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.60-cp312-cp312-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.4.60-cp312-cp312-manylinux_2_31_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.60-cp312-cp312-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.4.60-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.4.60-cp311-cp311-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.4.60-cp311-cp311-manylinux_2_31_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.4.60-cp311-cp311-macosx_13_0_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.4.60-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 13.0+ ARM64macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c5fa1d2099693498ba8daf2d64ea98d326a75f37a33e4cea191dcc4821947bea
MD5 a93d00837e9426a876074cba0c2d05dc
BLAKE2b-256 a6291402e6615773aaa2ed407c371bd3c7b7c06c93feb316f8b80b14146abf05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0cee16c9fe39493bd87f6cde60a014301ea184e4776431013dffc1c0149d9c0e
MD5 b63c8c59bf4aa788ee60352035e02299
BLAKE2b-256 7eca3b4b5bb1c6e61a55a81674164966a2222c69e327210dba329a0619575a13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fd5732c4ae69ff53380687dc4818759a8f98ad26fb1b53b8df3b7a933f108c25
MD5 8fec9e2a57186d03d3161363f7c13a2d
BLAKE2b-256 94d836ff465d4544f1195726d29706c59624e08d0ef636526180edccea542804

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 00e77dc26557381c6545fd646c9f64045ebecedf2f50b3ffa3d9df68be340ea5
MD5 10cb1eaf0c1a775a483758f4a540ff16
BLAKE2b-256 b14ecfcbd34361d345c591c8de3767ec50dfac01ebd9568c9b3e039f6964f011

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6f0dba745d51a62c384a67da251a21a6b4b64b4e854e90905ee8659aad9adec3
MD5 b63b956e0bf8d57eeb1c141725ce719a
BLAKE2b-256 6e62c86e00f6bcdb4fc8b54aae664cf44ecb6a81c091c9fda523d3ea5fd835fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f32e38f4ff46d0393ab7eeb52427d13d494620be3a64b13e067f2152f663216d
MD5 29e2028a06a0de0c982ff64a7fd13357
BLAKE2b-256 6f5e4c210fdb5ca24d0535d1b1b5c66e9132374a3de74c135bd995a35264930c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 47b59b816625062b431291a28fe5a0d36f5daa67a00a722768e28a4d7a3fae1f
MD5 80b8600d44a9b6c312322e5697f35ff9
BLAKE2b-256 98258bff55f5ccf3b0ac98f9dd24f2fcce20af0d88c460ee195b3e637874bcbe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8b37abcf4f60d0ed7206475671ec6b27ca52db7efd92b56cfd988223621aaaba
MD5 7fa7469535c79c8719769351039e9d06
BLAKE2b-256 19bacdcdae34eafa685f9b41fa77030f264ceead193447c789fc753a535fb17a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c53e5baa6ef5542758a6d4b59c5aef26519be636f9a7f1f66508264c760e673d
MD5 f57029f6d547034678e587cf1dca1431
BLAKE2b-256 0cc96e7bad7d99a8bcbc19d7e2cc4110aa3291450c38b7e5d217f5c9e132275b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a10bd232412b806e81664f7c3d908cddcbbc192696c5a6ff2011c8a1b686696e
MD5 73c9951ea92877ed18223edc42fa6360
BLAKE2b-256 1ff3714c1813dcc28152fed1b7aa65e7ea2e58d00e68373627151da3843eefe7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e551ef07f456bc5beb78879a5882f811edb2475cdc9a3a0e335e7a90521e38cb
MD5 13cfef9737081d20a947e496602b33fd
BLAKE2b-256 47b5ad53dec6413ef8eb0a923bc0757eba8645437a0d94fbc9d87469e49c5b50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.4.60-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 106d41dd329e0b7d1148d14fe325b5da048876bb1c4ed0c9b0f40e5ba61f73d6
MD5 e021e5d270b8e60fec05700c108763f8
BLAKE2b-256 c81bd309cd81a7ead7179d6364fa22bb15f4e2381c55058a0e9a845534e26369

See more details on using hashes here.

Provenance

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