ggml : fix dependencies for ggml_set_rows (llama/16318)

This commit is contained in:
Georgi Gerganov 2025-09-29 08:41:28 +03:00
parent a375e4c4d2
commit 7ce0a7bcd0
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}