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

Uploaded CPython 3.13Windows x86-64

gllm_inference_binary-0.5.6-cp313-cp313-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

gllm_inference_binary-0.5.6-cp313-cp313-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

gllm_inference_binary-0.5.6-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.6-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gllm_inference_binary-0.5.6-cp312-cp312-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

gllm_inference_binary-0.5.6-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 13.0+ ARM64macOS 15.0+ ARM64

gllm_inference_binary-0.5.6-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gllm_inference_binary-0.5.6-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.5.6-cp311-cp311-macosx_13_0_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

gllm_inference_binary-0.5.6-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.5.6-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d52fdf6983c2fdc64a7199d40e767dddf10e9cd2255b656f66fc53075297f4f5
MD5 bae97d5d7cef9c1ef2b771e91b8c1eb9
BLAKE2b-256 6880e8ffdf18db6354bf94fd88a68f99b4370277610eb892e0091e15a3ab1e68

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8a37d3628ed9019e04843e53d8bc3b89904a104da9bdf5dc20b7f0e3dda844bc
MD5 bbf356c555bd62a2ad3c39c2b7eb71b4
BLAKE2b-256 b01b6d92ce799ceedd615bf1528198d45802ea7970807a2587c884bc559268cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 63acb58af9f76a47a4f9e1330aa7c24599476592514e84364d7786a812927373
MD5 d6bacc12e426f3303b81f6fe7ccc2476
BLAKE2b-256 e8da8be75c6d68e77fea81d31b8640f97562985695724cfa3b1bf6a9e52958a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp313-cp313-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9a8cb9e9bad8f8725b4a58f69e228b33cb698bb187766b67d99c5d59fcaa6531
MD5 1eebf88fc802477c294c26e4203d5efa
BLAKE2b-256 424f42146776635b138d9bdbf411daa37e71455f372e2cbb8f085e0e03da9e22

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 21b984362727f5cb27900a18f2d4b3a968fbbd86f39198e4aa377212ba0d7f44
MD5 7bbb3207f460739ad965b8ce152b7308
BLAKE2b-256 96c9cfa0371ccb7355ba61d064e7acc507180837fc2867ace523ed5274956215

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp312-cp312-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 c6f4c5a33f3b62f89af06825827c79c8dfa21c86fd7931bcc46c6e244bf67a78
MD5 488e1fb651692101569b372c1c6b9fd6
BLAKE2b-256 303752b7d186a26ca1dd141ea8f484fac149dd5682d88ad1546b515ae1563919

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 69bc9fcb38a687ba46aea12bd5cadaf23147fa36732d0ba6fdb15e49a0efc114
MD5 019dffd20ed49733724becb7418b0e93
BLAKE2b-256 aa2eac50473c99af0c89f3a18ef4f326f44f4fa0a049ea48a51533a48a7c795b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp312-cp312-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 12dd5ec70e6af4d3ad0145279ab7206e65aeeeba6de6480a787cef076b003e2c
MD5 ac7e2239d434109ea2040cf896b243e0
BLAKE2b-256 4c61f14f92d999d05a0879eca29301ad63e4633438b96f62aea2cec6da83bff6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 38d079ddfa3007b459d2d8395419af50ee61113b65e35179deaf95aacae363db
MD5 d26589452274aafd03bc5dadd9cf1373
BLAKE2b-256 78127789228fb5c56e69b02b242c1c46a346cc6e11a109920e48d2fe2ddcf9c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp311-cp311-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 07daeda39618328ca325b9dbfd12cca418d0fc53ac738ea401dbb1cfc5ff7fe7
MD5 648b061a5e78cdd0202bca2fc2b05c0f
BLAKE2b-256 2f978627444fb53817d7dea950730c1fe6fb134a09d971201bf8893fd532f667

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fbd58f1ef7c4978c667f8c505bc75b51de0f895bbeb7e66bc0328f2b66e7b421
MD5 e3a7258fc43f278e8187e6375baea0ac
BLAKE2b-256 ce81918aff3e6b4add6e19aa5eca03ec4a3ad4374b5e5d6a78cfa36bc429674e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gllm_inference_binary-0.5.6-cp311-cp311-macosx_13_0_arm64.macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 91cd4d02530839217f0bbe774b179abfa6647bb904b0689a87ae85e25209cde3
MD5 f6c8ef514c61ccbcc4c9d69bacbdf839
BLAKE2b-256 939b14b0446923419a6f9db468b5b6d9afe640808deafaebd2b058861375bb1f

See more details on using hashes here.

Provenance

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