diff --git a/paddle/fluid/framework/parallel_executor.cc b/paddle/fluid/framework/parallel_executor.cc index c85fe4f2006817b81f3c7e5d1a1371fc90a90ab2..e8531cd8d848a38184f450dceaa5cf6c34d5e1ee 100644 --- a/paddle/fluid/framework/parallel_executor.cc +++ b/paddle/fluid/framework/parallel_executor.cc @@ -333,7 +333,7 @@ ParallelExecutor::ParallelExecutor( "please don't pass loss_var_name."; } } - if (build_strategy.async_mode_) { + if (build_strategy.async_mode_ && !build_strategy.is_distribution_) { VLOG(3) << "use AsyncSSAGraphExecutor"; member_->executor_.reset(new details::AsyncSSAGraphExecutor( exec_strategy, member_->local_scopes_, member_->places_,