提交 e0e7cdb1 编写于 作者: T tink2123

fix typo

上级 8bff0852
...@@ -270,7 +270,6 @@ function func_inference(){ ...@@ -270,7 +270,6 @@ function func_inference(){
fi fi
done done
} }
function func_serving(){ function func_serving(){
IFS='|' IFS='|'
_python=$1 _python=$1
...@@ -339,6 +338,14 @@ function func_serving(){ ...@@ -339,6 +338,14 @@ function func_serving(){
kill $PID kill $PID
sleep 2s sleep 2s
ps ux | grep -E 'web_service|pipeline' | awk '{print $2}' | xargs kill -s 9 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(){ function func_cpp_inference(){
IFS='|' IFS='|'
_script=$1 _script=$1
...@@ -582,5 +589,3 @@ else ...@@ -582,5 +589,3 @@ else
done # done with: for autocast in ${autocast_list[*]}; do done # done with: for autocast in ${autocast_list[*]}; do
done # done with: for gpu in ${gpu_list[*]}; do done # done with: for gpu in ${gpu_list[*]}; do
fi # end if [ ${MODE} = "infer" ]; then fi # end if [ ${MODE} = "infer" ]; then
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册