Commit Graph

1012 Commits

Author SHA1 Message Date
66aaadadbf D1: LSE diagnostic at various hd 2026-05-24 03:23:16 +00:00
cadc11d5d2 D1: Add diagnostic test (TMEM-P vs SMEM-P at various hd) 2026-05-24 03:22:23 +00:00
47369c4d4d Merge branch 'master' of ssh://sweetapi.com:2222/biondizzle/nvfp4-megamoe-kernel 2026-05-24 03:21:06 +00:00
64e11caf97 D1 test: compare un-norm O + norm using ref row_sum + LSE verification 2026-05-24 03:21:01 +00:00
8eef860947 fix: LSE type mismatch Float32→BFloat16 2026-05-24 03:20:26 +00:00
aaf32ad8ea merge: keep our fmha.py (coordinate-indexed SMEM-P + epilogue_tma_store) 2026-05-24 03:19:52 +00:00
304429ee3e D1.5: Fix SMEM-P - use coordinate-indexed store (same proven pattern) 2026-05-24 03:19:32 +00:00
e6ed497bdd feat: SMEM-P with make_tiled_copy_tv + partition_S 2026-05-24 03:19:18 +00:00
b471579140 D1.5: Always output un-normalized O + LSE (epilogue_tma_store only, no TMEM round-trip normalize) 2026-05-24 03:18:38 +00:00
940141a480 feat: SMEM-P using make_tiled_copy_A from PV MMA 2026-05-24 03:16:34 +00:00
641af108c3 fix: fence_proxy not fence 2026-05-24 02:45:01 +00:00
8f4b494bbe merge: resolve conflict (keep our version) 2026-05-24 02:44:09 +00:00
6b47cea90f D1.5: Replace broken make_cotiled_copy SMEM-P with coordinate-indexed store 2026-05-24 02:43:42 +00:00
39a23a9cc8 feat: SMEM-P with make_tiled_copy_tv + manual fill 2026-05-24 02:43:12 +00:00
eb9f4e553f feat: SMEM-P using make_tiled_copy_tv + logical sP view 2026-05-24 02:42:27 +00:00
45dd35ee92 Merge branch 'master' of ssh://sweetapi.com:2222/biondizzle/nvfp4-megamoe-kernel 2026-05-24 02:41:39 +00:00
4e593f1cad D1.5: Use tCtO_fake layout for epilogue_tma_store (needs STAGE dim) 2026-05-24 02:41:32 +00:00
4a2b48dc63 feat: SMEM-P using make_cotiled_copy (one-row-per-thread) 2026-05-24 02:41:19 +00:00
dd7eae0c1c D1.5: Remove duplicate tTMrO definition (keep unconditional one) 2026-05-24 02:40:40 +00:00
99fbdf794d merge 2026-05-24 02:40:14 +00:00
d26de62a4c D1.5: Move tTMrO after O rescale atoms (fix tTMEM_LOADcO reference) 2026-05-24 02:39:18 +00:00
769181e503 fix: reorder tTMrO definition after tTMEM_LOADcO 2026-05-24 02:36:08 +00:00
05e53b53a2 fix: tTMrO scoping + restore SMEM-P coordinate write 2026-05-24 02:34:53 +00:00
d75f6c2afa D1.5: Move tTMrO def before softmax loop (CuTeDSL scoping) 2026-05-24 02:32:51 +00:00
1c7d21f1a2 debug: zero-fill sP to check deadlock 2026-05-24 02:31:12 +00:00
f7cecf4b2d D1.5: Use proven Stage C approach - normalize via TMEM round-trip + epilogue_tma_store 2026-05-24 02:30:25 +00:00
19a65ee7fa test: add try/except for SMEM-P coord test 2026-05-24 02:15:07 +00:00
ce5818038d test: use FmhaKernel for SMEM-P coord test 2026-05-24 01:59:25 +00:00
2e0fc3db74 test: SMEM-P coordinate verification test 2026-05-24 01:58:32 +00:00
1209b7b394 fix: proper v_major from tensor 2026-05-24 01:55:37 +00:00
5b04bc4d45 fix: COL_MAJOR 2026-05-24 01:54:30 +00:00
c6139c47e3 fix: hardcode v_major for diag test 2026-05-24 01:54:20 +00:00
1e3926443c diag: use FmhaKernel setup for cotiled test 2026-05-24 01:54:08 +00:00
60fa7fb8f4 fix: v_major derivation in cotiled diag 2026-05-24 01:53:40 +00:00
2318bc3d77 diag: simplified cotiled layout test 2026-05-24 01:53:24 +00:00
7cdf61d6b0 fix: LayoutEnum import in cotiled diag test 2026-05-24 01:52:58 +00:00
e31ab787a1 diag: layout composition test for make_cotiled_copy SMEM-P 2026-05-24 01:48:50 +00:00
475ba78370 D1.5: Fix bSG_gC slicing - group trailing modes (CUTLASS pattern) 2026-05-24 01:41:52 +00:00
044c230760 D1.5: Dynamic slicing for tTR_gC (variable rest dims) 2026-05-24 01:40:44 +00:00
1bde12782d D1.5: Fix flat_divide slice coordinates (4 modes, no STAGE dim) 2026-05-24 01:39:21 +00:00
ddfa1b1cc6 D1.5: Rewrite correction epilogue using CUTLASS pattern (transform_partitioned, flat_divide, paired atoms) 2026-05-24 01:37:53 +00:00
ec1733406f D1.5: Fix TMA store - group_modes on bSG_gC, use flat indexing 2026-05-24 01:36:01 +00:00
b41ec41252 D1.5: Fix TMA store - use flat_divide on tCgC instead of local_tile on mC 2026-05-24 01:35:10 +00:00
f421fb6fb1 D1.5: Fix TMA store - use 3D tile for local_tile on 3D mC 2026-05-24 01:20:33 +00:00
793edcf6b8 D1.5: Use group_modes on sC for 2D TMA view (preserves swizzle) 2026-05-24 00:52:57 +00:00
5af5271c39 D1.5: Use 2D sC_epi layout from c_smem_s for TMA partition 2026-05-24 00:51:18 +00:00
0699383339 D1.5: Fix TMA store - use group_modes on sC and tCgC 2026-05-24 00:48:18 +00:00
7c97cbee1c D1.5: Simplify TMA store - use 2D sC_epi and gC_epi views 2026-05-24 00:46:52 +00:00
f305aa4884 D1.5: Fix TMA store - use existing gC partition 2026-05-24 00:43:35 +00:00
cb1a9d9171 D1.5: Implement correction epilog with paired atoms (get_tmem_load_op + get_smem_store_op)
One-way: TMEM → registers (normalize) → SMEM → GMEM
Based on CUTLASS FMHA reference's correction_epilog pattern.
Eliminates TMEM round-trip error for O normalization.
O rescale (kt>0) still uses old atoms (separate fix).
2026-05-24 00:41:27 +00:00