diff options
author | Kawrakow <iwankawrakow@gmail.com> | 2024-12-03 06:15:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-03 06:15:29 +0100 |
commit | ccec00939a30aa7762a232ac4dcadba985ef9ee4 (patch) | |
tree | b308bd1de2b982c37fc7542374fb77efa2abb726 /ggml/src/ggml-quants.c | |
parent | 239a344f9935cb614c6208000edb0815214286a1 (diff) |
Q8_0_R4 (#120)
* Adding q8_0_r4
We get PP-512(LLaMA-3.1-8B) = 268 t/s on a Ryzen-7950X compared
to 175.6 t/s for Q8_0.
* q8_0_r4: NEON
We get PP-512(LLaMA-3.1-8B) = 112.6 t/s on M2-Max.
* q8_0_r4: Zen4 matrix-vector specialization
---------
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
Diffstat (limited to 'ggml/src/ggml-quants.c')
-rw-r--r-- | ggml/src/ggml-quants.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ggml/src/ggml-quants.c b/ggml/src/ggml-quants.c index dd43e1c1..3140fc19 100644 --- a/ggml/src/ggml-quants.c +++ b/ggml/src/ggml-quants.c @@ -15198,6 +15198,7 @@ bool ggml_validate_row_data(enum ggml_type type, const void * data, size_t nbyte case GGML_TYPE_IQ4_KSS: break; case GGML_TYPE_IQ4_NL_X4: break; case GGML_TYPE_Q4_0_R4: break; + case GGML_TYPE_Q8_0_R4: break; case GGML_TYPE_Q4_0_4_4: case GGML_TYPE_Q4_0_4_8: { |