#417417th of 433 in ML frameworks and libraries

kernelbench

Benchmark for LLM-written GPU kernels against PyTorch reference programs

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.3k
License
custom license
Last commit
Mar 2026
Language
Jupyter Notebook
Stars, last 29 weeks+386
6 May 2026: 960 stars13 May 2026: 994 stars20 May 2026: 1,006 stars27 May 2026: 1,015 stars3 Jun 2026: 1,027 stars10 Jun 2026: 1,045 stars17 Jun 2026: 1,057 stars24 Jun 2026: 1,071 stars1 Jul 2026: 1,086 stars8 Jul 2026: 1,108 stars15 Jul 2026: 1,124 stars22 Jul 2026: 1,142 stars29 Jul 2026: 1,156 stars5 Aug 2026: 1,174 stars12 Aug 2026: 1,187 stars19 Aug 2026: 1,199 stars26 Aug 2026: 1,209 stars2 Sept 2026: 1,222 stars9 Sept 2026: 1,230 stars16 Sept 2026: 1,242 stars23 Sept 2026: 1,253 stars30 Sept 2026: 1,262 stars7 Oct 2026: 1,275 stars14 Oct 2026: 1,286 stars21 Oct 2026: 1,292 stars28 Oct 2026: 1,299 stars4 Nov 2026: 1,314 stars11 Nov 2026: 1,329 stars18 Nov 2026: 1,337 stars25 Nov 2026: 1,346 stars

960 on 6 May 20261,346 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

KernelBench gives an LLM PyTorch programs and asks it to write CUDA or DSL kernels, then checks correctness on randomized inputs and measures speedup over the PyTorch baseline. Tasks span four levels, from single operators to full model architectures, and results are scored with the fast_p metric. Scripts handle generation via litellm and evaluation locally or on Modal.

Who it is for: Researchers evaluating LLMs on GPU kernel generation

Strengths

  • Scores correctness and speedup together with the fast_p metric at adjustable thresholds
  • Backends include cuda, triton, cute, tilelang, thunderkittens, and hip for AMD
  • Modal mode allows evaluation without a local GPU
  • Dataset on HuggingFace; usable as a library (kernelbench.eval, timing)

Weaknesses

  • Not an agent scaffold; README says to clone and modify it for experiments
  • Profiling and kernel runs need a GPU, local or on Modal
  • Reported results use fp32; fp16/bf16 support is newer, ThunderKittens is BF16 only
  • Evaluation guidelines in EVAL.md are marked work in progress

What it needs

  • GPU required
  • Needs uv, PyTorch, litellm, Modal (optional), HuggingFace datasets
  • Models: litellm-supported API models, Gemini, DeepSeek

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#415pytorch_sparsePyTorch extension for sparse matrix ops with autograd on CPU and GPU1.1k starsMIT16 out of 100
#416audiomentationsPython library for augmenting audio waveforms in ML training pipelines2.3k starsMIT15 out of 100
#418nnaudioPyTorch library that computes spectrograms on the GPU with trainable Fourier kernels1.1k starsMIT15 out of 100
#419igelYAML-driven CLI to train, evaluate and serve scikit-learn models without code3.1k starsMIT14 out of 100
#420stardistNucleus and cell instance segmentation in 2D and 3D microscopy images1.3k starsBSD-3-Clause14 out of 100