diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-09-06 12:40:57 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-09-06 12:40:57 +0300 |
commit | 178b1850ebd21b349cebbee887950e435c5aa2d3 (patch) | |
tree | 4c12d17875f53a8a157c418971c6dc8e82fc9f70 | |
parent | ea2c85d5d2a93d39d0172222917f3195f0e456ff (diff) |
k-quants : fix zero-weight guard in Q6_K (ref #3040)
-rw-r--r-- | k_quants.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1089,6 +1089,7 @@ void quantize_row_q6_K_reference(const float * restrict x, block_q6_K * restrict if (!max_abs_scale) { memset(&y[i], 0, sizeof(block_q6_K)); y[i].d = ggml_fp32_to_fp16(0.f); + x += QK_K; continue; } |