change bash to source in prepare.sh, make 'SERVING_BIN' effective in global context
parent
3569d12656
commit
ed69e5bc13
|
@ -1,30 +1,30 @@
|
|||
# Linux GPU/CPU PYTHON 服务化部署测试
|
||||
# Linux GPU/CPU C++ 服务化部署测试
|
||||
|
||||
Linux GPU/CPU PYTHON 服务化部署测试的主程序为`test_serving_infer_cpp.sh`,可以测试基于Python的模型服务化部署功能。
|
||||
Linux GPU/CPU C++ 服务化部署测试的主程序为`test_serving_infer_cpp.sh`,可以测试基于C++的模型服务化部署功能。
|
||||
|
||||
|
||||
## 1. 测试结论汇总
|
||||
|
||||
- 推理相关:
|
||||
|
||||
| 算法名称 | 模型名称 | device_CPU | device_GPU |
|
||||
| :----: | :----: | :----: | :----: |
|
||||
| MobileNetV3 | MobileNetV3_large_x1_0 | 支持 | 支持 |
|
||||
| PP-ShiTu | PPShiTu_general_rec、PPShiTu_mainbody_det | 支持 | 支持 |
|
||||
| PPHGNet | PPHGNet_small | 支持 | 支持 |
|
||||
| PPHGNet | PPHGNet_tiny | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_25 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_35 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_5 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_75 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x1_0 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x1_5 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x2_0 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x2_5 | 支持 | 支持 |
|
||||
| PPLCNetV2 | PPLCNetV2_base | 支持 | 支持 |
|
||||
| ResNet | ResNet50 | 支持 | 支持 |
|
||||
| ResNet | ResNet50_vd | 支持 | 支持 |
|
||||
| SwinTransformer | SwinTransformer_tiny_patch4_window7_224 | 支持 | 支持 |
|
||||
| 算法名称 | 模型名称 | device_CPU | device_GPU |
|
||||
| :-------------: | :---------------------------------------: | :--------: | :--------: |
|
||||
| MobileNetV3 | MobileNetV3_large_x1_0 | 支持 | 支持 |
|
||||
| PP-ShiTu | PPShiTu_general_rec、PPShiTu_mainbody_det | 支持 | 支持 |
|
||||
| PPHGNet | PPHGNet_small | 支持 | 支持 |
|
||||
| PPHGNet | PPHGNet_tiny | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_25 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_35 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_5 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_75 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x1_0 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x1_5 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x2_0 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x2_5 | 支持 | 支持 |
|
||||
| PPLCNetV2 | PPLCNetV2_base | 支持 | 支持 |
|
||||
| ResNet | ResNet50 | 支持 | 支持 |
|
||||
| ResNet | ResNet50_vd | 支持 | 支持 |
|
||||
| SwinTransformer | SwinTransformer_tiny_patch4_window7_224 | 支持 | 支持 |
|
||||
|
||||
|
||||
## 2. 测试流程
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
# Linux GPU/CPU PYTHON 服务化部署测试
|
||||
|
||||
Linux GPU/CPU PYTHON 服务化部署测试的主程序为`test_serving_infer_python.sh`,可以测试基于Python的模型服务化部署功能。
|
||||
Linux GPU/CPU PYTHON 服务化部署测试的主程序为`test_serving_infer_python.sh`,可以测试基于Python的模型服务化部署功能。
|
||||
|
||||
|
||||
## 1. 测试结论汇总
|
||||
|
||||
- 推理相关:
|
||||
|
||||
| 算法名称 | 模型名称 | device_CPU | device_GPU |
|
||||
| :----: | :----: | :----: | :----: |
|
||||
| MobileNetV3 | MobileNetV3_large_x1_0 | 支持 | 支持 |
|
||||
| PP-ShiTu | PPShiTu_general_rec、PPShiTu_mainbody_det | 支持 | 支持 |
|
||||
| PPHGNet | PPHGNet_small | 支持 | 支持 |
|
||||
| PPHGNet | PPHGNet_tiny | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_25 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_35 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_5 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_75 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x1_0 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x1_5 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x2_0 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x2_5 | 支持 | 支持 |
|
||||
| PPLCNetV2 | PPLCNetV2_base | 支持 | 支持 |
|
||||
| ResNet | ResNet50 | 支持 | 支持 |
|
||||
| ResNet | ResNet50_vd | 支持 | 支持 |
|
||||
| SwinTransformer | SwinTransformer_tiny_patch4_window7_224 | 支持 | 支持 |
|
||||
| 算法名称 | 模型名称 | device_CPU | device_GPU |
|
||||
| :-------------: | :---------------------------------------: | :--------: | :--------: |
|
||||
| MobileNetV3 | MobileNetV3_large_x1_0 | 支持 | 支持 |
|
||||
| PP-ShiTu | PPShiTu_general_rec、PPShiTu_mainbody_det | 支持 | 支持 |
|
||||
| PPHGNet | PPHGNet_small | 支持 | 支持 |
|
||||
| PPHGNet | PPHGNet_tiny | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_25 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_35 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_5 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x0_75 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x1_0 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x1_5 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x2_0 | 支持 | 支持 |
|
||||
| PPLCNet | PPLCNet_x2_5 | 支持 | 支持 |
|
||||
| PPLCNetV2 | PPLCNetV2_base | 支持 | 支持 |
|
||||
| ResNet | ResNet50 | 支持 | 支持 |
|
||||
| ResNet | ResNet50_vd | 支持 | 支持 |
|
||||
| SwinTransformer | SwinTransformer_tiny_patch4_window7_224 | 支持 | 支持 |
|
||||
|
||||
|
||||
## 2. 测试流程
|
||||
|
|
|
@ -205,7 +205,7 @@ if [[ ${MODE} = "serving_infer" ]]; then
|
|||
python_name=$(func_parser_value "${lines[2]}")
|
||||
if [[ ${FILENAME} =~ "cpp" ]]; then
|
||||
pushd ./deploy/paddleserving
|
||||
bash build_server.sh ${python_name}
|
||||
source build_server.sh ${python_name}
|
||||
popd
|
||||
else
|
||||
${python_name} -m pip install install paddle-serving-server-gpu==0.9.0.post101 -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
|
|
Loading…
Reference in New Issue