4 releases

Uses new Rust 2024

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

#702 in Math

Download history 1/week @ 2025-12-04 669/week @ 2025-12-18 396/week @ 2025-12-25 504/week @ 2026-01-01 428/week @ 2026-01-08 2149/week @ 2026-01-15 2768/week @ 2026-01-22 5115/week @ 2026-01-29

10,551 downloads per month
Used in 30 crates (via cubek)

MIT/Apache

36KB
808 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

~8–44MB
~657K SLoC