From 02fc147a0bd19742ca021a2c9c38f17751d74d46 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Wed, 29 May 2024 12:58:00 +0300 Subject: [PATCH] examples : adapt to new ggml_concat (ggml/0) --- whisper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }