From e0e7cdb1f2ddde3bcb12a6c20d0e1f08d13b4f46 Mon Sep 17 00:00:00 2001 From: tink2123 Date: Thu, 2 Sep 2021 07:22:21 +0000 Subject: [PATCH] fix typo --- tests/test.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/test.sh b/tests/test.sh index 1a19c379..0aad08e2 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -270,7 +270,6 @@ function func_inference(){ fi done } - function func_serving(){ IFS='|' _python=$1 @@ -339,6 +338,14 @@ function func_serving(){ kill $PID sleep 2s ps ux | grep -E 'web_service|pipeline' | awk '{print $2}' | xargs kill -s 9 + done + done + else + echo "Does not support hardware other than CPU and GPU Currently!" + fi + done +} + function func_cpp_inference(){ IFS='|' _script=$1 @@ -582,5 +589,3 @@ else done # done with: for autocast in ${autocast_list[*]}; do done # done with: for gpu in ${gpu_list[*]}; do fi # end if [ ${MODE} = "infer" ]; then - - -- GitLab