Fix cudnn doc (#159)

Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
Jack Zhou
2022-08-25 19:24:56 +08:00
committed by GitHub
parent b72d45a38d
commit 8128b1536d
3 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
- cmake >= 3.12
- g++ >= 8.2
- cuda >= 11.2 (当WITH_GPU=ON)
- cudnn >= 11.2 (当WITH_GPU=ON)
- cudnn >= 8.0 (当WITH_GPU=ON)
- TensorRT >= 8.4 (当ENABLE_TRT_BACKEND=ON)
## 编译C++

View File

@@ -5,7 +5,7 @@
- cmake >= 3.12
- Visual Studio 16 2019
- cuda >= 11.2 (当WITH_GPU=ON)
- cudnn >= 11.2 (当WITH_GPU=ON)
- cudnn >= 8.0 (当WITH_GPU=ON)
- TensorRT >= 8.4 (当ENABLE_TRT_BACKEND=ON)
## 编译CPU版本 C++ SDK
@@ -39,7 +39,7 @@ msbuild INSTALL.vcxproj /m /p:Configuration=Release /p:Platform=x64
% 附加说明:%
% (1) -DCUDA_DIRECTORY指定CUDA所在的目录 %
% (2) 若编译Paddle后端设置-DENABLE_PADDLE_BACKEND=ON %
% (3) 若编译TensorRT后端需要设置-DENABLE_TRT_BACKEND=ON并指定TRT_DIRECTORY %
% (3) 若编译TensorRT后端需要设置-DENABLE_TRT_BACKEND=ON并指定TRT_DIRECTORY %
% (4) 如-DTRT_DIRECTORY=D:\x64\third_party\TensorRT-8.4.1.5 %
```
编译后FastDeploy GPU C++ SDK即在`D:\Paddle\FastDeploy\build\fastdeploy-win-x64-gpu-0.2.0`目录下
@@ -55,7 +55,7 @@ set ENABLE_ORT_BACKEND=ON
set ENABLE_VISION=ON
% 这里指定用户自己的python解释器 以ptyhon3.8为例 %
C:\Python38\python.exe setup.py build
C:\Python38\python.exe setup.py build
C:\Python38\python.exe setup.py bdist_wheel
```
编译好的wheel文件在dist目录下pip安装编译好的wheel包命令如下
@@ -68,7 +68,7 @@ Windows菜单打开x64 Native Tools Command Prompt for VS 2019命令工具。Pyt
```bat
% 说明CUDA_DIRECTORY 为用户自己的CUDA目录 以下为示例 %
set CUDA_DIRECTORY=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2
% 说明TRT_DIRECTORY 为下载的TensorRT库所在的目录 以下为示例 如果不编译TensorRT后端 可以不设置 %
% 说明TRT_DIRECTORY 为下载的TensorRT库所在的目录 以下为示例 如果不编译TensorRT后端 可以不设置 %
set TRT_DIRECTORY=D:\x64\third_party\TensorRT-8.4.1.5
set WITH_GPU=ON
set ENABLE_ORT_BACKEND=ON
@@ -79,11 +79,11 @@ set ENABLE_PADDLE_FRONTEND=ON
set ENABLE_VISION=ON
set ENABLE_VISION_VISUALIZE=ON
git clone https://github.com/PaddlePaddle/FastDeploy.git
git clone https://github.com/PaddlePaddle/FastDeploy.git
cd FastDeploy && git checkout develop
% 说明这里指定用户自己的python解释器 以ptyhon3.8为例 %
C:\Python38\python.exe setup.py build
C:\Python38\python.exe setup.py build
C:\Python38\python.exe setup.py bdist_wheel
```
编译好的wheel文件在dist目录下pip安装编译好的wheel包命令如下

View File

@@ -12,7 +12,7 @@
- cmake >= 3.12
- Visual Studio 16 2019
- cuda >= 11.2 (当WITH_GPU=ON)
- cudnn >= 11.2 (当WITH_GPU=ON)
- cudnn >= 8.0 (当WITH_GPU=ON)
- TensorRT >= 8.4 (当ENABLE_TRT_BACKEND=ON)
## 下载 FastDeploy Windows 10 C++ SDK