summaryrefslogtreecommitdiff
path: root/ggml-quants.h
diff options
context:
space:
mode:
Diffstat (limited to 'ggml-quants.h')
-rw-r--r--ggml-quants.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/ggml-quants.h b/ggml-quants.h
index d88f99e3..70c12c27 100644
--- a/ggml-quants.h
+++ b/ggml-quants.h
@@ -1,22 +1,12 @@
#pragma once
-// This is a private API for quantization and dequantization
-// Should not be used directly, use ggml.h instead
+#include "ggml-impl.h"
-#include "ggml.h"
+// GGML internal header
#include <stdint.h>
-#include <assert.h>
#include <stddef.h>
-#ifndef static_assert
-#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201100L)
-#define static_assert(cond, msg) _Static_assert(cond, msg)
-#else
-#define static_assert(cond, msg) struct global_scope_noop_trick
-#endif
-#endif
-
#define QK4_0 32
typedef struct {
ggml_fp16_t d; // delta