Skip to content

Commit 9db070a

Browse files
slarenggerganov
authored andcommitted
ggml/sched : do not skip views in pre-assignments
1 parent 7fd8d9c commit 9db070a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ggml/src/ggml-backend.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -884,9 +884,6 @@ static void ggml_backend_sched_split_graph(ggml_backend_sched_t sched, struct gg
884884
for (int i = 0; i < graph->n_nodes; i++) {
885885
struct ggml_tensor * node = graph->nodes[i];
886886
int * node_backend_id = &tensor_backend_id(node);
887-
if (ggml_is_view_op(node->op)) {
888-
continue;
889-
}
890887
// do not overwrite user assignments
891888
if (*node_backend_id == -1) {
892889
*node_backend_id = ggml_backend_sched_backend_id_from_cur(sched, node);

0 commit comments

Comments
 (0)