@WentaoGuo7 explains really well this nice mathematical rewrite of the MoE backward. This leads to much lower activation mem, and way faster speed, esp for fine-grained MoE. Plus fun stuff on how to leverage new Blackwell features like 2CTA MMA and CLC for super fast MoE kernels
View original post on X: Tri Dao
Published
Tri Dao highlights SonicMoE's mathematical backward rewrite for faster MoE on Blackwell
AITri Dao points to Wentao Guo's explanation of a mathematical rewrite of the MoE backward pass, which reduces activation memory and speeds up training, especially for fine-grained MoE. He also notes the work leverages new Blackwell features, including 2CTA MMA and CLC, to build fast MoE kernels.
@tri_dao
🚀SonicMoE🚀now runs at peak throughput on NVIDIA Blackwell GPUs 😃 54% & 35% higher fwd/bwd TFLOPS than the DeepGEMM baseline and 21% higher fwd TFLOPS than the triton official example. SonicMoE still maintains its minimum activation memory footprint: the same as a dense model with equal activated parameters and independent of expert granularity. We wrote a blogpost on how we leveraged Blackwell features and the software abstraction on QuACK: Work with @MayankMish98, @XinleC295, @istoica05, @tri_dao
Source details
Tri Dao · x.comPublished · added here
Original title: @WentaoGuo7 explains really well this nice mathematical rewrite of the MoE backward. This leads to much lower activation mem, and way fas...
