This commit is contained in:
Eddie-Wang1120 2024-06-19 21:49:13 +08:00
parent fcf2da4621
commit fa9a742b46

2
ggml.c
View file

@ -620,8 +620,8 @@ static const ggml_type_traits_t type_traits[GGML_TYPE_COUNT] = {
.type_name = "q2_2",
.blck_size = QK2_2,
.type_size = sizeof(block_q2_2),
.to_float = (ggml_to_float_t) dequantize_row_q2_2,
.is_quantized = true,
.to_float = (ggml_to_float_t) dequantize_row_q2_2,
.from_float = quantize_row_q2_2,
.from_float_reference = (ggml_from_float_t) quantize_row_q2_2_reference,
.vec_dot = ggml_vec_dot_q2_2_q8_0,