ggml : fix q4_1 dot func

This commit is contained in:
Georgi Gerganov 2023-04-15 15:06:38 +03:00
parent 01de5c5420
commit 60f27ed887
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

2
ggml.c
View file

@ -7322,7 +7322,7 @@ static const quantize_fns_t quantize_fns[GGML_TYPE_COUNT] = {
.dequantize_row_q = dequantize_row_q4_1, .dequantize_row_q = dequantize_row_q4_1,
.quantize_row_q = quantize_row_q4_1, .quantize_row_q = quantize_row_q4_1,
.quantize_row_q_reference = (quantize_row_q_t) quantize_row_q4_1_reference, .quantize_row_q_reference = (quantize_row_q_t) quantize_row_q4_1_reference,
.quantize_row_q_dot = quantize_row_q8_0, .quantize_row_q_dot = quantize_row_q4_1,
.vec_dot_q = ggml_vec_dot_q4_1, .vec_dot_q = ggml_vec_dot_q4_1,
}, },
// TODO: GGML_TYPE_Q8_0 // TODO: GGML_TYPE_Q8_0