未验证 提交 c65f0565 编写于 作者: P pangyoki 提交者: GitHub

disable WITH_CUDNN_DSO (#47674)

上级 5a4d2186
...@@ -308,7 +308,7 @@ option(WITH_RPC "Compile with rpc support" ${WITH_DISTRIBUTE}) ...@@ -308,7 +308,7 @@ option(WITH_RPC "Compile with rpc support" ${WITH_DISTRIBUTE})
option(WITH_CUDNN_FRONTEND option(WITH_CUDNN_FRONTEND
"Compile with CUDNN Frontend API support (experimental)" OFF) "Compile with CUDNN Frontend API support (experimental)" OFF)
option(WITH_CUDNN_DSO "Compile PaddlePaddle with cuDNN dynamic-link libraries" option(WITH_CUDNN_DSO "Compile PaddlePaddle with cuDNN dynamic-link libraries"
${WITH_GPU}) OFF)
if(WITH_RECORD_BUILDTIME) if(WITH_RECORD_BUILDTIME)
set_property( set_property(
......
...@@ -197,8 +197,6 @@ function cmake_base() { ...@@ -197,8 +197,6 @@ function cmake_base() {
INFERENCE_DEMO_INSTALL_DIR=${INFERENCE_DEMO_INSTALL_DIR:-/root/.cache/inference_demo} INFERENCE_DEMO_INSTALL_DIR=${INFERENCE_DEMO_INSTALL_DIR:-/root/.cache/inference_demo}
fi fi
WITH_CUDNN_DSO=${WITH_GPU:-OFF}
distibuted_flag=${WITH_DISTRIBUTE:-OFF} distibuted_flag=${WITH_DISTRIBUTE:-OFF}
gloo_flag=${distibuted_flag} gloo_flag=${distibuted_flag}
...@@ -216,7 +214,6 @@ function cmake_base() { ...@@ -216,7 +214,6 @@ function cmake_base() {
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release}
${PYTHON_FLAGS} ${PYTHON_FLAGS}
-DWITH_GPU=${WITH_GPU:-OFF} -DWITH_GPU=${WITH_GPU:-OFF}
-DWITH_CUDNN_DSO=${WITH_CUDNN_DSO:-OFF}
-DWITH_TENSORRT=${WITH_TENSORRT:-ON} -DWITH_TENSORRT=${WITH_TENSORRT:-ON}
-DWITH_ROCM=${WITH_ROCM:-OFF} -DWITH_ROCM=${WITH_ROCM:-OFF}
-DWITH_CINN=${WITH_CINN:-OFF} -DWITH_CINN=${WITH_CINN:-OFF}
...@@ -273,7 +270,6 @@ EOF ...@@ -273,7 +270,6 @@ EOF
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} \ -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release} \
${PYTHON_FLAGS} \ ${PYTHON_FLAGS} \
-DWITH_GPU=${WITH_GPU:-OFF} \ -DWITH_GPU=${WITH_GPU:-OFF} \
-DWITH_CUDNN_DSO=${WITH_CUDNN_DSO:-OFF} \
-DWITH_TENSORRT=${WITH_TENSORRT:-ON} \ -DWITH_TENSORRT=${WITH_TENSORRT:-ON} \
-DWITH_ROCM=${WITH_ROCM:-OFF} \ -DWITH_ROCM=${WITH_ROCM:-OFF} \
-DWITH_CINN=${WITH_CINN:-OFF} \ -DWITH_CINN=${WITH_CINN:-OFF} \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册