Moonshot AI Open-Sources FlashKDA Delta Attention Kernels
Beijing firm releases CUTLASS code for Kimi linear attention system.
Moonshot AI, the Beijing company behind the Kimi chatbot and LLM series, published its FlashKDA repository on GitHub. The library supplies high-performance CUTLASS-based kernels for Kimi Delta Attention, designed as a drop-in backend for flash-linear-attention frameworks. The release coincides with FLA v0.5.2, which incorporates the kernels along with added KDA CP support. Commenters describe the implementation as one of the strongest available for linear attention and note related work on attention residuals that preserve access to prior states. The code targets efficient prefill for frontier-scale models.
We've open-sourced FlashKDA, our high-performance CUTLASS-based implementation of Kimi Delta Attention kernels. It delivers 1.72×–2.22× prefill speedup over the flash-linear-attention baseline on H20, and works as a drop-in backend for flash-linear-attention. Explore on GitHub: