未验证 提交 0d507fc2 编写于 作者: S shentanyue 提交者: GitHub

fix xccl (#48018)

上级 9adca1e7
......@@ -176,6 +176,7 @@ def init_parallel_env():
or core.is_compiled_with_xpu()
or core.is_compiled_with_npu()
or core.is_compiled_with_mlu()
or backend == "xccl"
):
raise NotImplementedError(
"If you want to use CPU-only version, please use 'gloo' as backend"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册