[XCCL] Use xccl for xpu backend since xccl is ready in latest PyTorch. (#3954)
This commit is contained in:
@@ -263,9 +263,7 @@ class ModelRunner:
|
|||||||
if self.device == "cuda":
|
if self.device == "cuda":
|
||||||
backend = "nccl"
|
backend = "nccl"
|
||||||
elif self.device == "xpu":
|
elif self.device == "xpu":
|
||||||
# TODO(liangan1): Just use gloo to bypass the initilization fail
|
backend = "xccl"
|
||||||
# Need to use xccl for xpu backend in the future
|
|
||||||
backend = "gloo"
|
|
||||||
elif self.device == "hpu":
|
elif self.device == "hpu":
|
||||||
backend = "hccl"
|
backend = "hccl"
|
||||||
elif self.device == "cpu":
|
elif self.device == "cpu":
|
||||||
|
|||||||
Reference in New Issue
Block a user