summaryrefslogtreecommitdiff
path: root/ggml/include
diff options
context:
space:
mode:
authorKawrakow <iwankawrakow@gmail.com>2025-02-06 18:45:28 +0200
committerGitHub <noreply@github.com>2025-02-06 18:45:28 +0200
commita08501ee5216402458d3d3e9b9af5763705eaffe (patch)
tree06db79c9c3e5bdf15180071d2e4d4abc7d3a8c85 /ggml/include
parent7f61b3068e18728e5e7e2b95546ff03dd2fd41ac (diff)
Rename q4_0_r4, q8_0_r4 and iq4_xs_r4 to _r8 (#189)
* Rename q4_0_r4 to q4_0_r8 to reflect actual row interleaving * Rename q8_0_r4 to q8_0_r8 to reflect actual row interleaving * Rename iq4_xs_r4 to iq4_xs_r8 to reflect actual row interleaving --------- Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
Diffstat (limited to 'ggml/include')
-rw-r--r--ggml/include/ggml.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ggml/include/ggml.h b/ggml/include/ggml.h
index 77ac33a9..b6bebd60 100644
--- a/ggml/include/ggml.h
+++ b/ggml/include/ggml.h
@@ -416,9 +416,9 @@ extern "C" {
GGML_TYPE_Q8_K32 = 148,
GGML_TYPE_Q8_KR8 = 149,
- GGML_TYPE_Q4_0_R4 = 202,
+ GGML_TYPE_Q4_0_R8 = 202,
GGML_TYPE_Q5_0_R4 = 206,
- GGML_TYPE_Q8_0_R4 = 208,
+ GGML_TYPE_Q8_0_R8 = 208,
GGML_TYPE_Q2_K_R4 = 210,
GGML_TYPE_Q3_K_R4 = 211,
GGML_TYPE_Q4_K_R4 = 212,
@@ -431,7 +431,7 @@ extern "C" {
GGML_TYPE_IQ4_NL_R4 = 220,
GGML_TYPE_IQ3_S_R4 = 221,
GGML_TYPE_IQ2_S_R4 = 222,
- GGML_TYPE_IQ4_XS_R4 = 223,
+ GGML_TYPE_IQ4_XS_R8 = 223,
GGML_TYPE_IQ1_M_R4 = 229,
GGML_TYPE_BF16_R16 = 230,
GGML_TYPE_Q6_0_R4 = 233,
@@ -501,8 +501,8 @@ extern "C" {
GGML_FTYPE_MOSTLY_IQ2_KS = 138, // except 1d tensors
GGML_FTYPE_MOSTLY_IQ4_KSS = 139, // except 1d tensors
//
- GGML_FTYPE_MOSTLY_Q4_0_R4 = 202, // except 1d tensors
- GGML_FTYPE_MOSTLY_Q8_0_R4 = 207, // except 1d tensors
+ GGML_FTYPE_MOSTLY_Q4_0_R8 = 202, // except 1d tensors
+ GGML_FTYPE_MOSTLY_Q8_0_R8 = 207, // except 1d tensors
GGML_FTYPE_MOSTLY_Q5_0_R4 = 208, // except 1d tensors
GGML_FTYPE_MOSTLY_Q2_K_R4 = 210, // except 1d tensors
GGML_FTYPE_MOSTLY_Q3_K_R4 = 211, // except 1d tensors
@@ -516,7 +516,7 @@ extern "C" {
GGML_FTYPE_MOSTLY_IQ4_NL_R4 = 219, // except 1d tensors
GGML_FTYPE_MOSTLY_IQ3_S_R4 = 220, // except 1d tensors
GGML_FTYPE_MOSTLY_IQ2_S_R4 = 221, // except 1d tensors
- GGML_FTYPE_MOSTLY_IQ4_XS_R4 = 222, // except 1d tensors
+ GGML_FTYPE_MOSTLY_IQ4_XS_R8 = 222, // except 1d tensors
GGML_FTYPE_MOSTLY_IQ1_M_R4 = 223, // except 1d tensors
GGML_FTYPE_MOSTLY_BF16_R16 = 224, // except 1d tensors
GGML_FTYPE_MOSTLY_Q6_0_R4 = 227, // except 1d tensors