From: Georgi Gerganov Date: Wed, 29 May 2024 09:58:00 +0000 (+0300) Subject: examples : adapt to new ggml_concat (ggml/0) X-Git-Tag: upstream/1.7.4~671 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=02fc147a0bd19742ca021a2c9c38f17751d74d46;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp examples : adapt to new ggml_concat (ggml/0) --- diff --git a/whisper.cpp b/whisper.cpp index 71eb0673..0a53a03d 100644 --- a/whisper.cpp +++ b/whisper.cpp @@ -2582,7 +2582,7 @@ static struct ggml_cgraph * whisper_build_graph_decoder( if (aheads_cross_QKs == NULL) { aheads_cross_QKs = aheads_KQs; } else { - aheads_cross_QKs = ggml_concat(ctx0, aheads_cross_QKs, aheads_KQs); + aheads_cross_QKs = ggml_concat(ctx0, aheads_cross_QKs, aheads_KQs, 2); } } }