4 releases (breaking)

new 0.4.0 Jan 14, 2025
0.3.0 Oct 28, 2024
0.2.0 Aug 27, 2024
0.1.1 Jul 19, 2024

#477 in Science

Download history 302/week @ 2024-09-27 286/week @ 2024-10-04 308/week @ 2024-10-11 270/week @ 2024-10-18 634/week @ 2024-10-25 606/week @ 2024-11-01 423/week @ 2024-11-08 382/week @ 2024-11-15 531/week @ 2024-11-22 610/week @ 2024-11-29 795/week @ 2024-12-06 820/week @ 2024-12-13 374/week @ 2024-12-20 265/week @ 2024-12-27 615/week @ 2025-01-03 770/week @ 2025-01-10

2,180 downloads per month
Used in 27 crates (via cubecl)

MIT/Apache

1MB
25K 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

~29–43MB
~1M SLoC