Skip to content

Commit 955a312

Browse files
slarenggerganov
authored andcommitted
ggml/sched : do not skip views in pre-assignments
1 parent 3db8570 commit 955a312

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ggml-backend.cpp

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

0 commit comments

Comments
 (0)