未验证 提交 4204b97a 编写于 作者: P pangyoki 提交者: GitHub

change tests_v2 to dynamic_tests_v2 in CI op benchmark (#39995)

上级 a7acfc5b
......@@ -106,7 +106,7 @@ function prepare_benchmark_environment {
[ $? -ne 0 ] && LOG "[FATAL] Clone benchmark repo fail." && exit -1
LOG "[INFO] Collect api info ..."
python benchmark/api/deploy/collect_api_info.py \
--test_module_name tests_v2 \
--test_module_name dynamic_tests_v2 \
--info_file api_info.txt >& 2
[ $? -ne 0 ] && LOG "[FATAL] Collect api info fail." && exit -1
[ ! -f benchmark/ci/scripts/op_benchmark.config ] && LOG "[FATAL] Missing op_benchmark.config!" && exit -1
......@@ -185,7 +185,7 @@ function run_op_benchmark_test {
logs_dir="$(pwd)/logs-${branch_name}"
[ -d $logs_dir ] && rm -rf $logs_dir/* || mkdir -p $logs_dir
pushd benchmark/api > /dev/null
bash deploy/main_control.sh tests_v2 \
bash deploy/main_control.sh dynamic_tests_v2 \
tests_v2/configs \
$logs_dir \
$VISIBLE_DEVICES \
......@@ -212,7 +212,7 @@ function check_op_benchmark_result {
# there is no need to recompile and install paddle
LOG "[INFO] retry ${retry_time} times ..."
pushd benchmark/api > /dev/null
bash deploy/main_control.sh tests_v2 \
bash deploy/main_control.sh dynamic_tests_v2 \
tests_v2/configs \
${logs_dir} \
$VISIBLE_DEVICES \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册