Skip to content

Commit 74aa75e

Browse files
committed
ggml : fix dependencies for ggml_set_rows (llama/16318)
1 parent c732181 commit 74aa75e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ggml.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3687,6 +3687,7 @@ struct ggml_tensor * ggml_set_rows(
36873687
result->op = GGML_OP_SET_ROWS;
36883688
result->src[0] = b;
36893689
result->src[1] = c;
3690+
result->src[2] = a; // note: order is weird due to legacy reasons (https://github.com/ggml-org/llama.cpp/pull/16063#discussion_r2385795931)
36903691

36913692
return result;
36923693
}

0 commit comments

Comments
 (0)