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.
2 parents d15b264 + f5b4ac6 commit 6c0356eCopy full SHA for 6c0356e
paddle/fluid/framework/details/threaded_ssa_graph_executor.cc
@@ -128,7 +128,7 @@ FeedFetchList ThreadedSSAGraphExecutor::Run(
128
//
129
// NOTE: DelayedOps have a lower priority. It will be scheduled after all
130
// ready_ops have been performed.
131
- if (ready_ops.empty() && allow_op_delay_) {
+ if (ready_ops.empty() && allow_op_delay_ && running_ops_ == 0) {
132
run_all_ops(delayed_ops);
133
} else {
134
run_all_ops(ready_ops);
0 commit comments