File tree Expand file tree Collapse file tree 8 files changed +41
-32
lines changed Expand file tree Collapse file tree 8 files changed +41
-32
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ parameters:
4545 - ssd_mobilenet_v1_ckpt
4646 # - ssd_resnet50_v1_ckpt
4747 - inception_v1
48- - resnet50_fashion
48+ # - resnet50_fashion
4949 - darknet19
5050 - densenet-121
5151 - resnet-101
Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -x
32python -c " import neural_compressor as nc;print(nc.version.__version__)"
43echo " run basic adaptor"
54
@@ -23,11 +22,13 @@ ut_log_name=${LOG_DIR}/ut_tf_${tensorflow_version}_pt_${pytorch_version}.log
2322
2423echo " cat run.sh..."
2524cat run.sh | tee ${ut_log_name}
26- echo " -------------"
25+ echo " ------UT start -------"
2726bash run.sh 2>&1 | tee -a ${ut_log_name}
2827cp .coverage ${LOG_DIR} /.coverage.adaptor
29- echo " list all in ${LOG_DIR} "
30- ls -a ${LOG_DIR}
28+ echo " ------UT end ------- "
29+
3130if [ $( grep -c " FAILED" ${ut_log_name} ) != 0 ] || [ $( grep -c " OK" ${ut_log_name} ) == 0 ]; then
31+ echo " Find errors in UT test, please check the output..."
3232 exit 1
33- fi
33+ fi
34+ echo " UT finished successfully! "
Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -x
32python -c " import neural_compressor as nc;print(nc.version.__version__)"
43echo " run basic adaptor tfnewapi"
54
@@ -19,11 +18,13 @@ ut_log_name=${LOG_DIR}/ut_tf_newapi.log
1918
2019echo " cat run.sh..."
2120cat run.sh | tee ${ut_log_name}
22- echo " -------------"
21+ echo " ------UT start -------"
2322bash run.sh 2>&1 | tee -a ${ut_log_name}
2423cp .coverage ${LOG_DIR} /.coverage.tfnewapi
25- echo " list all in ${LOG_DIR} "
26- ls -a ${LOG_DIR}
24+ echo " ------UT end ------- "
25+
2726if [ $( grep -c " FAILED" ${ut_log_name} ) != 0 ] || [ $( grep -c " OK" ${ut_log_name} ) == 0 ]; then
27+ echo " Find errors in UT test, please check the output..."
2828 exit 1
29- fi
29+ fi
30+ echo " UT finished successfully! "
Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -x
32python -c " import neural_compressor as nc;print(nc.version.__version__)"
43echo " run basic ipex"
54
@@ -20,11 +19,13 @@ ut_log_name=${LOG_DIR}/ut_ipex.log
2019
2120echo " cat run.sh..."
2221cat run.sh | tee ${ut_log_name}
23- echo " -------------"
22+ echo " ------UT start -------"
2423bash run.sh 2>&1 | tee -a ${ut_log_name}
2524cp .coverage ${LOG_DIR} /.coverage.ipex
26- echo " list all in ${LOG_DIR} "
27- ls -a ${LOG_DIR}
25+ echo " ------UT end ------- "
26+
2827if [ $( grep -c " FAILED" ${ut_log_name} ) != 0 ] || [ $( grep -c " OK" ${ut_log_name} ) == 0 ]; then
28+ echo " Find errors in UT test, please check the output..."
2929 exit 1
30- fi
30+ fi
31+ echo " UT finished successfully! "
Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -x
32python -c " import neural_compressor as nc;print(nc.version.__version__)"
43echo " run basic itex"
54
@@ -19,11 +18,13 @@ ut_log_name=${LOG_DIR}/ut_itex.log
1918
2019echo " cat run.sh..."
2120cat run.sh | tee ${ut_log_name}
22- echo " -------------"
21+ echo " ------UT start -------"
2322bash run.sh 2>&1 | tee -a ${ut_log_name}
2423cp .coverage ${LOG_DIR} /.coverage.itex
25- echo " list all in ${LOG_DIR} "
26- ls -a ${LOG_DIR}
24+ echo " ------UT end ------- "
25+
2726if [ $( grep -c " FAILED" ${ut_log_name} ) != 0 ] || [ $( grep -c " OK" ${ut_log_name} ) == 0 ]; then
27+ echo " Find errors in UT test, please check the output..."
2828 exit 1
29- fi
29+ fi
30+ echo " UT finished successfully! "
Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -x
32python -c " import neural_compressor as nc;print(nc.version.__version__)"
43echo " run basic others"
54
@@ -29,11 +28,13 @@ ut_log_name=${LOG_DIR}/ut_tf_${tensorflow_version}_pt_${pytorch_version}.log
2928
3029echo " cat run.sh..."
3130cat run.sh | tee ${ut_log_name}
32- echo " -------------"
31+ echo " ------UT start -------"
3332bash run.sh 2>&1 | tee -a ${ut_log_name}
3433cp .coverage ${LOG_DIR} /.coverage.others
35- echo " list all in ${LOG_DIR} "
36- ls -a ${LOG_DIR}
34+ echo " ------UT end ------- "
35+
3736if [ $( grep -c " FAILED" ${ut_log_name} ) != 0 ] || [ $( grep -c " OK" ${ut_log_name} ) == 0 ]; then
37+ echo " Find errors in UT test, please check the output..."
3838 exit 1
39- fi
39+ fi
40+ echo " UT finished successfully! "
Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -x
32python -c " import neural_compressor as nc;print(nc.version.__version__)"
43echo " run coder"
54
@@ -15,9 +14,12 @@ ut_log_name=${LOG_DIR}/ut_neural_coder.log
1514
1615echo " cat run.sh..."
1716cat run.sh | tee ${ut_log_name}
18- echo " -------------"
17+ echo " ------UT start -------"
1918bash run.sh 2>&1 | tee -a ${ut_log_name}
19+ echo " ------UT end -------"
2020
2121if [ $( grep -c " FAILED" ${ut_log_name} ) != 0 ] || [ $( grep -c " OK" ${ut_log_name} ) == 0 ]; then
22+ echo " Find errors in UT test, please check the output..."
2223 exit 1
23- fi
24+ fi
25+ echo " UT finished successfully! "
Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -x
32python -c " import neural_compressor as nc;print(nc.version.__version__)"
43echo " run ux"
54
@@ -21,9 +20,12 @@ ut_log_name=${LOG_DIR}/ut_tf_${tensorflow_version}_pt_${pytorch_version}.log
2120
2221echo " cat run.sh..."
2322cat run.sh | tee ${ut_log_name}
24- echo " -------------"
23+ echo " ------UT start -------"
2524bash run.sh 2>&1 | tee -a ${ut_log_name}
25+ echo " ------UT end -------"
2626
2727if [ $( grep -c " FAILED" ${ut_log_name} ) != 0 ] || [ $( grep -c " OK" ${ut_log_name} ) == 0 ]; then
28+ echo " Find errors in UT test, please check the output..."
2829 exit 1
29- fi
30+ fi
31+ echo " UT finished successfully! "
You can’t perform that action at this time.
0 commit comments