Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
337e448b
S
Serving
项目概览
PaddlePaddle
/
Serving
大约 1 年 前同步成功
通知
186
Star
833
Fork
253
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
105
列表
看板
标记
里程碑
合并请求
10
Wiki
2
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Serving
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
105
Issue
105
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
2
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
337e448b
编写于
2月 22, 2022
作者:
T
TeslaZhao
提交者:
GitHub
2月 22, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1649 from TeslaZhao/develop
Update doc
上级
ad3e820d
aff56c53
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
7 addition
and
38 deletion
+7
-38
README.md
README.md
+1
-1
README_CN.md
README_CN.md
+1
-0
doc/Quick_Start_CN.md
doc/Quick_Start_CN.md
+2
-19
doc/Quick_Start_EN.md
doc/Quick_Start_EN.md
+2
-17
doc/Serving_Configure_CN.md
doc/Serving_Configure_CN.md
+1
-1
未找到文件。
README.md
浏览文件 @
337e448b
...
@@ -62,7 +62,6 @@ This chapter guides you through the installation and deployment steps. It is str
...
@@ -62,7 +62,6 @@ This chapter guides you through the installation and deployment steps. It is str
-
[
Deploy Paddle Serving on Kubernetes(Chinese)
](
doc/Run_On_Kubernetes_CN.md
)
-
[
Deploy Paddle Serving on Kubernetes(Chinese)
](
doc/Run_On_Kubernetes_CN.md
)
-
[
Deploy Paddle Serving with Security gateway(Chinese)
](
doc/Serving_Auth_Docker_CN.md
)
-
[
Deploy Paddle Serving with Security gateway(Chinese)
](
doc/Serving_Auth_Docker_CN.md
)
-
Deploy on more hardwares
[
[百度昆仑
](
doc/Run_On_XPU_CN.md
)
、
[
华为昇腾
](
doc/Run_On_NPU_CN.md
)
、
[
海光DCU
](
doc/Run_On_DCU_CN.md
)
、
[
Jetson
](
doc/Run_On_JETSON_CN.md
)
]
-
Deploy on more hardwares
[
[百度昆仑
](
doc/Run_On_XPU_CN.md
)
、
[
华为昇腾
](
doc/Run_On_NPU_CN.md
)
、
[
海光DCU
](
doc/Run_On_DCU_CN.md
)
、
[
Jetson
](
doc/Run_On_JETSON_CN.md
)
]
-
[
Docker镜像
](
doc/Docker_Images_CN.md
)
-
[
Docker Images
](
doc/Docker_Images_EN.md
)
-
[
Docker Images
](
doc/Docker_Images_EN.md
)
-
[
Latest Wheel packages
](
doc/Latest_Packages_CN.md
)
-
[
Latest Wheel packages
](
doc/Latest_Packages_CN.md
)
...
@@ -86,6 +85,7 @@ The first step is to call the model save interface to generate a model parameter
...
@@ -86,6 +85,7 @@ The first step is to call the model save interface to generate a model parameter
-
[
Multiple models in series(Chinese)
](
doc/C++_Serving/2+_model.md
)
-
[
Multiple models in series(Chinese)
](
doc/C++_Serving/2+_model.md
)
-
[
Python Pipeline
](
doc/Python_Pipeline/Pipeline_Design_EN.md
)
-
[
Python Pipeline
](
doc/Python_Pipeline/Pipeline_Design_EN.md
)
-
[
Analyze and optimize performance
](
doc/Python_Pipeline/Performance_Tuning_EN.md
)
-
[
Analyze and optimize performance
](
doc/Python_Pipeline/Performance_Tuning_EN.md
)
-
[
TensorRT dynamic Shape
](
doc/TensorRT_Dynamic_Shape_EN.md
)
-
[
Benchmark(Chinese)
](
doc/Python_Pipeline/Benchmark_CN.md
)
-
[
Benchmark(Chinese)
](
doc/Python_Pipeline/Benchmark_CN.md
)
-
Client SDK
-
Client SDK
-
[
Python SDK(Chinese)
](
doc/C++_Serving/Introduction_CN.md#42-多语言多协议Client
)
-
[
Python SDK(Chinese)
](
doc/C++_Serving/Introduction_CN.md#42-多语言多协议Client
)
...
...
README_CN.md
浏览文件 @
337e448b
...
@@ -80,6 +80,7 @@ Paddle Serving依托深度学习框架PaddlePaddle旨在帮助深度学习开发
...
@@ -80,6 +80,7 @@ Paddle Serving依托深度学习框架PaddlePaddle旨在帮助深度学习开发
-
[
多模型串联
](
doc/C++_Serving/2+_model.md
)
-
[
多模型串联
](
doc/C++_Serving/2+_model.md
)
-
[
Python Pipeline设计
](
doc/Python_Pipeline/Pipeline_Design_CN.md
)
-
[
Python Pipeline设计
](
doc/Python_Pipeline/Pipeline_Design_CN.md
)
-
[
性能优化指南
](
doc/Python_Pipeline/Performance_Tuning_CN.md
)
-
[
性能优化指南
](
doc/Python_Pipeline/Performance_Tuning_CN.md
)
-
[
TensorRT动态shape
](
doc/TensorRT_Dynamic_Shape_CN.md
)
-
[
性能指标
](
doc/Python_Pipeline/Benchmark_CN.md
)
-
[
性能指标
](
doc/Python_Pipeline/Benchmark_CN.md
)
-
客户端SDK
-
客户端SDK
-
[
Python SDK
](
doc/C++_Serving/Introduction_CN.md#42-多语言多协议Client
)
-
[
Python SDK
](
doc/C++_Serving/Introduction_CN.md#42-多语言多协议Client
)
...
...
doc/Quick_Start_CN.md
浏览文件 @
337e448b
...
@@ -23,25 +23,8 @@ Paddle Serving 为用户提供了基于 HTTP 和 RPC 的服务
...
@@ -23,25 +23,8 @@ Paddle Serving 为用户提供了基于 HTTP 和 RPC 的服务
```
shell
```
shell
python3
-m
paddle_serving_server.serve
--model
uci_housing_model
--thread
10
--port
9292
python3
-m
paddle_serving_server.serve
--model
uci_housing_model
--thread
10
--port
9292
```
```
<center>
完整参数列表参阅文档
[
Serving配置
](
doc/Serving_Configure_EN.md#c-serving
)
| Argument | Type | Default | Description |
| ---------------------------------------------- | ---- | ------- | ----------------------------------------------------- |
|
`thread`
| int |
`2`
| Number of brpc service thread |
|
`op_num`
| int[]|
`0`
| Thread Number for each model in asynchronous mode |
|
`op_max_batch`
| int[]|
`32`
| Batch Number for each model in asynchronous mode |
|
`gpu_ids`
| str[]|
`"-1"`
| Gpu card id for each model |
|
`port`
| int |
`9292`
| Exposed port of current service to users |
|
`model`
| str[]|
`""`
| Path of paddle model directory to be served |
|
`mem_optim_off`
| - | - | Disable memory / graphic memory optimization |
|
`ir_optim`
| bool | False | Enable analysis and optimization of calculation graph |
|
`use_mkl`
(Only for cpu version) | - | - | Run inference with MKL |
|
`use_trt`
(Only for trt version) | - | - | Run inference with TensorRT |
|
`use_lite`
(Only for Intel x86 CPU or ARM CPU) | - | - | Run PaddleLite inference |
|
`use_xpu`
| - | - | Run PaddleLite inference with Baidu Kunlun XPU |
|
`precision`
| str | FP32 | Precision Mode, support FP32, FP16, INT8 |
|
`use_calib`
| bool | False | Use TRT int8 calibration |
|
`gpu_multi_stream`
| bool | False | EnableGpuMultiStream to get larger QPS |
#### 异步模型的说明
#### 异步模型的说明
异步模式适用于1、请求数量非常大的情况,2、多模型串联,想要分别指定每个模型的并发数的情况。
异步模式适用于1、请求数量非常大的情况,2、多模型串联,想要分别指定每个模型的并发数的情况。
...
...
doc/Quick_Start_EN.md
浏览文件 @
337e448b
...
@@ -20,23 +20,8 @@ A user can also start a RPC service with `paddle_serving_server.serve`. RPC serv
...
@@ -20,23 +20,8 @@ A user can also start a RPC service with `paddle_serving_server.serve`. RPC serv
```
shell
```
shell
python3
-m
paddle_serving_server.serve
--model
uci_housing_model
--thread
10
--port
9292
python3
-m
paddle_serving_server.serve
--model
uci_housing_model
--thread
10
--port
9292
```
```
<center>
For a complete list of parameters, see the document
[
Serving Configuration
](
doc/Serving_Configure_CN.md#c-serving
)
| Argument | Type | Default | Description |
| ---------------------------------------------- | ---- | ------- | ----------------------------------------------------- |
|
`thread`
| int |
`4`
| Concurrency of current service |
|
`port`
| int |
`9292`
| Exposed port of current service to users |
|
`model`
| str |
`""`
| Path of paddle model directory to be served |
|
`mem_optim_off`
| - | - | Disable memory / graphic memory optimization |
|
`ir_optim`
| bool | False | Enable analysis and optimization of calculation graph |
|
`use_mkl`
(Only for cpu version) | - | - | Run inference with MKL |
|
`use_trt`
(Only for trt version) | - | - | Run inference with TensorRT |
|
`use_lite`
(Only for Intel x86 CPU or ARM CPU) | - | - | Run PaddleLite inference |
|
`use_xpu`
| - | - | Run PaddleLite inference with Baidu Kunlun XPU |
|
`precision`
| str | FP32 | Precision Mode, support FP32, FP16, INT8 |
|
`use_calib`
| bool | False | Only for deployment with TensorRT |
</center>
```
python
```
python
# A user can visit rpc service through paddle_serving_client API
# A user can visit rpc service through paddle_serving_client API
...
...
doc/Serving_Configure_CN.md
浏览文件 @
337e448b
# Serving
Configuration
# Serving
配置
(简体中文|
[
English
](
./Serving_Configure_EN.md
)
)
(简体中文|
[
English
](
./Serving_Configure_EN.md
)
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录