Skip to content
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

Del model-benchmark ci skip #57712

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions tools/ci_model_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,6 @@ function check_whl {
pip uninstall -y paddlepaddle_gpu
pip install build/pr_whl/*.whl
[ $? -ne 0 ] && echo "install paddle failed." && exit 1

unzip -q build/pr_whl/*.whl -d /tmp/pr
unzip -q build/dev_whl/*.whl -d /tmp/develop

sed -i '/version.py/d' /tmp/pr/*/RECORD
sed -i '/version.py/d' /tmp/develop/*/RECORD
diff_whl=`diff /tmp/pr/*/RECORD /tmp/develop/*/RECORD|wc -l`
[ $? -ne 0 ] && echo "diff paddle whl failed." && exit 1
if [ ${diff_whl} -eq 0 ];then
echo "paddle whl does not diff in PR-CI-Model-benchmark, so skip this ci"
echo "ipipe_log_param_isSkipTest_model_benchmark: 1"
exit 0
else
echo "ipipe_log_param_isSkipTest_model_benchmark: 0"
fi
}


Expand Down