mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-04-25 08:59:30 +00:00
Fix Zen4 implementation of iq3_k, iq4_k, iq5_k
See comments in f3a823ce72
This commit is contained in:
@@ -1868,7 +1868,7 @@ size_t quantize_iq6_k(const float * src, void * dst, int64_t nrows, int64_t n_pe
|
||||
char * qrow = (char *)dst;
|
||||
float values[128];
|
||||
for (int i = 0; i < 64; ++i) {
|
||||
values[i] = A_IQ6K + B_IQ6K*i - C_IQ6K*i*i + D_IQ6K*i*i*i;
|
||||
values[i] = iq6nl_values[i];
|
||||
values[i+64] = values[i] + S_IQ6K;
|
||||
}
|
||||
for (int64_t row = 0; row < nrows; ++row) {
|
||||
|
||||
Reference in New Issue
Block a user