未验证 提交 3c8eeb5d 编写于 作者: A Aurelius84 提交者: GitHub

[Dy2Stat]Open test_resnet_amp on Windows (#35323)

* open test_resnet_amp on Windows

* disable on Windows CPU CI for timeout

* disable on Windows CPU CI for timeout

* fix code style
上级 2b1efc35
......@@ -10,6 +10,10 @@ if(NOT ON_INFER)
set_tests_properties(test_lac PROPERTIES TIMEOUT 120)
endif()
if(WIN32 AND NOT WITH_GPU)
list(REMOVE_ITEM TEST_OPS test_resnet_amp) # disable on Windows CPU CI for timeout
endif()
foreach(TEST_OP ${TEST_OPS})
py_test_modules(${TEST_OP} MODULES ${TEST_OP} ENVS ${GC_ENVS})
endforeach(TEST_OP)
......@@ -32,6 +36,3 @@ if(NOT WIN32)
set_tests_properties(test_tsm PROPERTIES TIMEOUT 900)
#set_tests_properties(test_resnet PROPERTIES TIMEOUT 120)
endif()
#if(WIN32)
# set_tests_properties(test_resnet PROPERTIES TIMEOUT 300)
#endif()
......@@ -96,7 +96,6 @@ disable_wincpu_test="^jit_kernel_test$|\
^test_bmn$|\
^test_mobile_net$|\
^test_resnet_v2$|\
^test_resnet_amp$|\
^test_build_strategy$|\
^test_se_resnet$|\
^disable_wincpu_test$"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册