Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
86222e00
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看板
提交
86222e00
编写于
2月 20, 2021
作者:
W
wangjiawei04
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
hub->registry
上级
09935ba2
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
32 addition
and
32 deletion
+32
-32
README.md
README.md
+6
-6
README_CN.md
README_CN.md
+4
-4
doc/ABTEST_IN_PADDLE_SERVING.md
doc/ABTEST_IN_PADDLE_SERVING.md
+2
-2
doc/ABTEST_IN_PADDLE_SERVING_CN.md
doc/ABTEST_IN_PADDLE_SERVING_CN.md
+2
-2
doc/DOCKER_IMAGES.md
doc/DOCKER_IMAGES.md
+2
-2
doc/DOCKER_IMAGES_CN.md
doc/DOCKER_IMAGES_CN.md
+2
-2
doc/RUN_IN_DOCKER.md
doc/RUN_IN_DOCKER.md
+5
-5
doc/RUN_IN_DOCKER_CN.md
doc/RUN_IN_DOCKER_CN.md
+5
-5
doc/WINDOWS_TUTORIAL.md
doc/WINDOWS_TUTORIAL.md
+2
-2
doc/WINDOWS_TUTORIAL_CN.md
doc/WINDOWS_TUTORIAL_CN.md
+2
-2
未找到文件。
README.md
浏览文件 @
86222e00
...
...
@@ -21,7 +21,7 @@
<p>
-
[
Motivation
](
./README.md#motivation
)
-
[
AIStudio Tutorial
](
./README.md#aistu
d
io-tutorial
)
-
[
AIStudio Tutorial
](
./README.md#aistuio-tutorial
)
-
[
Installation
](
./README.md#installation
)
-
[
Quick Start Example
](
./README.md#quick-start-example
)
-
[
Document
](
README.md#document
)
...
...
@@ -42,7 +42,7 @@ We consider deploying deep learning inference service online to be a user-facing
</p>
<h2
align=
"center"
>
AIStudio Tu
t
orial
</h2>
<h2
align=
"center"
>
AIStudio Tu
r
orial
</h2>
Here we provide tutorial on AIStudio(Chinese Version)
[
AIStudio教程-Paddle Serving服务化部署框架
](
https://aistudio.baidu.com/aistudio/projectdetail/1550674
)
...
...
@@ -75,15 +75,15 @@ We **highly recommend** you to **run Paddle Serving in Docker**, please visit [R
```
# Run CPU Docker
docker pull
hub
.baidubce.com/paddlepaddle/serving:0.5.0-devel
docker run -p 9292:9292 --name test -dit
hub
.baidubce.com/paddlepaddle/serving:0.5.0-devel
docker pull
registry
.baidubce.com/paddlepaddle/serving:0.5.0-devel
docker run -p 9292:9292 --name test -dit
registry
.baidubce.com/paddlepaddle/serving:0.5.0-devel
docker exec -it test bash
git clone https://github.com/PaddlePaddle/Serving
```
```
# Run GPU Docker
nvidia-docker pull
hub
.baidubce.com/paddlepaddle/serving:0.5.0-cuda10.2-cudnn8-devel
nvidia-docker run -p 9292:9292 --name test -dit
hub
.baidubce.com/paddlepaddle/serving:0.5.0-cuda10.2-cudnn8-devel
nvidia-docker pull
registry
.baidubce.com/paddlepaddle/serving:0.5.0-cuda10.2-cudnn8-devel
nvidia-docker run -p 9292:9292 --name test -dit
registry
.baidubce.com/paddlepaddle/serving:0.5.0-cuda10.2-cudnn8-devel
nvidia-docker exec -it test bash
git clone https://github.com/PaddlePaddle/Serving
```
...
...
README_CN.md
浏览文件 @
86222e00
...
...
@@ -76,15 +76,15 @@ Paddle Serving开发者为您提供了简单易用的[AIStudio教程-Paddle Serv
```
# 启动 CPU Docker
docker pull
hub
.baidubce.com/paddlepaddle/serving:0.5.0-devel
docker run -p 9292:9292 --name test -dit
hub
.baidubce.com/paddlepaddle/serving:0.5.0-devel
docker pull
registry
.baidubce.com/paddlepaddle/serving:0.5.0-devel
docker run -p 9292:9292 --name test -dit
registry
.baidubce.com/paddlepaddle/serving:0.5.0-devel
docker exec -it test bash
git clone https://github.com/PaddlePaddle/Serving
```
```
# 启动 GPU Docker
nvidia-docker pull
hub
.baidubce.com/paddlepaddle/serving:0.5.0-cuda10.2-cudnn8-devel
nvidia-docker run -p 9292:9292 --name test -dit
hub
.baidubce.com/paddlepaddle/serving:0.5.0-cuda10.2-cudnn8-devel
nvidia-docker pull
registry
.baidubce.com/paddlepaddle/serving:0.5.0-cuda10.2-cudnn8-devel
nvidia-docker run -p 9292:9292 --name test -dit
registry
.baidubce.com/paddlepaddle/serving:0.5.0-cuda10.2-cudnn8-devel
nvidia-docker exec -it test bash
git clone https://github.com/PaddlePaddle/Serving
```
...
...
doc/ABTEST_IN_PADDLE_SERVING.md
浏览文件 @
86222e00
...
...
@@ -36,7 +36,7 @@ Here, we [use docker](RUN_IN_DOCKER.md) to start the server-side service.
First, start the BOW server, which enables the `
8000
` port:
``` shell
docker run -dit -v $PWD/imdb_bow_model:/model -p 8000:8000 --name bow-server
hub
.baidubce.com/paddlepaddle/serving:latest /bin/bash
docker run -dit -v $PWD/imdb_bow_model:/model -p 8000:8000 --name bow-server
registry
.baidubce.com/paddlepaddle/serving:latest /bin/bash
docker exec -it bow-server /bin/bash
pip install paddle-serving-server -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install paddle-serving-client -i https://pypi.tuna.tsinghua.edu.cn/simple
...
...
@@ -47,7 +47,7 @@ exit
Similarly, start the LSTM server, which enables the `
9000
` port:
```bash
docker run -dit -v $PWD/imdb_lstm_model:/model -p 9000:9000 --name lstm-server
hub
.baidubce.com/paddlepaddle/serving:latest /bin/bash
docker run -dit -v $PWD/imdb_lstm_model:/model -p 9000:9000 --name lstm-server
registry
.baidubce.com/paddlepaddle/serving:latest /bin/bash
docker exec -it lstm-server /bin/bash
pip install paddle-serving-server -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install paddle-serving-client -i https://pypi.tuna.tsinghua.edu.cn/simple
...
...
doc/ABTEST_IN_PADDLE_SERVING_CN.md
浏览文件 @
86222e00
...
...
@@ -35,7 +35,7 @@ pip install Shapely
首先启动BOW Server,该服务启用`
8000
`端口:
```bash
docker run -dit -v $PWD/imdb_bow_model:/model -p 8000:8000 --name bow-server
hub
.baidubce.com/paddlepaddle/serving:latest /bin/bash
docker run -dit -v $PWD/imdb_bow_model:/model -p 8000:8000 --name bow-server
registry
.baidubce.com/paddlepaddle/serving:latest /bin/bash
docker exec -it bow-server /bin/bash
pip install paddle-serving-server -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install paddle-serving-client -i https://pypi.tuna.tsinghua.edu.cn/simple
...
...
@@ -46,7 +46,7 @@ exit
同理启动LSTM Server,该服务启用`
9000
`端口:
```bash
docker run -dit -v $PWD/imdb_lstm_model:/model -p 9000:9000 --name lstm-server
hub
.baidubce.com/paddlepaddle/serving:latest /bin/bash
docker run -dit -v $PWD/imdb_lstm_model:/model -p 9000:9000 --name lstm-server
registry
.baidubce.com/paddlepaddle/serving:latest /bin/bash
docker exec -it lstm-server /bin/bash
pip install paddle-serving-server -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install paddle-serving-client -i https://pypi.tuna.tsinghua.edu.cn/simple
...
...
doc/DOCKER_IMAGES.md
浏览文件 @
86222e00
...
...
@@ -46,12 +46,12 @@ If you want to customize your Serving based on source code, use the version with
**Java Client:**
```
hub
.baidubce.com/paddlepaddle/serving:latest-java
registry
.baidubce.com/paddlepaddle/serving:latest-java
```
**XPU:**
```
hub
.baidubce.com/paddlepaddle/serving:xpu-beta
registry
.baidubce.com/paddlepaddle/serving:xpu-beta
```
## Requirements for running CUDA containers
...
...
doc/DOCKER_IMAGES_CN.md
浏览文件 @
86222e00
...
...
@@ -49,12 +49,12 @@
**Java镜像:**
```
hub
.baidubce.com/paddlepaddle/serving:latest-java
registry
.baidubce.com/paddlepaddle/serving:latest-java
```
**XPU镜像:**
```
hub
.baidubce.com/paddlepaddle/serving:xpu-beta
registry
.baidubce.com/paddlepaddle/serving:xpu-beta
```
...
...
doc/RUN_IN_DOCKER.md
浏览文件 @
86222e00
...
...
@@ -17,14 +17,14 @@ This document takes Python2 as an example to show how to run Paddle Serving in d
Refer to
[
this document
](
DOCKER_IMAGES.md
)
for a docker image:
```
shell
docker pull
hub
.baidubce.com/paddlepaddle/serving:latest-devel
docker pull
registry
.baidubce.com/paddlepaddle/serving:latest-devel
```
### Create container
```
bash
docker run
-p
9292:9292
--name
test
-dit
hub
.baidubce.com/paddlepaddle/serving:latest-devel
docker run
-p
9292:9292
--name
test
-dit
registry
.baidubce.com/paddlepaddle/serving:latest-devel
docker
exec
-it
test
bash
```
...
...
@@ -46,20 +46,20 @@ The GPU version is basically the same as the CPU version, with only some differe
Refer to
[
this document
](
DOCKER_IMAGES.md
)
for a docker image, the following is an example of an
`cuda9.0-cudnn7`
image:
```
shell
docker pull
hub
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
docker pull
registry
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
```
### Create container
```
bash
nvidia-docker run
-p
9292:9292
--name
test
-dit
hub
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
nvidia-docker run
-p
9292:9292
--name
test
-dit
registry
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
nvidia-docker
exec
-it
test
bash
```
or
```
bash
docker run
--gpus
all
-p
9292:9292
--name
test
-dit
hub
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
docker run
--gpus
all
-p
9292:9292
--name
test
-dit
registry
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
docker
exec
-it
test
bash
```
...
...
doc/RUN_IN_DOCKER_CN.md
浏览文件 @
86222e00
...
...
@@ -19,13 +19,13 @@ Docker(GPU版本需要在GPU机器上安装nvidia-docker)
以CPU编译镜像为例
```
shell
docker pull
hub
.baidubce.com/paddlepaddle/serving:latest-devel
docker pull
registry
.baidubce.com/paddlepaddle/serving:latest-devel
```
### 创建容器并进入
```
bash
docker run
-p
9292:9292
--name
test
-dit
hub
.baidubce.com/paddlepaddle/serving:latest-devel
docker run
-p
9292:9292
--name
test
-dit
registry
.baidubce.com/paddlepaddle/serving:latest-devel
docker
exec
-it
test
bash
```
...
...
@@ -40,18 +40,18 @@ docker exec -it test bash
## GPU 版本
```
shell
docker pull
hub
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
docker pull
registry
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
```
### 创建容器并进入
```
bash
nvidia-docker run
-p
9292:9292
--name
test
-dit
hub
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
nvidia-docker run
-p
9292:9292
--name
test
-dit
registry
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
nvidia-docker
exec
-it
test
bash
```
或者
```
bash
docker run
--gpus
all
-p
9292:9292
--name
test
-dit
hub
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
docker run
--gpus
all
-p
9292:9292
--name
test
-dit
registry
.baidubce.com/paddlepaddle/serving:latest-cuda10.2-cudnn8-devel
docker
exec
-it
test
bash
```
...
...
doc/WINDOWS_TUTORIAL.md
浏览文件 @
86222e00
...
...
@@ -117,9 +117,9 @@ Please refer to [Docker Desktop](https://www.docker.com/products/docker-desktop)
After installation, start the docker linux engine and download the relevant image. In the Serving directory
```
docker pull
hub
.baidubce.com/paddlepaddle/serving:latest-devel
docker pull
registry
.baidubce.com/paddlepaddle/serving:latest-devel
# There is no expose port here, users can set -p to perform port mapping as needed
docker run --rm -dit --name serving_devel -v $PWD:/Serving
hub
.baidubce.com/paddlepaddle/serving:latest-devel
docker run --rm -dit --name serving_devel -v $PWD:/Serving
registry
.baidubce.com/paddlepaddle/serving:latest-devel
docker exec -it serving_devel bash
cd /Serving
```
...
...
doc/WINDOWS_TUTORIAL_CN.md
浏览文件 @
86222e00
...
...
@@ -117,9 +117,9 @@ python your_client.py
安装之后启动docker的linux engine,下载相关镜像。在Serving目录下
```
docker pull
hub
.baidubce.com/paddlepaddle/serving:latest-devel
docker pull
registry
.baidubce.com/paddlepaddle/serving:latest-devel
# 此处没有expose端口,用户可根据需要设置-p来进行端口映射
docker run --rm -dit --name serving_devel -v $PWD:/Serving
hub
.baidubce.com/paddlepaddle/serving:latest-devel
docker run --rm -dit --name serving_devel -v $PWD:/Serving
registry
.baidubce.com/paddlepaddle/serving:latest-devel
docker exec -it serving_devel bash
cd /Serving
```
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录