]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
sync : ggml
authorGeorgi Gerganov <redacted>
Sun, 14 Jan 2024 08:55:18 +0000 (10:55 +0200)
committerGeorgi Gerganov <redacted>
Sun, 14 Jan 2024 08:55:18 +0000 (10:55 +0200)
examples/common-ggml.cpp
extra/sync-ggml.last

index 06a0f37bc47c0f7dfadc351370eccac6fa44b9c7..0b9c2aa18ad69a585631609eb65f819c0803a29e 100644 (file)
@@ -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:
index 587ee28661f3ff59c82ec2c35210f1364213ecea..7082f05c7f352210ea7cab66e5457e765d2203d3 100644 (file)
@@ -1 +1 @@
-1553a05a4ada3ccc0716744bcd16d2a5f362b98d
+bca51b528820d28f54ea092fd4deaafc812f39d9