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 d89a306 commit f5b4ac6Copy full SHA for f5b4ac6
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