From 5ff1ff5a093a8e8d41ab0e345d4028dfe1a3bfe3 Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Wed, 24 Nov 2021 14:45:54 +0800 Subject: [PATCH] Fix op-benchmark CI (#37487) Fix op-benchmark CI --- tools/ci_op_benchmark.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/ci_op_benchmark.sh b/tools/ci_op_benchmark.sh index 5c05cb82fec..7c20a8671cf 100644 --- a/tools/ci_op_benchmark.sh +++ b/tools/ci_op_benchmark.sh @@ -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 } @@ -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 } -- GitLab