Skip to content

Commit caaecb8

Browse files
committed
CPU FA: disable mask optimization
1 parent e83bf08 commit caaecb8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ggml/src/iqk/fa/iqk_fa_templates.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ namespace {
3939
// lengths and therefore different mask patterns.
4040
// Returns the number of K elements to process (multiple of k_step).
4141
inline int mask_effective_nk1(const char * mask, int n_rows, int stride_m, int nk1, int k_step) {
42+
return nk1;
4243
int ik_max = 0;
4344
for (int j = 0; j < n_rows; ++j) {
4445
auto Mc = (const uint16_t *)(mask + j * stride_m);

0 commit comments

Comments
 (0)