File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ function run_sot_test() {
18
18
PY_VERSION_NO_DOT=$( echo $PY_VERSION | sed ' s/\.//g' )
19
19
20
20
export STRICT_MODE=1
21
- export COST_MODEL=False
22
21
export MIN_GRAPH_SIZE=0
23
22
export SOT_LOG_LEVEL=0
24
23
export FLAGS_cudnn_deterministic=True
@@ -54,7 +53,7 @@ function run_sot_test() {
54
53
echo " skip ${PY_VERSION_NO_DOT} ${file} "
55
54
continue
56
55
fi
57
- echo Running:" STRICT_MODE=1 COST_MODEL=False MIN_GRAPH_SIZE=0 SOT_LOG_LEVEL=0 FLAGS_cudnn_deterministic=True python " $file
56
+ echo Running:" STRICT_MODE=1 MIN_GRAPH_SIZE=0 SOT_LOG_LEVEL=0 FLAGS_cudnn_deterministic=True python " $file
58
57
# run unittests
59
58
python_output=$( $PYTHON_WITH_SPECIFY_VERSION $file 2>&1 )
60
59
Original file line number Diff line number Diff line change @@ -1021,7 +1021,6 @@ function run_sot_test() {
1021
1021
PY_VERSION_NO_DOT=$( echo $PY_VERSION | sed ' s/\.//g' )
1022
1022
1023
1023
export STRICT_MODE=1
1024
- export COST_MODEL=False
1025
1024
export MIN_GRAPH_SIZE=0
1026
1025
export SOT_LOG_LEVEL=0
1027
1026
export FLAGS_cudnn_deterministic=True
@@ -1055,7 +1054,7 @@ function run_sot_test() {
1055
1054
echo " skip ${PY_VERSION_NO_DOT} ${file} "
1056
1055
continue
1057
1056
fi
1058
- echo Running:" STRICT_MODE=1 COST_MODEL=False MIN_GRAPH_SIZE=0 SOT_LOG_LEVEL=0 FLAGS_cudnn_deterministic=True python " $file
1057
+ echo Running:" STRICT_MODE=1 MIN_GRAPH_SIZE=0 SOT_LOG_LEVEL=0 FLAGS_cudnn_deterministic=True python " $file
1059
1058
# run unittests
1060
1059
python_output=$( $PYTHON_WITH_SPECIFY_VERSION $file 2>&1 )
1061
1060
Original file line number Diff line number Diff line change 3
3
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR} "
4
4
"test_*.py" )
5
5
string (REPLACE ".py" "" TEST_OPS "${TEST_OPS} " )
6
- set (SOT_ENVS SOT_LOG_LEVEL=0 COST_MODEL=False MIN_GRAPH_SIZE=0
7
- STRICT_MODE=False )
6
+ set (SOT_ENVS SOT_LOG_LEVEL=0 MIN_GRAPH_SIZE=0 STRICT_MODE=False )
8
7
9
8
if (WIN32 AND NOT WITH_GPU )
10
9
# disable on Windows CPU CI for timeout
Original file line number Diff line number Diff line change 3
3
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR} "
4
4
"test_*.py" )
5
5
string (REPLACE ".py" "" TEST_OPS "${TEST_OPS} " )
6
- set (SOT_ENVS SOT_LOG_LEVEL=0 COST_MODEL=False MIN_GRAPH_SIZE=0 STRICT_MODE=True
6
+ set (SOT_ENVS SOT_LOG_LEVEL=0 MIN_GRAPH_SIZE=0 STRICT_MODE=True
7
7
FLAGS_cudnn_deterministic=True )
8
8
9
9
foreach (TEST_OP ${TEST_OPS} )
You can’t perform that action at this time.
0 commit comments