Files
FastDeploy/docs/quick_start/Python_prebuilt_wheels.md
2022-08-17 18:00:15 +08:00

73 lines
5.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# FastDeploy 预编编译Python Wheel包
FastDeploy提供了在Windows/Linux/Mac上的预先编译Python Wheel包开发者可以直接下载后安装也可以自行编译代码。
使用如下命令即可在Linux的Pythotn 3.8环境安装支持CPU部署的FastDeploy
```
python -m pip install fastdeploy_python-0.2.0-cp38-cp38-manylinux1_x86_64.whl
```
## 注意事项
- 不要重复安装`fastdeploy-python``fastdeploy-gpu-python`
- 如已安装CPU版本的`fastdeploy-python`在安装GPU版本的`fastdeploy-gpu-python`,请先执行`pip uninstall fastdeploy-python`卸载已有版本
## 环境依赖
- cuda >= 11.2
- cudnn >= 8.0
## 下载地址
### Linux x64平台
| CPU 安装包 | 硬件 | Python版本 |
| :------------- | :--- | :--------- |
| [fastdeploy_python-0.2.0-cp36-cp36m-manylinux1_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp36-cp36m-manylinux1_x86_64.whl) | CPU | 3.6 |
| [fastdeploy_python-0.2.0-cp37-cp37m-manylinux1_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp37-cp37m-manylinux1_x86_64.whl) | CPU | 3.7 |
| [fastdeploy_python-0.2.0-cp38-cp38-manylinux1_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp38-cp38-manylinux1_x86_64.whl) | CPU | 3.8 |
| [fastdeploy_python-0.2.0-cp39-cp39-manylinux1_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp39-cp39-manylinux1_x86_64.whl) | CPU | 3.9 |
| GPU 安装包 | 硬件 | Python版本 |
| :------------- | :--- | :--------- |
| [fastdeploy_gpu_python-0.2.0-cp36-cp36m-manylinux1_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_gpu_python-0.2.0-cp36-cp36m-manylinux1_x86_64.whl) | CPU/GPU | 3.6 |
| [fastdeploy_gpu_python-0.2.0-cp37-cp37m-manylinux1_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_gpu_python-0.2.0-cp37-cp37m-manylinux1_x86_64.whl) | CPU/GPU | 3.7 |
| [fastdeploy_gpu_python-0.2.0-cp38-cp38-manylinux1_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_gpu_python-0.2.0-cp38-cp38-manylinux1_x86_64.whl) | CPU/GPU | 3.8 |
| [fastdeploy_gpu_python-0.2.0-cp39-cp39-manylinux1_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_gpu_python-0.2.0-cp39-cp39-manylinux1_x86_64.whl) | CPU/GPU | 3.9 |
### Windows 10 x64平台
| CPU 安装包 | 硬件 | Python版本 |
| :---- | :-- | :------ |
| [fastdeploy_python-0.2.0-cp38-cp38-win_amd64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp38-cp38-win_amd64.whl) | CPU | 3.8 |
| [fastdeploy_python-0.2.0-cp39-cp39-win_amd64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp39-cp39-win_amd64.whl) | CPU | 3.9 |
| GPU 安装包 | 硬件 | Python版本 |
| :---- | :-- | :------ |
| [fastdeploy_gpu_python-0.2.0-cp38-cp38-win_amd64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_gpu_python-0.2.0-cp38-cp38-win_amd64.whl) | CPU/GPU | 3.8 |
| [fastdeploy_gpu_python-0.2.0-cp39-cp39-win_amd64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_gpu_python-0.2.0-cp39-cp39-win_amd64.whl) | CPU/GPU | 3.9 |
### Linux aarch64平台
| 安装包 | 硬件 | Python版本 |
| :---- | :-- | :------ |
| [fastdeploy_python-0.2.0-cp36-cp36m-manylinux_2_17_aarch64.whl](https://bj.bcebos.com/paddle2onnx/libs/wheels/fastdeploy_python-0.2.0-cp36-cp36m-manylinux_2_17_aarch64.whl) | CPU | 3.6 |
| [fastdeploy_python-0.2.0-cp37-cp37m-manylinux_2_17_aarch64.whl](https://bj.bcebos.com/paddle2onnx/libs/wheels/fastdeploy_python-0.2.0-cp37-cp37m-manylinux_2_17_aarch64.whl) | CPU | 3.7 |
| [fastdeploy_python-0.2.0-cp38-cp38-manylinux_2_17_aarch64.whl](https://bj.bcebos.com/paddle2onnx/libs/wheels/fastdeploy_python-0.2.0-cp38-cp38-manylinux_2_17_aarch64.whl) | CPU | 3.8 |
| [fastdeploy_python-0.2.0-cp39-cp39-manylinux_2_17_aarch64.whl](https://bj.bcebos.com/paddle2onnx/libs/wheels/fastdeploy_python-0.2.0-cp39-cp39-manylinux_2_17_aarch64.whl) | CPU | 3.9 |
### Mac OSX平台
| 架构 | 硬件 | 安装包 | Python版本 |
| :---- | :-- | :------ | :----- |
| x86_64 | CPU | [fastdeploy_python-0.2.0-cp36-cp36m-macosx_10_14_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp36-cp36m-macosx_10_14_x86_64.whl) | 3.6 |
| x86_64 | CPU | [fastdeploy_python-0.2.0-cp37-cp37m-macosx_10_14_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp37-cp37m-macosx_10_14_x86_64.whl) | 3.7 |
| x86_64 | CPU | [fastdeploy_python-0.2.0-cp38-cp38-macosx_10_14_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp38-cp38-macosx_10_14_x86_64.whl) | 3.8 |
| x86_64 | CPU | [fastdeploy_python-0.2.0-cp39-cp39-macosx_10_14_x86_64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp39-cp39-macosx_10_14_x86_64.whl) | 3.9 |
| arm64 | CPU | [fastdeploy_python-0.2.0-cp38-cp38-macosx_11_0_arm64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp38-cp38-macosx_11_0_arm64.whl) | 3.8 |
| arm64 | CPU | [fastdeploy_python-0.2.0-cp39-cp39-macosx_11_0_arm64.whl](https://bj.bcebos.com/paddlehub/fastdeploy/wheels/fastdeploy_python-0.2.0-cp39-cp39-macosx_11_0_arm64.whl) | 3.9 |
## 其它文档
- [预编译C++部署库](./CPP_prebuilt_libraries.md)
- [视觉模型C++/Python部署示例](../../examples/vision/)