未验证 提交 6206b9bc 编写于 作者: P Pei Yang 提交者: GitHub

fix ut:trt_resnext_test, trt_quant_int8_yolov3_r50_test,...

fix ut:trt_resnext_test, trt_quant_int8_yolov3_r50_test, test_trt_dynamic_shape_ernie, test_trt_dynamic_shape_ernie_fp16_ser_deser, trt_cascade_rcnn_test (#29977)
上级 be8b5fd1
......@@ -621,13 +621,13 @@ if(WITH_GPU)
endif()
if(WITH_GPU AND TENSORRT_FOUND)
set_tests_properties(trt_resnext_test PROPERTIES TIMEOUT 120)
set_tests_properties(trt_quant_int8_yolov3_r50_test PROPERTIES TIMEOUT 120)
set_tests_properties(trt_resnext_test PROPERTIES TIMEOUT 150)
set_tests_properties(trt_quant_int8_yolov3_r50_test PROPERTIES TIMEOUT 150)
set_tests_properties(trt_resnet50_test PROPERTIES TIMEOUT 120)
set_tests_properties(trt_cascade_rcnn_test PROPERTIES TIMEOUT 120)
set_tests_properties(test_trt_dynamic_shape_ernie_ser_deser PROPERTIES TIMEOUT 120)
set_tests_properties(test_trt_dynamic_shape_ernie_fp16_ser_deser PROPERTIES TIMEOUT 120)
set_tests_properties(test_trt_dynamic_shape_ernie PROPERTIES TIMEOUT 120)
set_tests_properties(trt_cascade_rcnn_test PROPERTIES TIMEOUT 150)
set_tests_properties(test_trt_dynamic_shape_ernie_ser_deser PROPERTIES TIMEOUT 150)
set_tests_properties(test_trt_dynamic_shape_ernie_fp16_ser_deser PROPERTIES TIMEOUT 150)
set_tests_properties(test_trt_dynamic_shape_ernie PROPERTIES TIMEOUT 150)
endif()
if(WITH_MKLDNN)
......
......@@ -139,7 +139,7 @@ TEST(AnalysisPredictor, no_fp16) {
TEST(AnalysisPredictor, fp16) {
#ifdef TRT_PLUGIN_FP16_AVALIABLE
std::vector<float> result = {0.598, 0.219, 0.182};
trt_ernie(true, result, 3e-3);
trt_ernie(true, result, 4e-3);
#endif
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册