aboutsummaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ggml.h b/ggml.h
index 59de0cb..603be84 100644
--- a/ggml.h
+++ b/ggml.h
@@ -204,7 +204,8 @@ enum ggml_type {
GGML_TYPE_F16 = 1,
GGML_TYPE_Q4_0 = 2,
GGML_TYPE_Q4_1 = 3,
- GGML_TYPE_Q8_0 = 4,
+ GGML_TYPE_Q4_2 = 4,
+ GGML_TYPE_Q8_0 = 5,
GGML_TYPE_I8,
GGML_TYPE_I16,
GGML_TYPE_I32,
@@ -806,6 +807,7 @@ enum ggml_opt_result ggml_opt(
size_t ggml_quantize_q4_0(const float * src, void * dst, int n, int k, int64_t * hist);
size_t ggml_quantize_q4_1(const float * src, void * dst, int n, int k, int64_t * hist);
+size_t ggml_quantize_q4_2(const float * src, void * dst, int n, int k, int64_t * hist);
//
// system info