Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
c2793ea5
S
Serving
项目概览
PaddlePaddle
/
Serving
9 个月 前同步成功
通知
183
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看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c2793ea5
编写于
4月 22, 2021
作者:
Z
zhangjun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix doc
上级
0a3391bf
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
4 addition
and
4 deletion
+4
-4
doc/LOW_PRECISION_DEPLOYMENT.md
doc/LOW_PRECISION_DEPLOYMENT.md
+2
-2
doc/LOW_PRECISION_DEPLOYMENT_CN.md
doc/LOW_PRECISION_DEPLOYMENT_CN.md
+2
-2
未找到文件。
doc/LOW_PRECISION_DEPLOYMENT.md
浏览文件 @
c2793ea5
...
...
@@ -17,7 +17,7 @@ python -m paddle_serving_client.convert --dirname ResNet50_quant
```
Start RPC service, specify the GPU id and precision mode
```
python -m paddle_serving_server.serve --model serving_server --port 9393 --gpu_ids 0 --use_
gpu --use_
trt --precision int8
python -m paddle_serving_server.serve --model serving_server --port 9393 --gpu_ids 0 --use_trt --precision int8
```
Request the serving service with Client
```
...
...
@@ -44,4 +44,4 @@ print(fetch_map["score"].reshape(-1))
## Reference
*
[
PaddleSlim
](
https://github.com/PaddlePaddle/PaddleSlim
)
*
[
Deploy the quantized model Using Paddle Inference on Intel CPU
](
https://paddle-inference.readthedocs.io/en/latest/optimize/paddle_x86_cpu_int8.html
)
*
[
Deploy the quantized model Using Paddle Inference on Nvidia GPU
](
https://paddle-inference.readthedocs.io/en/latest/optimize/paddle_trt.html
)
\ No newline at end of file
*
[
Deploy the quantized model Using Paddle Inference on Nvidia GPU
](
https://paddle-inference.readthedocs.io/en/latest/optimize/paddle_trt.html
)
doc/LOW_PRECISION_DEPLOYMENT_CN.md
浏览文件 @
c2793ea5
...
...
@@ -16,7 +16,7 @@ python -m paddle_serving_client.convert --dirname ResNet50_quant
```
启动rpc服务, 设定所选GPU id、部署模型精度
```
python -m paddle_serving_server.serve --model serving_server --port 9393 --gpu_ids 0 --use_
gpu --use_
trt --precision int8
python -m paddle_serving_server.serve --model serving_server --port 9393 --gpu_ids 0 --use_trt --precision int8
```
使用client进行请求
```
...
...
@@ -43,4 +43,4 @@ print(fetch_map["score"].reshape(-1))
## 参考文档
*
[
PaddleSlim
](
https://github.com/PaddlePaddle/PaddleSlim
)
*
PaddleInference Intel CPU部署量化模型
[
文档
](
https://paddle-inference.readthedocs.io/en/latest/optimize/paddle_x86_cpu_int8.html
)
*
PaddleInference NV GPU部署量化模型
[
文档
](
https://paddle-inference.readthedocs.io/en/latest/optimize/paddle_trt.html
)
\ No newline at end of file
*
PaddleInference NV GPU部署量化模型
[
文档
](
https://paddle-inference.readthedocs.io/en/latest/optimize/paddle_trt.html
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录