AI Agent Autonomously Writes Triton Kernel, Breaking NanoGPT Speedrun Record

cong_ml · x · 2026-08-05

An AI agent has set a new world record of 75.4 seconds in the NanoGPT Speedrun challenge.

Achieved by @congml and @RecursiveSI, the breakthrough relies on an autonomously found solution featuring a custom ReLU^2 MLP Triton kernel. During the forward pass, it only saves relu(X@W1)^2 and reconstructs relu(X@W1) during the backward pass as a fused epilogue. This optimization significantly reduces memory traffic, shaving 0.6 seconds off the previous record.

Original post →

More from coding & agent

coding & agent channel →