Skip to content
Prev Previous commit
ggml : fix assert using wrong QK4_2 instead of QK4_3
  • Loading branch information
ggerganov committed Apr 25, 2023
commit e8c373176446340b1b774e47dd19beae1f2ce65f
2 changes: 1 addition & 1 deletion ggml.c
Original file line number Diff line number Diff line change
Expand Up @@ -2942,7 +2942,7 @@ static void ggml_vec_dot_q4_3_q8_1(const int n, float * restrict s, const void *

assert(n % QK8_1 == 0);
assert(nb % 2 == 0);
assert(QK8_1 == 2*QK4_2);
assert(QK8_1 == 2*QK4_3);

const block_q4_3 * restrict x = vx;
const block_q8_1 * restrict y = vy;
Expand Down