From: Georgi Gerganov Date: Mon, 29 Sep 2025 05:41:28 +0000 (+0300) Subject: ggml : fix dependencies for ggml_set_rows (#16318) X-Git-Tag: upstream/0.0.6641~19 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=a4a0aa5ea2a88e4858996199fefd5439f17b481c;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml : fix dependencies for ggml_set_rows (#16318) --- diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index a5796214..aecbdad5 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -3687,6 +3687,7 @@ struct ggml_tensor * ggml_set_rows( result->op = GGML_OP_SET_ROWS; result->src[0] = b; result->src[1] = c; + result->src[2] = a; // note: order is weird due to legacy reasons (https://github.com/ggml-org/llama.cpp/pull/16063#discussion_r2385795931) return result; }