Skip to content

Commit 6d802c3

Browse files
committed
Merge remote-tracking branch 'origin/nubs/upstream-master-merge-compile-fixes' into nubs/merge-all-branches
2 parents d4c6deb + e0b9d89 commit 6d802c3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ggml/src/ggml-quants.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,12 @@ void quantize_row_q1_0_ref(const float * GGML_RESTRICT x, block_q1_0 * GGML_REST
200200
}
201201
}
202202

203+
// Sister to quantize_row_q1_0_ref / _g128_ref. Identical body, only the
204+
// block type and QK constant differ. The 79079c25e upstream/master merge
205+
// dropped this definition while leaving the declaration in
206+
// `ggml-quants.h:18` and three call sites (`ggml.c:683`, `ggml-quants.c:2265`
207+
// + `2271`, `ggml-cpu/quants.c:30`); link fails with
208+
// `undefined reference to 'quantize_row_q1_0_g32_ref'`.
203209
void quantize_row_q1_0_g32_ref(const float * GGML_RESTRICT x, block_q1_0_g32 * GGML_RESTRICT y, int64_t k) {
204210
static const int qk = QK1_0_g32;
205211

0 commit comments

Comments
 (0)