5 unstable releases

Uses new Rust 2024

new 0.2.0-pre.1 Feb 9, 2026
0.1.1 Jan 23, 2026
0.1.0 Jan 15, 2026
0.1.0-pre.1 Dec 18, 2025
0.0.1 Dec 5, 2025

#2073 in Math

Download history 6/week @ 2025-12-01 297/week @ 2025-12-15 625/week @ 2025-12-22 340/week @ 2025-12-29 538/week @ 2026-01-05 1280/week @ 2026-01-12 2142/week @ 2026-01-19 4532/week @ 2026-01-26 5267/week @ 2026-02-02

13,250 downloads per month
Used in 36 crates (4 directly)

MIT/Apache

34KB
500 lines


Discord Current Crates.io Version Minimum Supported Rust Version Test Status license


CubeK: high-performance multi-platform kernels in CubeCL

Algorithms

Algorithms Variants
Random bernoulli normal uniform
Quantization symmetric per-block per-tensor q2 q4 q8 fp4
Reduction mean sum prod max min arg[max|min] per-cube per-plane
Matmul mma unit tma multi-stage specialization ordered multi-rows
Convolution mma unit tma multi-stage im2col
Attention mma unit multi-rows

Contributing

If you want to contribute new kernels, please read the GUIDE.md.

Dependencies

~60–100MB
~2M SLoC