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

Fix op-benchmark cpu/gpu; test=document_fix (#35027)

上级 ef024c89
......@@ -262,6 +262,11 @@ function check_CHANGE_OP_MAP {
LOG "[ERROR] Missing test script of \"${op_name}\"(${CHANGE_OP_MAP[$op_name]}) in benchmark."
fi
done
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
fi
}
# diff benchmakr result and miss op
......@@ -274,11 +279,6 @@ function summary_problems {
exit_code=$?
fi
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
fi
}
......@@ -288,8 +288,8 @@ function cpu_op_benchmark {
prepare_benchmark_environment
load_CHANGE_OP_MAP
load_BENCHMARK_OP_MAP
build_whl
check_CHANGE_OP_MAP
build_whl
LOG "[INFO] Op benchmark run success and no error!"
exit 0
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册