未验证 提交 20403fe9 编写于 作者: H heliqi 提交者: GitHub

add timeout for matmul_xx_fuse_pass (#38544)

* del mkldnn options of baseline

* add timeout for matmul_scale_fuse_pass

* add timeout for matmul
上级 4643baa7
......@@ -98,14 +98,22 @@ if (WITH_MKLDNN AND TENSORRT_FOUND AND WITH_GPU)
set_tests_properties(test_conv_act_mkldnn_fuse_pass PROPERTIES TIMEOUT 120)
set_tests_properties(test_conv_elementwise_add2_act_fuse_pass PROPERTIES TIMEOUT 120)
set_tests_properties(test_conv_elementwise_add_act_fuse_pass PROPERTIES TIMEOUT 120)
set_tests_properties(test_matmul_scale_fuse_pass PROPERTIES TIMEOUT 60)
set_tests_properties(test_matmul_v2_scale_fuse_pass PROPERTIES TIMEOUT 60)
set_tests_properties(test_flatten2_matmul_fuse_pass PROPERTIES TIMEOUT 240)
set_tests_properties(test_squeeze2_matmul_fuse_pass PROPERTIES TIMEOUT 240)
set_tests_properties(test_reshape2_matmul_fuse_pass PROPERTIES TIMEOUT 240)
set_tests_properties(test_map_matmul_v2_to_matmul_pass PROPERTIES TIMEOUT 240)
set_tests_properties(test_map_matmul_v2_to_mul_pass PROPERTIES TIMEOUT 240)
set_tests_properties(test_map_matmul_to_mul_pass PROPERTIES TIMEOUT 240)
if (WIN32)
set_tests_properties(test_matmul_scale_fuse_pass PROPERTIES TIMEOUT 300)
set_tests_properties(test_matmul_v2_scale_fuse_pass PROPERTIES TIMEOUT 300)
set_tests_properties(test_map_matmul_v2_to_matmul_pass PROPERTIES TIMEOUT 360)
set_tests_properties(test_map_matmul_v2_to_mul_pass PROPERTIES TIMEOUT 360)
set_tests_properties(test_map_matmul_to_mul_pass PROPERTIES TIMEOUT 360)
else ()
set_tests_properties(test_matmul_scale_fuse_pass PROPERTIES TIMEOUT 60)
set_tests_properties(test_matmul_v2_scale_fuse_pass PROPERTIES TIMEOUT 60)
set_tests_properties(test_map_matmul_v2_to_matmul_pass PROPERTIES TIMEOUT 120)
set_tests_properties(test_map_matmul_v2_to_mul_pass PROPERTIES TIMEOUT 120)
set_tests_properties(test_map_matmul_to_mul_pass PROPERTIES TIMEOUT 120)
endif()
endif()
if (WITH_MKLDNN)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册