summaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ggml.h b/ggml.h
index bac4fe65..48b6cc02 100644
--- a/ggml.h
+++ b/ggml.h
@@ -742,6 +742,13 @@ enum ggml_opt_result ggml_opt(
struct ggml_tensor * f);
//
+// quantization
+//
+
+size_t ggml_quantize_q4_0(float * src, void * dst, int n, int k, int qk, int64_t * hist);
+size_t ggml_quantize_q4_1(float * src, void * dst, int n, int k, int qk, int64_t * hist);
+
+//
// system info
//