diff --git a/.github/workflows/_linux_build.yml b/.github/workflows/_linux_build.yml index 91f0ae0ac..c98c85dda 100644 --- a/.github/workflows/_linux_build.yml +++ b/.github/workflows/_linux_build.yml @@ -88,6 +88,7 @@ jobs: run: | source activate xpu_build source .github/scripts/env.sh ${{ inputs.pytorch }} + export USE_XCCL=1 pip install mkl-static==2025.0.1 mkl-include==2025.0.1 if [[ ${{ inputs.abi }} == '0' ]]; then export _GLIBCXX_USE_CXX11_ABI=0 diff --git a/CMakeLists.txt b/CMakeLists.txt index dfd16f0f3..d58ee34ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ include(${TORCH_XPU_OPS_ROOT}/cmake/SYCL.cmake) include(${TORCH_XPU_OPS_ROOT}/cmake/ONEMKL.cmake) include(${TORCH_XPU_OPS_ROOT}/cmake/BuildFlags.cmake) -option(USE_XCCL "Build with XCCL support" ON) +option(USE_XCCL "Build with XCCL support" OFF) if(NOT WIN32 AND USE_XCCL) include(${TORCH_XPU_OPS_ROOT}/cmake/XCCL.cmake)