Skip to content

Commit

Permalink
set with_mpi default False. (#46400)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhuachaocoding authored Oct 13, 2022
1 parent f0afcab commit b971ec5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ find_package(CUDA QUIET)
find_package(MKL CONFIG QUIET)
option(WITH_ONEMKL "Compile PaddlePaddle with oneMKL" OFF)
option(WITH_GPU "Compile PaddlePaddle with NVIDIA GPU" ${CUDA_FOUND})
option(WITH_MPI "Compile PaddlePaddle with MPI" OFF)
option(WITH_TENSORRT "Compile PaddlePaddle with NVIDIA TensorRT" OFF)
option(WITH_XPU "Compile PaddlePaddle with BAIDU KUNLUN XPU" OFF)
option(WITH_XPU_KP "Compile PaddlePaddle with BAIDU XPU compiler " OFF)
Expand Down Expand Up @@ -485,9 +486,6 @@ if(WITH_DISTRIBUTE)
ON
CACHE STRING "Enable GLOO when compiling WITH_DISTRIBUTE=ON." FORCE)
endif()
set(WITH_MPI
ON
CACHE STRING "Enable MPI when compiling WITH_DISTRIBUTE=ON." FORCE)
if(WITH_ASCEND_CL AND NOT WITH_ARM_BRPC)
# disable WITH_PSCORE for NPU before include third_party
message(
Expand Down

0 comments on commit b971ec5

Please sign in to comment.