-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Update paddle_build.bat #33800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update paddle_build.bat #33800
Conversation
|
Thanks for your contribution! |
| set ON_INFER=ON | ||
| set WITH_PYTHON=OFF | ||
| set CUDA_ARCH_NAME=All | ||
| python %work_dir%\tools\remove_grad_op_and_kernel.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下面加一行 if %errorlevel% NEQ 0 exit /b 1 吧,确保这行是正确的执行了,不然脚本有错不会退出
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, thx
增加裁剪op脚本的状态判断
| if %errorlevel% NEQ 0 exit /b 1 | ||
|
|
||
| call :cmake || goto cmake_error | ||
| call :build || goto build_error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
要不在build这行后面加一个 call :test_inference || goto test_inference_error 吧,会做一个demo_ci的预测库检查
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, thx
add inference demo test after build finish
zhwesky2010
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,关注明天预测库夜间编包是否成功
…e lib (PaddlePaddle#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
) * 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 * Update paddle_build.sh for remove op grad when compile c++ inference lib (#33798) * fix zip inference library bug (#34025) Co-authored-by: Zhou Wei <[email protected]>
PR types
Others
PR changes
Others
Describe
update paddle_build.bat for remove op grad