File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ option(USE_NATIVE_ARCH "Use -march=native" OFF)
259259cmake_dependent_option(USE_MPS "Use MPS for macOS build" ON "MPS_FOUND" OFF )
260260cmake_dependent_option(USE_NCCL "Use NCCL" ON
261261 "USE_CUDA OR USE_ROCM;UNIX;NOT APPLE" OFF )
262- cmake_dependent_option(USE_XCCL "Use XCCL" OFF
262+ cmake_dependent_option(USE_XCCL "Use XCCL" ON
263263 "USE_XPU;UNIX;NOT APPLE" OFF )
264264cmake_dependent_option(USE_RCCL "Use RCCL" ON USE_NCCL OFF )
265265cmake_dependent_option(USE_STATIC_NCCL "Use static NCCL" OFF "USE_NCCL" OFF )
Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ def register_backend(
340340
341341 if devices is not None :
342342 for device in devices :
343- if device != "cpu" and device != "cuda" :
343+ if device != "cpu" and device != "cuda" and device != "xpu" :
344344 Backend .default_device_backend_map [device ] = name .lower ()
345345 Backend .backend_type_map [name .lower ()] = ProcessGroup .BackendType .CUSTOM
346346
You can’t perform that action at this time.
0 commit comments