提交 10393dd0 编写于 作者: Q Qiao Longfei

add some check test=develop

上级 b5b8e6cc
...@@ -217,6 +217,11 @@ ParallelExecutor::ParallelExecutor( ...@@ -217,6 +217,11 @@ ParallelExecutor::ParallelExecutor(
} }
} }
if (build_strategy.async_mode_) {
PADDLE_ENFORCE(!member_->use_cuda_,
"gpu mode does not support async_mode_ now!");
}
// FIXME(Yancey1989): parallel graph mode get better performance // FIXME(Yancey1989): parallel graph mode get better performance
// in GPU allreduce distributed training. Need an elegant way to // in GPU allreduce distributed training. Need an elegant way to
// choice the execution strategy. // choice the execution strategy.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册