Skip to content

Commit

Permalink
Del skip (PaddlePaddle#57712)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianshuo78520a authored Sep 26, 2023
1 parent 69d902c commit b1ea34d
Showing 1 changed file with 0 additions and 15 deletions.
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

0 comments on commit b1ea34d

Please sign in to comment.