(简体中文|English)
查找下面表格,拷贝链接地址,并运行 pip3 install
。例如要安装 paddle-serving-server-0.0.0-py3-non-any.whl
, 请右键点击链接拷贝链接地址,最终命令是pip3 install https://paddle-serving.bj.bcebos.com/test-dev/whl/paddle_serving_server-0.0.0-py3-none-any.whl
。
大多数用户不会用到此章节。但是如果你在无网络的环境下部署Paddle Serving,在首次启动Serving时,无法下载二进制tar文件。因此,提供多种环境二进制包的下载链接,下载后传到无网络环境的指定目录下,即可使用。
- 下载Serving Server Wheel包和二进制tar包,确保它们与环境是一致的
- 下载Serving Client Wheel包和Serving App wheel包, 同时注意Python版本要一致.
pip install
所有Wheel包 andtar xf
二进制tar包, 然后export SERVING_BIN=$PWD/serving-gpu-cuda11-0.0.0/serving
(以Cuda 11为例)
develop whl | stable whl | |
---|---|---|
Python3 | paddle_serving_app-0.0.0-py3-none-any.whl | paddle_serving_app-0.9.0-py3-none-any.whl |
对于使用百度昆仑芯片的用户, 通过以下方式下载arm-xpu 或 x86-xpu Wheel包。选择 xpu-beta docker DOCKER镜像 昆仑环境仅支持python36
适用ARM CPU环境的昆仑Wheel包:
# paddle-serving-server
wget https://paddle-serving.bj.bcebos.com/test-dev/whl/arm/paddle_serving_app-0.9.0-py3-none-any.whl
# paddle-serving-client
wget https://paddle-serving.bj.bcebos.com/test-dev/whl/arm/paddle_serving_client-0.9.0-cp36-none-any.whl
# paddle-serving-app
wget https://paddle-serving.bj.bcebos.com/test-dev/whl/arm/paddle_serving_server_xpu-0.9.0.post2-py3-none-any.whl
# SERVING BIN
wget https://paddle-serving.bj.bcebos.com/test-dev/bin/serving-xpu-aarch64-0.9.0.tar.gz
适用于ARM & XPU 的 v0.9.0 版本 Wheel包:
https://paddle-serving.bj.bcebos.com/test-dev/whl/paddle_serving_server_xpu-0.9.0.post2-py3-none-any.whl