From: Georgi Gerganov Date: Sun, 14 Jan 2024 08:55:18 +0000 (+0200) Subject: sync : ggml X-Git-Tag: upstream/1.7.4~1111 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=d08445c9adb605556daef71f65b2a5a3227344de;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp sync : ggml --- diff --git a/examples/common-ggml.cpp b/examples/common-ggml.cpp index 06a0f37b..0b9c2aa1 100644 --- a/examples/common-ggml.cpp +++ b/examples/common-ggml.cpp @@ -184,7 +184,7 @@ bool ggml_common_quantize_0( case GGML_TYPE_Q5_K: case GGML_TYPE_Q6_K: { - cur_size = ggml_quantize_chunk((ggml_type) ttype, data_f32.data(), work.data(), 0, nelements, hist_cur.data()); + cur_size = ggml_quantize_chunk((ggml_type) ttype, data_f32.data(), work.data(), 0, nelements/ne[0], ne[0], hist_cur.data(), nullptr); } break; case GGML_TYPE_F32: case GGML_TYPE_F16: diff --git a/extra/sync-ggml.last b/extra/sync-ggml.last index 587ee286..7082f05c 100644 --- a/extra/sync-ggml.last +++ b/extra/sync-ggml.last @@ -1 +1 @@ -1553a05a4ada3ccc0716744bcd16d2a5f362b98d +bca51b528820d28f54ea092fd4deaafc812f39d9