This release is a pre-release and may not be stable for production use.
loom-py-rt-cuda
The CUDA backend for loom-py-rt. One shared library in one
small wheel; there is nothing here to import.
pip install "loom-py-rt[cuda]"
import loom
loom.devices() # a CUDA device now appears
model = loom.Model.from_file(path, device="gpu")
The base package is unchanged by installing this — it discovers the library on sys.path at import
and device="auto" starts using it. That is what GGML_BACKEND_DL buys: no second copy of the
runtime per accelerator.
If it appears not to have worked
Check loom.devices(). A backend whose driver is too old, or which finds no supported device, loads
without error and registers nothing — the only other symptom is a model running at CPU speed.
device="gpu" asks for an offload device with its own memory, preferring one the kernel confirms is a
GPU. It is not a promise that CUDA specifically was chosen. Pass device="CUDA0" to require this
backend.
Versioning
This package pins the base with ==, not ~=. It carries a libggml-cuda.so that is dlopened beside
the base wheel's libggml-base.so, and ggml makes no ABI promise across revisions — so a base release
that moves its ggml pin invalidates every backend wheel published before it. The exact pin is what
stops pip from pairing two libraries that do not agree.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file loom_py_rt_cuda-1.0.0rc5-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: loom_py_rt_cuda-1.0.0rc5-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 75.3 MB
- Tags: Python 3, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9bd7f5383a2bfa3e6e2c31af904b1c73f1c184a12b23ee56bd28743e8ac2db0
|
|
| MD5 |
272235f585e01af635fbc7090083b7e5
|
|
| BLAKE2b-256 |
4f0cbaaea6ffb3d6b5ea3fd1bb1282c1d96e1119966f81516a051ddf705deb4b
|
Provenance
The following attestation bundles were made for loom_py_rt_cuda-1.0.0rc5-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on loom-ai-org/loom-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
loom_py_rt_cuda-1.0.0rc5-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
d9bd7f5383a2bfa3e6e2c31af904b1c73f1c184a12b23ee56bd28743e8ac2db0 - Sigstore transparency entry: 2533995337
- Sigstore integration time:
-
Permalink:
loom-ai-org/loom-py@12b74cb71437860fc11bdbb0f6f8b55c19bff8fd -
Branch / Tag:
refs/tags/1.0.0-rc5 - Owner: https://github.com/loom-ai-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@12b74cb71437860fc11bdbb0f6f8b55c19bff8fd -
Trigger Event:
release
-
Statement type:
File details
Details for the file loom_py_rt_cuda-1.0.0rc5-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: loom_py_rt_cuda-1.0.0rc5-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 51.0 MB
- Tags: Python 3, manylinux: glibc 2.27+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
421cadce25d23def737568761175729ac94867d98855acbe05f47a6b15ed43fe
|
|
| MD5 |
aa3ba8a035bce60eeecfef207ce55f28
|
|
| BLAKE2b-256 |
c5318a65765af809cdc7e6ef3ceccda70846f719094db9bb0a062f30fb865da1
|
Provenance
The following attestation bundles were made for loom_py_rt_cuda-1.0.0rc5-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:
Publisher:
wheels.yml on loom-ai-org/loom-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
loom_py_rt_cuda-1.0.0rc5-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl -
Subject digest:
421cadce25d23def737568761175729ac94867d98855acbe05f47a6b15ed43fe - Sigstore transparency entry: 2533995291
- Sigstore integration time:
-
Permalink:
loom-ai-org/loom-py@12b74cb71437860fc11bdbb0f6f8b55c19bff8fd -
Branch / Tag:
refs/tags/1.0.0-rc5 - Owner: https://github.com/loom-ai-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@12b74cb71437860fc11bdbb0f6f8b55c19bff8fd -
Trigger Event:
release
-
Statement type: