Skip to main content
Pre-release

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

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.

loom_py_rt_cuda-1.0.0rc3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (75.3 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

loom_py_rt_cuda-1.0.0rc3-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (51.0 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

File details

Details for the file loom_py_rt_cuda-1.0.0rc3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for loom_py_rt_cuda-1.0.0rc3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ab7f629b9e733678cc7ede11ff2cf92c696bb2000149ecf2fc4c508f061f8be
MD5 a2dcfd386b40ff7c06ae3406fb6dbb08
BLAKE2b-256 7e9f50f70edf025f16978b056bc6053961f1e658dafaa73e75dbd518cdd3ab3c

See more details on using hashes here.

File details

Details for the file loom_py_rt_cuda-1.0.0rc3-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for loom_py_rt_cuda-1.0.0rc3-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6b89e22ce3b09dbf2ac0921137e5b4022d22bd304c9c9326e3f154f9a8bc7647
MD5 4c39370e9b9b8fe88de2ca42c277e5ec
BLAKE2b-256 f7b6572cb0ddc6f7671db390ac070ec74af9a2f4db70103678622f9f37a91af5

See more details on using hashes here.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page