AI零帧起手写算子,反超DeepSeek人类手写巅峰:快了9.8%!
TL;DR - Open-sourced ForgeKernel autonomously generated a B200 attention kernel that reportedly ran 9.8% faster than DeepSeek’s FlashMLA implementation. The result suggests agent-driven optimization could accelerate hardware adaptation and reduce reliance on scarce kernel experts.
- Starting only from a mathematical specification and hardware constraints, ForgeKernel iterated 42 times over 22.5 hours, reducing latency from 1,834 to 472 microseconds versus FlashMLA’s 518 microseconds.
- The system separates architecture planning from implementation, retains experimentally validated hardware knowledge, and repeatedly optimizes against its own best version.
- ForgeKernel reportedly matched or exceeded expert implementations in 24 of 29 comparisons and topped three Ascend CANNBench hardware leaderboards.
- Its generated kernels have been integrated into training frameworks and tested in long-running MiniCPM5-1B training on NVIDIA and Chinese hardware.