diff --git a/CMakeLists.txt b/CMakeLists.txt index bd35fcb26a60ab0c0e5b6f54e562299501b9ea34..f89b571c64030763f21eaafc195f50078f9507e2 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -308,7 +308,7 @@ option(WITH_RPC "Compile with rpc support" ${WITH_DISTRIBUTE}) option(WITH_CUDNN_FRONTEND "Compile with CUDNN Frontend API support (experimental)" OFF) option(WITH_CUDNN_DSO "Compile PaddlePaddle with cuDNN dynamic-link libraries" - ${WITH_GPU}) + OFF) if(WITH_RECORD_BUILDTIME) set_property( diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index ea49bbd5810ad50c14f515b740fb5e09fccdd8d3..2048c18b22663b5f4573ec5fc78269896e72f087 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -197,8 +197,6 @@ function cmake_base() { INFERENCE_DEMO_INSTALL_DIR=${INFERENCE_DEMO_INSTALL_DIR:-/root/.cache/inference_demo} fi - WITH_CUDNN_DSO=${WITH_GPU:-OFF} - distibuted_flag=${WITH_DISTRIBUTE:-OFF} gloo_flag=${distibuted_flag} @@ -216,7 +214,6 @@ function cmake_base() { -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} ${PYTHON_FLAGS} -DWITH_GPU=${WITH_GPU:-OFF} - -DWITH_CUDNN_DSO=${WITH_CUDNN_DSO:-OFF} -DWITH_TENSORRT=${WITH_TENSORRT:-ON} -DWITH_ROCM=${WITH_ROCM:-OFF} -DWITH_CINN=${WITH_CINN:-OFF} @@ -273,7 +270,6 @@ EOF -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} \ ${PYTHON_FLAGS} \ -DWITH_GPU=${WITH_GPU:-OFF} \ - -DWITH_CUDNN_DSO=${WITH_CUDNN_DSO:-OFF} \ -DWITH_TENSORRT=${WITH_TENSORRT:-ON} \ -DWITH_ROCM=${WITH_ROCM:-OFF} \ -DWITH_CINN=${WITH_CINN:-OFF} \