未验证 提交 5ff1ff5a 编写于 作者: T tianshuo78520a 提交者: GitHub

Fix op-benchmark CI (#37487)

Fix op-benchmark CI
上级 db727551
...@@ -92,7 +92,6 @@ function load_CHANGE_OP_FILES { ...@@ -92,7 +92,6 @@ function load_CHANGE_OP_FILES {
fi fi
done done
[ ${#CHANGE_OP_FILES[@]} -eq 0 ] && LOG "[INFO] No op to test, skip this ci." && \ [ ${#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 exit 0
} }
...@@ -244,7 +243,7 @@ function check_CHANGE_OP_MAP { ...@@ -244,7 +243,7 @@ function check_CHANGE_OP_MAP {
if [ $exit_code -ne 0 ]; then if [ $exit_code -ne 0 ]; then
LOG "[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details." 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." 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 fi
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册