* iq5_k_r4: Zen4

Much slower than the others.

* iq5_k_r5: WIP

* Minor

* iq5_k_r4: fix AVX2 nrc_y = 1 case

* iq5_k_r4: better Zen4

But TG is still slower than iq5_k

* iq5_k_r4: slightly better AVX2

* iq5_k_r4: NEON

---------

Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
This commit is contained in:
Kawrakow
2024-12-18 13:29:25 +01:00
committed by GitHub
parent 2247afa967
commit c208fec2f2
10 changed files with 532 additions and 13 deletions

View File

@@ -426,6 +426,7 @@ extern "C" {
GGML_TYPE_IQ2_K_R4 = 337,
GGML_TYPE_IQ3_K_R4 = 338,
GGML_TYPE_IQ4_K_R4 = 339,
GGML_TYPE_IQ5_K_R4 = 340,
GGML_TYPE_Q8_K_R8 = 399,
GGML_TYPE_COUNT,
};
@@ -502,6 +503,7 @@ extern "C" {
GGML_FTYPE_MOSTLY_IQ2_K_R4 = 330, // except 1d tensors
GGML_FTYPE_MOSTLY_IQ3_K_R4 = 331, // except 1d tensors
GGML_FTYPE_MOSTLY_IQ4_K_R4 = 332, // except 1d tensors
GGML_FTYPE_MOSTLY_IQ5_K_R4 = 333, // except 1d tensors
GGML_FTYPE_MOSTLY_Q8_K_R8 = 399, // except 1d tensors
};