未验证 提交 68629ba5 编写于 作者: H Haohongxiang 提交者: GitHub

fix bug (#49081)

上级 da63f99e
......@@ -71,12 +71,6 @@ class GraphExecutionOptimizer(MetaOptimizerBase):
if trainer_id == 0 and not paddle.is_compiled_with_npu():
wait_server_ready(other_trainers)
if (
build_strategy.reduce_strategy
== BuildStrategy.ReduceStrategy._NoReduce
):
return
if core.is_compiled_with_cuda():
comm_id_var = startup_program.global_block().create_var(
name="NCCLID", persistable=True, type=core.VarDesc.VarType.RAW
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册