|
|
bcfe52df0d
|
Add STAGE_D2.md: Multi-query grid + head packing plan
|
2026-05-24 21:43:04 +00:00 |
|
|
|
05d45b9729
|
Remove obsolete STAGE_D1.3.md and SMEM_P_GUIDANCE_REQUEST.md
|
2026-05-24 21:41:17 +00:00 |
|
|
|
fe3431e0b2
|
Docs: Update STAGE_D.md, README.md with hd=512 compilation blocker, lessons learned
|
2026-05-24 21:35:25 +00:00 |
|
|
|
828f81ca8c
|
D1.4: Use cutlass.range(unroll=1) for k_sub loops in both TMA and MMA warps
|
2026-05-24 17:55:33 +00:00 |
|
|
|
f21defe6dd
|
D1.4: Remove --opt-level 0 from hd512 test (use default opt level)
|
2026-05-24 16:42:01 +00:00 |
|
|
|
18bf723bde
|
D1.4: Fix merge test - use use_smem_p=False for hd=256 kernel (SMEM budget)
|
2026-05-24 16:36:48 +00:00 |
|
|
|
8ace674349
|
D1.4: Add external k_sub merge test for hd=512 (avoids slow in-kernel k_sub compilation)
|
2026-05-24 16:31:06 +00:00 |
|
|
|
939b9400f1
|
D1.4: Use --opt-level 0 only (ptxas -j not supported, MLIR is the bottleneck)
|
2026-05-24 15:43:17 +00:00 |
|
|
|
b20a239bf3
|
D1.4: Use options string for compile flags (--ptxas-options -j64 --opt-level 0)
|
2026-05-24 15:40:39 +00:00 |
|
|
|
7b1b13bdea
|
D1.4: Add PtxasOptions -j64 + OptLevel(0) for faster hd=512 compilation
|
2026-05-24 15:36:35 +00:00 |
|
|
|
a06f83e27f
|
D1.4: Fix regression test for un-normalized O output (D5a)
|
2026-05-24 15:13:16 +00:00 |
|
|
|
29a4de9181
|
D1.4: Guard LSE computation with const_expr(not normalize) - fixes BF16 type mismatch in regression test
|
2026-05-24 15:11:39 +00:00 |
|
|
|
239f88af88
|
D1.4: Switch k_sub from cutlass.range to Python range (unrolled at trace time)
|
2026-05-24 15:10:28 +00:00 |
|
|
|
4ec88e035c
|
D1.4: Fix tTMrO placeholder - define only inside const_expr block
|
2026-05-24 14:23:22 +00:00 |
|
|
|
301727a8c1
|
D1.4: Use cutlass.range loop for k_sub (reduce IR), guard O rescale with const_expr(n_kv_tiles>1)
|
2026-05-24 14:22:45 +00:00 |
|
|
|
93a4418246
|
Fix: add cutlass import to test_d1_qk512
|
2026-05-24 14:20:32 +00:00 |
|
|
|
9f8f5c39b6
|
Fix: add cpasync import to test_d1_qk512
|
2026-05-24 14:20:01 +00:00 |
|
|
|
0c6c3ea956
|
D1.4: Add hd=512 QK-only and standalone test for compilation debugging
|
2026-05-24 14:19:26 +00:00 |
|
|
|
59195c7d17
|
D1.4: Reduce pv_n_tile to 128 for hd=512 to fit SMEM budget (192KB)
|
2026-05-24 08:07:32 +00:00 |
|
|
|
f77feb6e0f
|
D1: Unrolled k_sub path (hardcoded k_sub=0,1) to avoid cutlass.range IR explosion
|
2026-05-24 07:03:14 +00:00 |
|
|
|
555d953eff
|
D1: Use cutlass.range for k_sub loops (CuTeDSL immutable handle)
|
2026-05-24 06:43:30 +00:00 |
|
|
|
978c789641
|
D1: Fix kvh scoping - define before loops, consume V via pipeline
|
2026-05-24 06:42:26 +00:00 |
|
|
|
c9eff9a60f
|
D1: Fix kvb→kvh typo in PV GEMM
|
2026-05-24 06:41:25 +00:00 |
|
|
|
7acd5f10f3
|
D1: Remove qh.commit() - pipeline handles commit internally
|
2026-05-24 06:40:10 +00:00 |
|
|
|
cf6d7b1750
|
D1: TMA producer uses acquire_and_advance + commit (no wait_and_advance)
|
2026-05-24 06:38:15 +00:00 |
|
|
|
24ed5d311f
|
D1: Use same pipeline API as working code (acquire_and_advance) for k_sub path
|
2026-05-24 06:36:19 +00:00 |
|
|
|
888af57f7b
|
D1: Add PipelineState for k_sub TMA path
|
2026-05-24 05:02:17 +00:00 |
|
|
|
0db580f18a
|
D1: Fix pipeline API for K sub-tile path (producer_acquire/commit)
|
2026-05-24 04:59:41 +00:00 |
|
|
|
9afef9ed7d
|
D1: K sub-tile MMA path using pipeline barriers
|
2026-05-24 04:57:08 +00:00 |
|
|
|
8c82de7f61
|
D1: Fix TMA copies in k_sub path (no mbarrier, use cp_async wait)
|
2026-05-24 04:53:46 +00:00 |
|
|
|
8f0c9e0dad
|
D1: Add K sub-tile loop for hd=512 (const_expr guarded, hd≤256 path unchanged)
|
2026-05-24 04:51:51 +00:00 |
|
|
|
9ed927f86a
|
D1: Debug TMA partition shapes at hd=512
|
2026-05-24 04:43:12 +00:00 |
|
|
|
e58ec5ab41
|
D1: K sub-tiling - qk_mma_tiler K-dim = k_tile=256, SMEM fits at hd=512
|
2026-05-24 04:41:12 +00:00 |
|
|
|
f3d93bc810
|
Docs: Update STAGE_D.md, README.md status for D1 hd≤256 milestone
|
2026-05-24 04:32:43 +00:00 |
|
|
|
a325f4ca5f
|
D1: Full test with TMEM-P at hd=64,128,256,512
|
2026-05-24 04:07:40 +00:00 |
|
|
|
1f38d54206
|
D1: Remove debug prints, clean up
|
2026-05-24 04:06:26 +00:00 |
|
|
|
bc97bf67ee
|
D1: const_expr for sP layout selection (CuTeDSL)
|
2026-05-24 04:05:17 +00:00 |
|
|
|
95cafebad4
|
D1: Python if for sP layout (trace-time, not MLIR)
|
2026-05-24 04:04:27 +00:00 |
|
|
|
317d3209ac
|
D1: Tiny 4-mode sP placeholder for TMEM-P path
|
2026-05-24 04:03:28 +00:00 |
|
|
|
8d565efd7a
|
D1: Conditional sP allocation (saves 64KB SMEM for TMEM-P at hd=256)
|
2026-05-24 04:02:02 +00:00 |
|
|
|
65aaec5df0
|
D1: Fix sP dummy allocation
|
2026-05-24 04:00:19 +00:00 |
|
|
|
86064a2ffa
|
D1: Skip sP allocation when use_smem_p=False (saves 64KB at hd=256)
|
2026-05-24 03:59:27 +00:00 |
|
|
|
9bab7fe659
|
D1: Fix syntax (separate kv_stage line)
|
2026-05-24 03:58:12 +00:00 |
|
|
|
15eef33728
|
D1: Reduce kv_stage to 1 at hd>128 to avoid SMEM overflow
|
2026-05-24 03:55:44 +00:00 |
|
|
|
e288fea062
|
D1: FIX qk_mma_tiler K-dim = head_dim (was hardcoded to 64, broke hd>64)
|
2026-05-24 03:53:19 +00:00 |
|
|
|
b408fa4718
|
D1: Print qk_ik in _setup
|
2026-05-24 03:51:40 +00:00 |
|
|
|
aa8b145035
|
D1: Add more debug prints (QK/PV mode2 sizes)
|
2026-05-24 03:49:55 +00:00 |
|
|
|
d3a3a6988a
|
D1: SMEM-P test at hd=128
|
2026-05-24 03:48:37 +00:00 |
|
|
|
073119e9ca
|
D1: Add sP shape debug print
|
2026-05-24 03:46:27 +00:00 |
|
|
|
44b72cc570
|
D1: Fix SMEM-P (coordinate store), LSE (FP32), add TMEM-P-only test
|
2026-05-24 03:27:14 +00:00 |
|