We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 852a5f7 commit 9768e7eCopy full SHA for 9768e7e
ggml/src/ggml-cpu/ggml-cpu.c
@@ -13416,9 +13416,13 @@ static thread_ret_t ggml_graph_compute_thread(void * data) {
13416
tp->ec = GGML_STATUS_ABORTED;
13417
}
13418
13419
- ggml_barrier(state->threadpool);
+ if (node_n + 1 < cgraph->n_nodes) {
13420
+ ggml_barrier(state->threadpool);
13421
+ }
13422
13423
13424
13425
+
13426
return 0;
13427
13428
0 commit comments