未验证 提交 1cfa1057 编写于 作者: P Peihan 提交者: GitHub

Update paddle_build.bat to remove op grad when build windows inference lib (#33800)

1. check status of remove op grad shell scripts
2. Update paddle_build.bat to remove op grad when build windows inference lib
3. add inference demo test after build finish
上级 c6617839
......@@ -217,9 +217,12 @@ rem ------Build windows inference library------
set ON_INFER=ON
set WITH_PYTHON=OFF
set CUDA_ARCH_NAME=All
python %work_dir%\tools\remove_grad_op_and_kernel.py
if %errorlevel% NEQ 0 exit /b 1
call :cmake || goto cmake_error
call :build || goto build_error
call :test_inference || goto test_inference_error
call :zip_cc_file || goto zip_cc_file_error
call :zip_c_file || goto zip_c_file_error
goto:success
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册