diff --git a/python/paddle/fluid/tests/unittests/ir/inference/CMakeLists.txt b/python/paddle/fluid/tests/unittests/ir/inference/CMakeLists.txt index 35ece8ffbf3910f964dea47de48d3b067ab561fe..21750232f88ee7a367df65e65d4a03b7d43937ab 100755 --- a/python/paddle/fluid/tests/unittests/ir/inference/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/ir/inference/CMakeLists.txt @@ -117,7 +117,8 @@ endif() if(WITH_GPU AND TENSORRT_FOUND) set_tests_properties(test_trt_subgraph_pass PROPERTIES TIMEOUT 120) - set_tests_properties(test_trt_activation_pass PROPERTIES TIMEOUT 120) + # longer timeout for trt_activation_pass for longer trt optimization time in trt 8 + set_tests_properties(test_trt_activation_pass PROPERTIES TIMEOUT 250) set_tests_properties(test_trt_conv_pass PROPERTIES TIMEOUT 120) #set_tests_properties(test_trt_multiclass_nms_op PROPERTIES TIMEOUT 200) set_tests_properties(test_trt_dynamic_shape PROPERTIES TIMEOUT 120)