Skip to content

Commit 12f766e

Browse files
committed
Fix edge checking in attention mask
1 parent 097abca commit 12f766e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlx/backend/metal/kernels/steel/attn/kernels/steel_attention_nax.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ template <
362362
const int M_str = int(mask_params->M_strides[2]);
363363
const int M_load_off = row_pos * M_str + col_pos;
364364
mfrag.load(mask + M_load_off, M_str, Int<1>{});
365-
366365
}
367366

368367
thread auto& fg = Ptile.subtile_at(iq, ik).frag_at(0, 0);

0 commit comments

Comments
 (0)