diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index 3dd5754fc4c051622a455333ea252bfe7ffe9746..aea01887dbfe5216077d7b52ad17ec6b1c6252a5 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -217,7 +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 +python %work_dir%\tools\remove_grad_op_and_kernel.py call :cmake || goto cmake_error call :build || goto build_error