From 2a21bd8ab24ee563af4b4ecee3b47d064175a283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Forst=C3=A9n?= Date: Thu, 28 Dec 2023 17:13:39 +0200 Subject: [PATCH] Remove Q_K 0 type changes --- ggml-quants.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ggml-quants.c b/ggml-quants.c index a2054acd9..61d9eeec1 100644 --- a/ggml-quants.c +++ b/ggml-quants.c @@ -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