Coding

KernelBench

by Stanford Scaling Intelligence Lab

What is KernelBench? KernelBench is a coding eval made by Stanford Scaling Intelligence Lab. Asks a model to rewrite PyTorch programs as GPU kernels (CUDA and other kernel languages) and checks two things: the output must match the reference PyTorch code on random inputs, and the kernel should run faster. Problems come in levels, from 100 single operators and 100 fusion patterns to 50 full model architectures and Hugging Face models (ICML 2025).

Page last updated 2026-10-18 · Evals Review

Editor note

Asks a model to rewrite PyTorch programs as GPU kernels (CUDA and other kernel languages) and checks two things: the output must match the reference PyTorch code on random inputs, and the kernel should run faster. Problems come in levels, from 100 single operators and 100 fusion patterns to 50 full model architectures and Hugging Face models (ICML 2025).

What it tests
Writing correct and fast GPU kernels from PyTorch reference code.
Original source
github.com/ScalingIntelligence/KernelBench
Last updated
Repo last push 2026-03-24
License
MIT (per the repo's LICENSE file)

Facts come only from the linked source (checked 15–16 Oct 2026). Credit belongs to the creators. We don't score or rank evals: how we review.

Reviews

No reviews yet.

Reviews are written by people who sign in with GitHub, one per account per eval. We can't confirm that each reviewer used the eval; we remove reviews that break our rules, never just for being negative, and we never add, buy or edit reviews. Averages, when shown, come only from these reviews.

Sign in with GitHub to review

Related coding evals

All Coding evals · Comparison table

Discussion

No one has discussed KernelBench yet. Have you run it? Share what it caught, what it missed or how you set it up.

Sign in with GitHub to comment

Be specific and kind. No promotion or affiliate links. Community rules · All discussions