Unverified Commit 61261b39 authored by Chen Shengzhi's avatar Chen Shengzhi Committed by GitHub
Browse files

[XCCL] Use xccl for xpu backend since xccl is ready in latest PyTorch. (#3954)

parent 19120f71
......@@ -263,9 +263,7 @@ class ModelRunner:
if self.device == "cuda":
backend = "nccl"
elif self.device == "xpu":
# TODO(liangan1): Just use gloo to bypass the initilization fail
# Need to use xccl for xpu backend in the future
backend = "gloo"
backend = "xccl"
elif self.device == "hpu":
backend = "hccl"
elif self.device == "cpu":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment