From 574ea12f7c747cb636374f3cb9323823bba4e89c Mon Sep 17 00:00:00 2001 From: tink2123 Date: Mon, 13 Sep 2021 09:24:09 +0000 Subject: [PATCH] fix typo for serving --- tests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.sh b/tests/test.sh index c6e09d2d..e7de53a7 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -321,7 +321,7 @@ function func_serving(){ if [[ ${precision} =~ "fp16" || ${precision} =~ "int8" ]] && [ ${use_trt} = "False" ]; then continue fi - if [[ ${use_trt} = "False" || ${precision} =~ "int8" ]] && [ ${_flag_quant} = "True" ]; then + if [[ ${use_trt} = "False" || ${precision} =~ "int8" ]] && [[ ${_flag_quant} = "True" ]]; then continue fi _save_log_path="${_log_path}/infer_gpu_usetrt_${use_trt}_precision_${precision}_batchsize_1.log" -- GitLab