Skip to content

Commit 3a111ab

Browse files
committed
minor : updates after rebase to latest master
1 parent 312a927 commit 3a111ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ggml.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3049,11 +3049,12 @@ static const char * GGML_TYPE_NAME[GGML_TYPE_COUNT] = {
30493049
[GGML_TYPE_F16] = "f16",
30503050
[GGML_TYPE_Q4_0] = "q4_0",
30513051
[GGML_TYPE_Q4_1] = "q4_1",
3052+
[GGML_TYPE_Q8_0] = "q8_0",
30523053
[GGML_TYPE_I8] = "i8",
30533054
[GGML_TYPE_I16] = "i16",
30543055
[GGML_TYPE_I32] = "i32",
30553056
};
3056-
static_assert(GGML_TYPE_COUNT == 7, "GGML_TYPE_NAME is outdated");
3057+
static_assert(GGML_TYPE_COUNT == 8, "GGML_TYPE_NAME is outdated");
30573058

30583059
static const char * GGML_OP_LABEL[GGML_OP_COUNT] = {
30593060
"NONE",
@@ -9449,6 +9450,7 @@ static void ggml_compute_forward_map_unary(
94499450
} break;
94509451
case GGML_TYPE_Q4_0:
94519452
case GGML_TYPE_Q4_1:
9453+
case GGML_TYPE_Q8_0:
94529454
case GGML_TYPE_I8:
94539455
case GGML_TYPE_I16:
94549456
case GGML_TYPE_I32:
@@ -9504,6 +9506,7 @@ static void ggml_compute_forward_map_binary(
95049506
} break;
95059507
case GGML_TYPE_Q4_0:
95069508
case GGML_TYPE_Q4_1:
9509+
case GGML_TYPE_Q8_0:
95079510
case GGML_TYPE_I8:
95089511
case GGML_TYPE_I16:
95099512
case GGML_TYPE_I32:

0 commit comments

Comments
 (0)