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)
259
259
cmake_dependent_option (USE_MPS "Use MPS for macOS build" ON "MPS_FOUND" OFF )
260
260
cmake_dependent_option (USE_NCCL "Use NCCL" ON
261
261
"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
263
263
"USE_XPU;UNIX;NOT APPLE" OFF )
264
264
cmake_dependent_option (USE_RCCL "Use RCCL" ON USE_NCCL OFF )
265
265
cmake_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(
340
340
341
341
if devices is not None :
342
342
for device in devices :
343
- if device != "cpu" and device != "cuda" :
343
+ if device != "cpu" and device != "cuda" and device != "xpu" :
344
344
Backend .default_device_backend_map [device ] = name .lower ()
345
345
Backend .backend_type_map [name .lower ()] = ProcessGroup .BackendType .CUSTOM
346
346
You can’t perform that action at this time.
0 commit comments