提交 2171aa77 编写于 作者: Q Qiao Longfei

async ssa exe only support local mode

上级 c4ded17e
...@@ -333,7 +333,7 @@ ParallelExecutor::ParallelExecutor( ...@@ -333,7 +333,7 @@ ParallelExecutor::ParallelExecutor(
"please don't pass loss_var_name."; "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"; VLOG(3) << "use AsyncSSAGraphExecutor";
member_->executor_.reset(new details::AsyncSSAGraphExecutor( member_->executor_.reset(new details::AsyncSSAGraphExecutor(
exec_strategy, member_->local_scopes_, member_->places_, exec_strategy, member_->local_scopes_, member_->places_,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册