diff options
author | Kawrakow <iwankawrakow@gmail.com> | 2024-12-21 08:32:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-21 08:32:39 +0100 |
commit | a867b919ca1e26cc828f98c35b4c6926e8e54762 (patch) | |
tree | ff03d259c375e17dfbf4b0bf3488be08a9cc2738 /ggml/include/ggml.h | |
parent | 4b53bc876eda6d89890711998b3ab5bf033b2199 (diff) |
IQ2_XS_R4 (#155)
* iq2_xs_r4: Zen4
* iq2_xs_r4: AVX2
* iq2_xs_r4: slightly better matrix x vector on AVX2
* iq2_xs_r4: NEON - not much better than iq2_xs
* iq2_xs_r4: slightly better NEON
---------
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
Diffstat (limited to 'ggml/include/ggml.h')
-rw-r--r-- | ggml/include/ggml.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ggml/include/ggml.h b/ggml/include/ggml.h index 42fbcea2..60f787ad 100644 --- a/ggml/include/ggml.h +++ b/ggml/include/ggml.h @@ -419,6 +419,7 @@ extern "C" { GGML_TYPE_Q5_K_R4 = 213, GGML_TYPE_Q6_K_R4 = 214, GGML_TYPE_IQ2_XXS_R4= 216, + GGML_TYPE_IQ2_XS_R4 = 217, GGML_TYPE_IQ3_XXS_R4= 218, GGML_TYPE_IQ4_NL_R4 = 220, GGML_TYPE_IQ4_XS_R4 = 223, @@ -499,6 +500,7 @@ extern "C" { GGML_FTYPE_MOSTLY_Q5_K_R4 = 213, // except 1d tensors GGML_FTYPE_MOSTLY_Q6_K_R4 = 214, // except 1d tensors GGML_FTYPE_MOSTLY_IQ2_XXS_R4= 215, // except 1d tensors + GGML_FTYPE_MOSTLY_IQ2_XS_R4 = 216, // except 1d tensors GGML_FTYPE_MOSTLY_IQ3_XXS_R4= 217, // except 1d tensors GGML_FTYPE_MOSTLY_IQ4_NL_R4 = 219, // except 1d tensors GGML_FTYPE_MOSTLY_IQ4_XS_R4 = 222, // except 1d tensors |