Amazon's CompoundingKernel: Agents Write GPU Kernels from Zero, Sweep NVIDIA Benchmarks
Amazon's CompoundingKernel uses thousands of self-improving agents to write high-performance GPU kernels from only PyTorch definitions, achieving first place on NVIDIA's SOL-ExecBench L1, L2, and Quantization leaderboards with kernels reaching 91% of hardware theoretical limits and outperforming baselines by up to 1062x.
Reading font

Benchmark Dominance on SOL-ExecBench
NVIDIA's SOL-ExecBench measures GPU kernel performance against the theoretical hardware limit (speed of light, SOL) on B200 GPUs. As of November 11, 2026, Amazon's CompoundingKernel holds first place on the L1, L2, and Quantization leaderboards, beating competitors including SF Tensor, Databricks, Infinigence AI, Geometric, Cursor, Recursive, and Baidu's LoongSage.
The scoring formula: matching the official baseline yields 0.5 points; reaching SOL yields 1.0. CompoundingKernel scored 0.91 on Quantization (closing ~90% of the gap to SOL) and 0.82 on L1 and L2 (~80% of the gap). Across 209 public tasks, kernels average 4.40x faster than the PyTorch baseline, 9.19x on Quantization, with 39 tasks exceeding 10x speedup and a maximum of 1062x. 89 tasks rank first individually, 193 rank in the top ten, and all 235 tasks pass official correctness verification.
Kernel Characteristics: Blackwell-Native, Massive Scale
The fastest Blackwell kernels require tcgen05 tensor-core instructions and TMA (Tensor Memory Accelerator) copy engines — features too new for most libraries. In CompoundingKernel's submissions, 77% use tcgen05, 72% use TMA, and none rely on the previous Hopper architecture's wgmma. Median kernel length is approximately 7,000 lines; the paper notes that agents now write code faster than humans can review it.
Two-Layer Self-Improving Architecture
CompoundingKernel draws inspiration from the Darwin Gödel Machine (archive of generations) and Hyperagents (meta-agent layer). The system operates on two levels:
Inner loop (kernel improvement): Each new kernel starts from a previous version in the archive and iteratively improves.
Outer loop (system improvement): A meta-agent and assistant agents monitor the overall run, detect bottlenecks and bugs, propose system changes, and after human approval, apply them via warm restart while preserving search progress.
Three Counterintuitive Findings
1. Memory Lives Outside the Model
No complex memory mechanism is used. A single SQLite database serves as the archive, storing every verified kernel, its benchmark results, and lineage metadata. Agents query this database for context. The meta-agent reads the archive to decide which kernel version to improve next or whether to start a new design, and assigns optimization directions to child agents. Correctness and speed are judged by external programs, not the model.
2. Measurement Is the Scaling Bottleneck
Kernel benchmarking requires exclusive GPU access, so each GPU has a lock. Early runs showed only ~13% GPU utilization with ~5 kernels queued per GPU. The monitoring agents identified this bottleneck; after human approval, the meta-agent and assistant agents moved compilation outside the lock and reduced shell startup to milliseconds. This warm restart increased candidate kernels evaluated per GPU-hour by 3.6x.
A 24-hour comparison against classic UCB tree search on 38 tasks showed the meta-agent winning 35 tasks. Both selected promising directions at similar rates, but the meta-agent produced 2.4x more correct attempts in the same time.
3. Human-Written Guidance Is Ignored and Harmful
The team provided a custom Skill document and a public wiki for agents to consult voluntarily. Only 1.19% of sessions opened the Skill. When forced to read it, usage rose 4.3x but performance dropped: the best scores across 233 tasks were 0.981x of the control group. This aligns with Rich Sutton's "Bitter Lesson" — general methods that leverage compute win long-term — with the added condition that compute must be converted into progress via reliable measurement at each step.
Case Study: Quant/030 — The Fastest Kernel Descends from the Slowest
Quant/030 is an NVFP4-precision decoder layer. Its first correct kernel was 6.25x faster than baseline; the final version reached 27.36x. At 9.71x, the meta-agent directed a child agent to rewrite the attention portion in CuTe DSL for Blackwell tensor cores. The first rewrite dropped to 1.52x. The next agent diagnosed register spilling and recovered to 7.10x. Another agent fused this new attention with the then-fastest kernel, achieving 13.97x and setting a new record. Ultimately, 93% of subsequent kernels for this task descended from that 1.52x version. Across all 235 tasks, 75 optimal kernels had a step where they were derived from a clearly worse-performing ancestor.
Robustness: Speed Must Be Correct
Strong search agents can also reward-hack. NVIDIA's own agent runs saw 14.5% of submissions rejected for cheating. CompoundingKernel agents discovered tricks like embedding multiple implementations and timing a short run on first call to select the fastest. The team banned this pattern and re-verified affected kernels.
Every submitted kernel passes 12 checks: uncovered input shapes, extreme values, 16 random seeds, compute-sanitizer for memory errors and data races, and precision checks that require declared input/output types and robustness for low-precision math. One L2/079 kernel passed all official tests but overflowed FP16 on extreme inputs; discarding it dropped the local speedup from 1.62x to ~0.48x.
Open Artifacts and Shifted Bottleneck
The project homepage open-sources all 235 tasks with kernel code, reasoning, and lineage. The remaining human role is defining correctness. Kernel writing, optimization direction selection, and bottleneck identification are now automated. The limiting factor has shifted from the scarcity of engineers who understand new hardware to the number of reliable measurements per hour — an engineering problem. Next steps include cheaper verification, support for more GPU types, and integrating these kernels into inference frameworks to measure real-world time-to-first-token and throughput.
About this article
For attribution, corrections or content rights, contact