14 releases (8 breaking)

Uses new Rust 2024

new 0.9.0-pre.4 Dec 1, 2025
0.9.0-pre.3 Nov 24, 2025
0.8.1 Nov 6, 2025
0.6.0 Jul 18, 2025
0.1.1 Jul 19, 2024

#1651 in Machine learning

Download history 5598/week @ 2025-08-13 4223/week @ 2025-08-20 20324/week @ 2025-08-27 6128/week @ 2025-09-03 6090/week @ 2025-09-10 7280/week @ 2025-09-17 6735/week @ 2025-09-24 6409/week @ 2025-10-01 6038/week @ 2025-10-08 8892/week @ 2025-10-15 7710/week @ 2025-10-22 6895/week @ 2025-10-29 5828/week @ 2025-11-05 5672/week @ 2025-11-12 6246/week @ 2025-11-19 5800/week @ 2025-11-26

24,404 downloads per month
Used in 99 crates (via cubecl)

MIT/Apache

2MB
46K SLoC

Cuda runtime

The runtime uses the lower level primitives from cudarc to compile generated CUDA code into a ptx and execute it at runtime.

Setup

By default, this runtime uses the latest CUDA version. If the default features are not enabled, the CUDA version detected during build time will be used instead. To specify a fixed CUDA version, disable the default features and add cudarc to your dependencies with the appropriate feature flag:

cudarc = { version = "same as burn", features = ["cuda-11040"] }

Dependencies

~27MB
~549K SLoC