diff --git a/README.md b/README.md index dfd37eb32e9f380918df5823bae1c68e54204d07..c1f066dece0bc7de8a3f43c4d5c1b9e43acd3978 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,10 @@ nvidia-docker exec -it test bash ``` ```shell -pip install paddle-serving-client -pip install paddle-serving-server # CPU -pip install paddle-serving-server-gpu # GPU +pip install paddle-serving-client==0.3.2 +pip install paddle-serving-server==0.3.2 # CPU +pip install paddle-serving-server-gpu==0.3.2.post9 # GPU with CUDA9.0 +pip install paddle-serving-server-gpu==0.3.2.post10 # GPU with CUDA9.0 ``` You may need to use a domestic mirror source (in China, you can use the Tsinghua mirror source, add `-i https://pypi.tuna.tsinghua.edu.cn/simple` to pip command) to speed up the download. diff --git a/README_CN.md b/README_CN.md index e00f81b059f2b195149f23a5f465262666647664..8bdc2702a68ed88437495fe8b4ced3817742d13a 100644 --- a/README_CN.md +++ b/README_CN.md @@ -47,9 +47,10 @@ nvidia-docker run -p 9292:9292 --name test -dit hub.baidubce.com/paddlepaddle/se nvidia-docker exec -it test bash ``` ```shell -pip install paddle-serving-client -pip install paddle-serving-server # CPU -pip install paddle-serving-server-gpu # GPU +pip install paddle-serving-client==0.3.2 +pip install paddle-serving-server==0.3.2 # CPU +pip install paddle-serving-server-gpu==0.3.2.post9 # GPU with CUDA9.0 +pip install paddle-serving-server-gpu==0.3.2.post10 # GPU with CUDA10.0 ``` 您可能需要使用国内镜像源(例如清华源, 在pip命令中添加`-i https://pypi.tuna.tsinghua.edu.cn/simple`)来加速下载。 diff --git a/doc/FAQ.md b/doc/FAQ.md index 119c5a9dbc7237b5dadbddd79fbb4d2340940273..daf5cb8613d0754a966ce09f1a8f7dac5cfd7a78 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -15,13 +15,25 @@ ``` - Q: 如何使用自己编译的Paddle Serving进行预测? + A: 通过pip命令安装自己编译出的whl包,并设置SERVING_BIN环境变量为编译出的serving二进制文件路径。 - Q: 执行GPU预测时遇到InvalidArgumentError: Device id must be less than GPU count, but received id is: 0. GPU count is: 0. + A: 将显卡驱动对应的libcuda.so的目录添加到LD_LIBRARY_PATH环境变量中 - Q: 执行GPU预测时遇到ExternalError: Cudnn error, CUDNN_STATUS_BAD_PARAM at (/home/scmbuild/workspaces_cluster.dev/baidu.lib.paddlepaddle/baidu/lib/paddlepaddle/Paddle/paddle/fluid/operators/batch_norm_op.cu:198) + A: 将cudnn的lib64路径添加到LD_LIBRARY_PATH,安装自pypi的Paddle Serving中post9版使用的是cudnn 7.3,post10使用的是cudnn 7.5。如果是使用自己编译的Paddle Serving,可以在log/serving.INFO日志文件中查看对应的cudnn版本。 - Q: 执行GPU预测时遇到Error: Failed to find dynamic library: libcublas.so + A: 将cuda的lib64路径添加到LD_LIBRARY_PATH, post9版本的Paddle Serving使用的是cuda 9.0,post10版本使用的cuda 10.0。 + +- Q: 部署和预测中的日志信息在哪里查看? + +- A: server端的日志分为两部分,一部分打印到标准输出,一部分打印到启动服务时的目录下的log/serving.INFO文件中。 + + client端的日志直接打印到标准输出。 + + 通过在部署服务之前 'export GLOG_v=3'可以输出更为详细的日志信息。 diff --git a/doc/LATEST_PACKAGES.md b/doc/LATEST_PACKAGES.md index 038641afd38192da5b99f714d278232d3ad79fb4..dca3d2357d9086f26c1ff99d72fbf3656d80fe47 100644 --- a/doc/LATEST_PACKAGES.md +++ b/doc/LATEST_PACKAGES.md @@ -3,51 +3,51 @@ ## CPU server ### Python 3 ``` -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server-0.3.2-py3-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server-0.0.0-py3-none-any.whl ``` ### Python 2 ``` -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server-0.3.2-py2-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server-0.0.0-py2-none-any.whl ``` ## GPU server ### Python 3 ``` #cuda 9.0 -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server_gpu-0.3.2.post9-py3-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server_gpu-0.0.0.post9-py3-none-any.whl #cuda 10.0 -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server_gpu-0.3.2.post10-py3-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server_gpu-0.0.0.post10-py3-none-any.whl ``` ### Python 2 ``` #cuda 9.0 -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server_gpu-0.3.2.post9-py2-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server_gpu-0.0.0.post9-py2-none-any.whl #cuda 10.0 -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server_gpu-0.3.2.post10-py2-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_server_gpu-0.0.0.post10-py2-none-any.whl ``` ## Client ### Python 3.7 ``` -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_client-0.3.2-cp37-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_client-0.0.0-cp37-none-any.whl ``` ### Python 3.6 ``` -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_client-0.3.2-cp36-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_client-0.0.0-cp36-none-any.whl ``` ### Python 2.7 ``` -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_client-0.3.2-cp27-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_client-0.0.0-cp27-none-any.whl ``` ## App ### Python 3 ``` -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_app-0.1.2-py3-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_app-0.0.0-py3-none-any.whl ``` ### Python 2 ``` -https://paddle-serving.bj.bcebos.com/whl/paddle_serving_app-0.1.2-py2-none-any.whl +https://paddle-serving.bj.bcebos.com/whl/paddle_serving_app-0.0.0-py2-none-any.whl ``` diff --git a/python/paddle_serving_app/version.py b/python/paddle_serving_app/version.py index 554162f4f29a6c28e328c735a71512cd48e59962..d1ccc660c4021d71845f3a68c1c4a7b53d5c323a 100644 --- a/python/paddle_serving_app/version.py +++ b/python/paddle_serving_app/version.py @@ -12,5 +12,5 @@ # See the License for the specific language governing permissions and # limitations under the License. """ Paddle Serving App version string """ -serving_app_version = "0.1.2" +serving_app_version = "0.0.0" commit_id = "" diff --git a/python/paddle_serving_client/version.py b/python/paddle_serving_client/version.py index 015a73dca73360da228877cf5b41188dd396933c..490ba962acf817b9e87f9699afd4b3ae8f61ad0f 100644 --- a/python/paddle_serving_client/version.py +++ b/python/paddle_serving_client/version.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. """ Paddle Serving Client version string """ -serving_client_version = "0.3.2" -serving_server_version = "0.3.2" -module_proto_version = "0.3.2" +serving_client_version = "0.0.0" +serving_server_version = "0.0.0" +module_proto_version = "0.0.0" commit_id = "" diff --git a/python/paddle_serving_server/version.py b/python/paddle_serving_server/version.py index 015a73dca73360da228877cf5b41188dd396933c..490ba962acf817b9e87f9699afd4b3ae8f61ad0f 100644 --- a/python/paddle_serving_server/version.py +++ b/python/paddle_serving_server/version.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. """ Paddle Serving Client version string """ -serving_client_version = "0.3.2" -serving_server_version = "0.3.2" -module_proto_version = "0.3.2" +serving_client_version = "0.0.0" +serving_server_version = "0.0.0" +module_proto_version = "0.0.0" commit_id = "" diff --git a/python/paddle_serving_server_gpu/version.py b/python/paddle_serving_server_gpu/version.py index 3952f6e4058589e45de0618e5fc38e3d0aaf0c52..b774c2237242cc488ee14ef85b1142929a3879d7 100644 --- a/python/paddle_serving_server_gpu/version.py +++ b/python/paddle_serving_server_gpu/version.py @@ -12,8 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. """ Paddle Serving Client version string """ -serving_client_version = "0.3.2" -serving_server_version = "0.3.2" -module_proto_version = "0.3.2" +serving_client_version = "0.0.0" +serving_server_version = "0.0.0" +module_proto_version = "0.0.0" cuda_version = "9" commit_id = ""