You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install the service whl package. There are three types of client, app and server. The server is divided into CPU and GPU. Choose one installation according to the environment.
The independent dependencies of the Serving and Paddle Wheel packages are downloaded in `serving_dependent_wheels/` and `paddle_dependent_wheels/` under the `py3x_offline_whls` directory.
158
+
The independent dependencies of the Serving and Paddle Wheel packages are downloaded by four links.
The Serving and Paddle Wheel packages can be installed locally by running the `install.py` script. The parameter list for the `install.py` script is as follows:
160
168
```
161
169
python3 install.py
162
170
--python_version : Python version for installing wheels, one of [py36, py37, py38, py39], py37 default.
163
171
--device : Type of devices, one of [cpu, gpu], cpu default.
164
172
--cuda_version : CUDA version for GPU, one of [101, 102, 112, empty], empty default.
165
-
--serving_version : Verson of Serving, one of [0.8.3, no_install], 0.8.3 default.
166
-
--paddle_version Verson of Paddle, one of [2.2.2, no_install], 2.2.2 default.
173
+
--serving_version : Verson of Serving, one of [0.9.0, no_install], 0.9.0 default.
174
+
--paddle_version Verson of Paddle, one of [2.3.0, no_install], 2.3.0 default.
167
175
```
168
176
169
177
**2.Specify the `SERVING_BIN` path in the environment variable**
Since the binary package for all versions has 20 GB, it is very large. Therefore, multiple versions of download links are provided. Manually `wget` downloads the specified version to the `serving_bin` directory, decompresses it and exports it to the environment variable.
2.Only install the py39 version of the Serving CPU wheel package, set `--paddle_version="no_install"` to not install the Paddle prediction library, set `--device="cpu"` to indicate the cpu version
0 commit comments