Skip to content

Commit c2b9307

Browse files
committed
Revert "Fix when USE_C10D_XCCL define in pytorch will not correct update cache (#1441)"
This reverts commit 56e7dda.
1 parent 6ce0b70 commit c2b9307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ include(${TORCH_XPU_OPS_ROOT}/cmake/ONEMKL.cmake)
4040
include(${TORCH_XPU_OPS_ROOT}/cmake/BuildFlags.cmake)
4141

4242
option(USE_XCCL "Build with XCCL support" OFF)
43-
cmake_dependent_option(USE_C10D_XCCL "USE C10D XCCL" ON "USE_DISTRIBUTED;USE_XCCL" OFF)
43+
option(USE_C10D_XCCL "Build with XCCL support for C10D" ON)
4444

4545
# -- [ Re-generate the macros file for https://github.com/pytorch/pytorch/pull/147161
4646
macro(update_caffe2_macros_file)

0 commit comments

Comments
 (0)