Commit Graph

887 Commits

Author SHA1 Message Date
fd54d657b2 SMEM-P: add debug_permute flag for coordinate permutation testing 2026-05-23 20:13:44 +00:00
06409401ca SMEM-P: disable debug flags, revert to original mapping 2026-05-23 20:12:26 +00:00
b8f0f0890a SMEM-P: fix scoping error, disable debug_p_one, enable debug_swap_mn 2026-05-23 20:11:50 +00:00
8787f6a989 SMEM-P: add debug_swap_mn flag to test swapped coordinate mapping 2026-05-23 20:10:39 +00:00
a272ce10e3 SMEM-P: add debug_p_one flag to write constant P=1.0 2026-05-23 20:09:47 +00:00
440e49b39d auto: pre-test commit 2026-05-23 20:08:31 +00:00
3df9cb57f8 SMEM-P: implement two-phase softmax with normalization before SMEM write 2026-05-23 20:08:29 +00:00
dc93168f57 Revert TMEM layout change (caused error) 2026-05-23 20:07:02 +00:00
8d48d6d543 SMEM-P: try using PV A-operand layout directly for TMEM-P 2026-05-23 20:06:23 +00:00
6a2f3d2e27 SMEM-P: debug compute offset for known coordinate 2026-05-23 20:05:02 +00:00
db9d9b09d2 SMEM-P: add crd2idx debug attempt 2026-05-23 20:04:28 +00:00
8879f0b701 SMEM-P: test pattern based on fragment indices (k,j) 2026-05-23 20:03:22 +00:00
420bb62330 auto: pre-test commit 2026-05-23 20:02:35 +00:00
caf722f78f SMEM-P: add shape debug prints 2026-05-23 20:02:32 +00:00
2f71868fdd SMEM-P: add debug prints for coordinates 2026-05-23 20:00:33 +00:00
a166a19ae5 SMEM-P: implement CUTLASS LLM fixes - dynamic frg_tile, local coordinate conversion 2026-05-23 19:59:52 +00:00
afc7fbefc3 auto: pre-test commit 2026-05-23 19:53:45 +00:00
72226cef44 SMEM-P: try transposed mapping (swap m/n) 2026-05-23 19:53:42 +00:00
e4a225a138 SMEM-P: current state - working but mapping wrong (cos 0.02) 2026-05-23 19:53:25 +00:00
00d08eec28 SMEM-P: debug with linear index pattern m*128+n 2026-05-23 19:52:46 +00:00
111b50b62a SMEM-P: debug with test pattern (k+j)*0.01 2026-05-23 19:52:02 +00:00
ca1fb7a1ca SMEM-P: fix coordinate access - qk_coord is (m,n) not ((m,n),0,0) 2026-05-23 19:38:11 +00:00
096a48b5cb SMEM-P: fix scoping - define tTMEM_LOADcS_frg unconditionally 2026-05-23 19:37:34 +00:00
e0aa7ccd19 auto: pre-test commit 2026-05-23 19:36:58 +00:00
4f8559ae2e SMEM-P: implement full 128-value write in softmax loop using coordinate mapping 2026-05-23 19:36:56 +00:00
63f68eda52 SMEM-P: fix BF16 value creation (use constant) 2026-05-23 19:33:29 +00:00
aa82a0faf5 SMEM-P: implement CUTLASS LLM coordinate mapping pattern (minimal test) 2026-05-23 19:32:11 +00:00
c9b44e6bf9 SMEM-P: fix thread_idx tuple access 2026-05-23 19:30:09 +00:00
97e97b63ea auto: pre-test commit 2026-05-23 19:29:29 +00:00
dee046287e SMEM-P: add debug to understand thread partitioning 2026-05-23 19:29:27 +00:00
5b6a4fbef9 Update STAGE_D.md: manual SMEM addressing blocked on layout mapping 2026-05-23 19:22:28 +00:00
060cea5d0f SMEM-P: implement simple test pattern instead of coord lookup 2026-05-23 19:21:31 +00:00
56bed1066d auto: pre-test commit 2026-05-23 19:20:42 +00:00
6c08a95620 Start implementing manual SMEM-P addressing (helpers are a trap) 2026-05-23 19:20:40 +00:00
7bf69a0265 Implement manual SMEM-P copy instead of cute.copy (helpers are a trap) 2026-05-23 19:14:44 +00:00
944fa9b155 auto: pre-test commit 2026-05-23 19:14:02 +00:00
e765685951 Try flattening sP and rP_bf16_qk with group_modes to fix rank mismatch 2026-05-23 19:13:59 +00:00
5ee0c20736 Add debug prints for SMEM-P partition layouts 2026-05-23 19:13:07 +00:00
55dcee2d29 Fix SMEM-P: use BF16 copy atom and BF16 source with QK C-fragment layout 2026-05-23 19:12:13 +00:00
77e01acd13 Fix SMEM-P copy: use tcgen05.copy.St32x32bOp with Float32 and copy from rP_words (Float32) not rP_bf16 2026-05-23 19:11:08 +00:00
01fd6d03db Update STAGE_D.md with current action plan - starting NVFP4-0 verification and D1.3 validation on B200 2026-05-23 19:09:56 +00:00
5756b6e4ec 📋 Update STAGE_D.md: D1.3 SOLVED, D1.4 IMPLEMENTED, D1.5 🟡 complex refactor, checklist updated 2026-05-23 18:37:53 +00:00
593584fc8d 🎉 Mark D1.3 as SOLVED! SMEM-P rank mismatch fixed, enables hd>64 support 2026-05-23 18:26:15 +00:00
0bee39d2d5 Fix rP scope issue: use rP_bf16.iterator instead of rP.iterator 2026-05-23 09:36:22 +00:00
0b09e7e4a2 Fix duplicate else: line in SMEM-P block 2026-05-23 09:35:47 +00:00
018a961c01 SMEM-P: Use QK C-fragment layout instead of TMEM layout to fix rank mismatch 2026-05-23 09:35:24 +00:00
7a74fac11f Fix sP_2d definition for tSMEM_CPYsP 2026-05-23 09:34:50 +00:00
ffafd47d07 Remove debug print lines referencing deleted sP_2d 2026-05-23 09:34:09 +00:00
6a078b88d9 Remove duplicate sP_2d line causing indentation error 2026-05-23 09:33:40 +00:00
1fd3670ca4 SMEM-P: Implement rank mismatch fix by reshaping source tensor 2026-05-23 09:33:24 +00:00