diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index ede4003bd86d251e9d46c2adf54aeea0b06b4842..3dd5754fc4c051622a455333ea252bfe7ffe9746 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -217,6 +217,7 @@ rem ------Build windows inference library------ set ON_INFER=ON set WITH_PYTHON=OFF set CUDA_ARCH_NAME=All +python ${PADDLE_ROOT}/tools/remove_grad_op_and_kernel.py call :cmake || goto cmake_error call :build || goto build_error