Skip to content

Commit

Permalink
Fix op-benchmark CI (PaddlePaddle#37487)
Browse files Browse the repository at this point in the history
Fix op-benchmark CI
  • Loading branch information
tianshuo78520a authored Nov 24, 2021
1 parent db72755 commit 5ff1ff5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/ci_op_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ function load_CHANGE_OP_FILES {
fi
done
[ ${#CHANGE_OP_FILES[@]} -eq 0 ] && LOG "[INFO] No op to test, skip this ci." && \
echo "cpu_benchmark=ON" >${cfs_dir}/op_benchmark/${AGILE_PULL_ID}/${AGILE_REVISION}/pass.txt && \
exit 0
}

Expand Down Expand Up @@ -244,7 +243,7 @@ function check_CHANGE_OP_MAP {
if [ $exit_code -ne 0 ]; then
LOG "[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details."
LOG "[INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR."
exit $exit_code
exit ${exit_code}
fi
}

Expand Down

0 comments on commit 5ff1ff5

Please sign in to comment.