llama.cpp
84cbfa45 - ggml-quants: use the imatrix in Q2_0 quantization

Commit
57 minutes ago
ggml-quants: use the imatrix in Q2_0 quantization quantize_q2_0 ignored quant_weights and always took the reference path (d = amax), so the +2 level was never used and the imatrix had no effect. Add quantize_row_q2_0_impl, built like the Q4_0 one: weighted scale search with make_qx_quants (nmax 2), mapped to the Q2_0 levels. The reference path without an imatrix is unchanged.
Committer
Parents
Loading