diff --git a/paddle/fluid/framework/parallel_executor.cc b/paddle/fluid/framework/parallel_executor.cc index 5b483849b1..2898c5ffd9 100644 --- a/paddle/fluid/framework/parallel_executor.cc +++ b/paddle/fluid/framework/parallel_executor.cc @@ -714,12 +714,6 @@ void ParallelExecutor::Run(const std::vector &fetch_tensors, throw * member_->exception_; } - { - for (auto &pair : pending_vars) { - VLOG(3) << pair.first->DebugString(); - } - } - std::this_thread::yield(); continue; } @@ -768,7 +762,8 @@ void ParallelExecutor::RunOp( } }; - member_->pool_.enqueue(op_run); + op_run(); + // member_->pool_.enqueue(op_run); } } // namespace framework } // namespace paddle