From a38d29232dc67a47a5c7ded6c68ae471b785974e Mon Sep 17 00:00:00 2001 From: Kawrakow Date: Tue, 9 Jun 2026 09:13:19 +0200 Subject: [PATCH] CPU FA: disable mask optimization (#1935) --- ggml/src/iqk/fa/iqk_fa_templates.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ggml/src/iqk/fa/iqk_fa_templates.h b/ggml/src/iqk/fa/iqk_fa_templates.h index 711ae7c0..b6292fcd 100644 --- a/ggml/src/iqk/fa/iqk_fa_templates.h +++ b/ggml/src/iqk/fa/iqk_fa_templates.h @@ -39,6 +39,7 @@ namespace { // lengths and therefore different mask patterns. // Returns the number of K elements to process (multiple of k_step). inline int mask_effective_nk1(const char * mask, int n_rows, int stride_m, int nk1, int k_step) { + return nk1; int ik_max = 0; for (int j = 0; j < n_rows; ++j) { auto Mc = (const uint16_t *)(mask + j * stride_m);