From 2171aa77f100b53c59b8dfd615f2a7ebcf447b77 Mon Sep 17 00:00:00 2001 From: Qiao Longfei Date: Mon, 11 Feb 2019 09:29:36 +0800 Subject: [PATCH] async ssa exe only support local mode --- paddle/fluid/framework/parallel_executor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/parallel_executor.cc b/paddle/fluid/framework/parallel_executor.cc index c85fe4f2006..e8531cd8d84 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_, -- GitLab