Skip to content

Commit b2ea4fe

Browse files
committed
ggml : fix dependencies for ggml_set_rows
1 parent bd0af02 commit b2ea4fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/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)