diff options
author | Kawrakow <iwankawrakow@gmail.com> | 2025-02-09 09:14:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-09 09:14:52 +0200 |
commit | 33390c4b74fa52875d6028c5c9aaf84f17288c25 (patch) | |
tree | 97578e59530316c4b0637590d28e7e46ac8bb892 /ggml/include/ggml.h | |
parent | 6d7b58eade37e45e3d8286a2353658047539d2b2 (diff) |
Use Q8_K_128 for IQ1_S_R4 and IQ1_M_R4 matrix multiplications (#194)
* iq1_s_r4: Use Q8_K_128 instead of Q8_1_X4 for gemm (AVX2/Zen4)
* iq1_m_r4: Use Q8_K_128 instead of Q8_1_X4 for gemm (AVX2/Zen4)
* iq1_s_r4: Use Q8_K_128 instead of Q8_1_X4 for gemm (Neon)
* iq1_m_r4: Use Q8_K_128 instead of Q8_0_X4 for gemm (Neon)
* Simdify q8_K128 quantization also on Neon
* Cleanup
---------
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
Diffstat (limited to 'ggml/include/ggml.h')
-rw-r--r-- | ggml/include/ggml.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ggml/include/ggml.h b/ggml/include/ggml.h index c307d42e..66bcb25a 100644 --- a/ggml/include/ggml.h +++ b/ggml/include/ggml.h @@ -415,6 +415,7 @@ extern "C" { GGML_TYPE_Q8_K16 = 147, GGML_TYPE_Q8_K32 = 148, GGML_TYPE_Q8_KR8 = 149, + GGML_TYPE_Q8_K128 = 150, GGML_TYPE_Q4_0_R8 = 202, GGML_TYPE_Q5_0_R4 = 206, |