Remove Q_K 0 type changes

This commit is contained in:
Henrik Forstén 2023-12-28 17:13:39 +02:00
parent 3fafecae9e
commit 2a21bd8ab2

View file

@ -1754,8 +1754,6 @@ void quantize_row_q3_K_reference(const float * restrict x, block_q3_K * restrict
}
#endif
y[i].d = GGML_FP32_TO_FP16(lstsq_q_0(q_fit, x, QK_K));
memset(y[i].hmask, 0, QK_K/8);
// We put the high-bit for the 1st 8 quants into bit 0, the next 8 into bit 1, etc.
int m = 0;
@ -2232,8 +2230,6 @@ void quantize_row_q6_K_reference(const float * restrict x, block_q6_K * restrict
}
}
y[i].d = GGML_FP32_TO_FP16(lstsq_q_0(q_fit, x, QK_K));
uint8_t * restrict ql = y[i].ql;
uint8_t * restrict qh = y[i].qh;
#if QK_K == 256