diff --git a/ggml.c b/ggml.c index 17f0ce487..e477f3640 100644 --- a/ggml.c +++ b/ggml.c @@ -1276,6 +1276,7 @@ static void quantize_row_q8_0(const float * restrict x, void * restrict vy, int __riscv_vse8_v_i8m1(y[i].qs , vs, vl); } #else + UNUSED(nb); // scalar quantize_row_q8_0_reference(x, y, k); #endif @@ -1529,6 +1530,7 @@ static void quantize_row_q8_1(const float * restrict x, void * restrict vy, int y[i].s = sum*d; } #else + UNUSED(nb); // scalar quantize_row_q8_1_reference(x, y, k); #endif