aboutsummaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
authorStephan Walter <stephan@walter.name>2023-04-28 23:10:43 +0000
committerGitHub <noreply@github.com>2023-04-28 23:10:43 +0000
commit36d19a603b221d1bd7897fcb10e823e2103b052d (patch)
tree14e8caf8b61f8fa0fa72f5d7cc137b1ff9330b2f /ggml.h
parent7f15c5c477d9933689a9d1c40794483e350c2f19 (diff)
Remove Q4_3 which is no better than Q5 (#1218)
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ggml.h b/ggml.h
index 540901f..38ae9a6 100644
--- a/ggml.h
+++ b/ggml.h
@@ -221,7 +221,7 @@ extern "C" {
GGML_TYPE_Q4_0 = 2,
GGML_TYPE_Q4_1 = 3,
GGML_TYPE_Q4_2 = 4,
- GGML_TYPE_Q4_3 = 5,
+ // GGML_TYPE_Q4_3 (5) support has been removed
GGML_TYPE_Q5_0 = 6,
GGML_TYPE_Q5_1 = 7,
GGML_TYPE_Q8_0 = 8,
@@ -843,7 +843,6 @@ extern "C" {
GGML_API size_t ggml_quantize_q4_0(const float * src, void * dst, int n, int k, int64_t * hist);
GGML_API size_t ggml_quantize_q4_1(const float * src, void * dst, int n, int k, int64_t * hist);
GGML_API size_t ggml_quantize_q4_2(const float * src, void * dst, int n, int k, int64_t * hist);
- GGML_API size_t ggml_quantize_q4_3(const float * src, void * dst, int n, int k, int64_t * hist);
GGML_API size_t ggml_quantize_q5_0(const float * src, void * dst, int n, int k, int64_t * hist);
GGML_API size_t ggml_quantize_q5_1(const float * src, void * dst, int n, int k, int64_t * hist);
GGML_API size_t ggml_quantize_q8_0(const float * src, void * dst, int n, int k, int64_t * hist);