Files
nvfp4-megamoe-kernel/tests
biondizzle 9ea5551241 FMHA Stage-C: real softmax + O normalization in 6-warp layout
- Replace identity softmax with online softmax (row_max, exp2 scaling, P store)
- Add row_sum accumulation from P values
- After softmax loop, normalize O in TMEM by 1/row_sum using TMEM load/modify/store
- Then epilogue writes normalized O from TMEM to GMEM
- Reference test uses softmax(Q@K^T/sqrt(d))@V
2026-05-22 09:22:56 +00:00
..
2026-05-22 08:57:38 +00:00