ScalingIntelligence/KernelBench resource
KernelBench: Can LLMs Write GPU Kernels? - Benchmark + Toolkit with Torch -> CUDA (+ more DSLs) observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 73
- Release rhythm 35
- Longevity 48
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 678
- days_rel: n/a
- days_push: 162
- n_releases_24m: 0
Adoption not part of the score
1214 stars · 192 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
KernelBench is a benchmark and toolkit from Stanford's Scaling Intelligence Lab that evaluates whether LLMs can generate correct and efficient GPU kernels from PyTorch programs. It provides 250+ tasks across four difficulty levels, evaluation scripts for correctness and speedup checks, and a HuggingFace dataset.
Use cases
- benchmark llm code generation for cuda kernels
- evaluate if a model can write efficient gpu kernels
- measure speedup of llm-generated kernels against pytorch baselines
- use kernel optimization tasks as an rl environment for training models
- compare codegen models on gpu kernel transpilation
- optimize pytorch operators with custom cuda kernels
When to choose
- you need a standardized benchmark for llm gpu kernel generation
- you want to evaluate or train models on cuda code generation tasks
- you are researching agentic kernel optimization with profiling feedback
When to avoid
- you need a production tool to auto-generate kernels for your app
- you have no gpu hardware available
- you want a turnkey agentic scaffold rather than a benchmark toolkit
Facets
dataset · maturity active
benchmarking llm-training machine-learning gpu-computing large-language-models machine-learning gpu-computing developer-tools artificial-intelligence python cli llm-benchmark cuda-codegen kernel-generation code-evaluation rl-environment pytorch evaluation gpu linux
2 sources
- readme: https://github.com/ScalingIntelligence/KernelBench · fetched 2026-08-28 · b64c5ac676fb
- homepage: https://scalingintelligence.stanford.edu/blogs/kernelbench/ · fetched 2026-08-29 · 694d214d031c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ScalingIntelligence/KernelBench | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="ScalingIntelligence/KernelBench")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem