Surprisingly Fast AI-Generated Kernels We Didn’t Mean to Publish (Yet)

A Stanford CRFM post reporting fast GPU kernels written by language models.

Author
Anne Ouyang, Azalia Mirhoseini and Percy Liang, Stanford CRFM
Published
Undated (the page URL contains 2025/05/28)
Kind
Research group blog post with benchmark timings and code
Original
crfm.stanford.edu/2025/05/28/fast-kernels.html
Subject
Language models and training
Themes
Close to the machine, Handing over control

What it is

Anne Ouyang, Azalia Mirhoseini and Percy Liang report an early result. They set out to make synthetic data for training kernel models. Test-time search alone produced fast kernels, so they published early.

What it says

What evidence it gives

The post gives timings for five kernels on one L40S GPU. It adds one step-by-step Conv2D trajectory. Correctness is checked on many random inputs within a 1e-02 tolerance. The full Conv2D code is in the appendix.

Interests and limits

The authors are Stanford researchers, supported by Standard Kernel Company and Prime Intellect. Results come from 10 KernelBench level 1 problems on one GPU, with modified sizes. The post says FP32 is less optimized, which may explain the wins. Gains hold for specific problem sizes. The setup allows lower-precision kernels within the 1e-02 tolerance. The authors call the search budget quite limited.