From cf9050c3337ee87e3a0c15e2fc637b29cb7acd1a Mon Sep 17 00:00:00 2001 From: biondizzle Date: Sat, 23 May 2026 20:12:26 +0000 Subject: [PATCH] SMEM-P: disable debug flags, revert to original mapping --- dsv4/kernels/attention/fmha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsv4/kernels/attention/fmha.py b/dsv4/kernels/attention/fmha.py index 4463f894..fd19f43c 100644 --- a/dsv4/kernels/attention/fmha.py +++ b/dsv4/kernels/attention/fmha.py @@ -23,7 +23,7 @@ class FmhaKernel: self.n_pv_tiles = head_dim // self.pv_n_tile self.use_smem_p = use_smem_p if use_smem_p is not None else (head_dim > 64) self.debug_p_one = False # DEBUG: write constant P=1.0 to verify mapping - self.debug_swap_mn = True # DEBUG: try swapping m and n0 in coordinate mapping + self.debug_swap_mn = False # DEBUG: try swapping m and n0 in coordinate mapping self.acc_dtype = Float32; self.qk_acc_dtype = Float32 self.q_dtype = BFloat16; self.o_dtype = BFloat16; self.c_dtype = BFloat16 self.use_2cta_instrs = False; self.epilog_sync_bar_id = 1