From c65f0565f7172c22425367fc461ed3e9eb2bf527 Mon Sep 17 00:00:00 2001 From: pangyoki Date: Mon, 7 Nov 2022 15:19:13 +0800 Subject: [PATCH] disable WITH_CUDNN_DSO (#47674) --- CMakeLists.txt | 2 +- paddle/scripts/paddle_build.sh | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bd35fcb26a..f89b571c64 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 ea49bbd581..2048c18b22 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} \ -- GitLab