summaryrefslogtreecommitdiff
path: root/ggml/include/ggml.h
diff options
context:
space:
mode:
authorKawrakow <iwankawrakow@gmail.com>2025-01-10 18:18:04 +0200
committerGitHub <noreply@github.com>2025-01-10 18:18:04 +0200
commit7553989dd88749de028853f9c0ea39651aad92a3 (patch)
tree71783a2c138437c940492ca2b6f0e218f20a7b4c /ggml/include/ggml.h
parentb1363b6177661556750c110cf876e044e61af365 (diff)
Be able to re-quantize MS BitNet I2_S models (#169)
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
Diffstat (limited to 'ggml/include/ggml.h')
-rw-r--r--ggml/include/ggml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ggml/include/ggml.h b/ggml/include/ggml.h
index 5fd8324d..118ce969 100644
--- a/ggml/include/ggml.h
+++ b/ggml/include/ggml.h
@@ -392,6 +392,10 @@ extern "C" {
GGML_TYPE_Q4_0_4_8 = 32,
GGML_TYPE_Q4_0_8_8 = 33,
//
+ // So we are able to consume MS BitNet I2_S quants
+ //
+ GGML_TYPE_I2_S = 36,
+ //
GGML_TYPE_Q6_0 = 133,
GGML_TYPE_IQ1_BN = 134,
GGML_TYPE_IQ2_BN = 135,