From 44c9fe56e80471bb2ee5caf0e7554433d22c2855 Mon Sep 17 00:00:00 2001 From: cnn Date: Wed, 28 Jul 2021 01:50:04 +0800 Subject: [PATCH] add trt version, test=document_fix (#3738) (#3779) --- deploy/cpp/docs/windows_vs2019_build.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/deploy/cpp/docs/windows_vs2019_build.md b/deploy/cpp/docs/windows_vs2019_build.md index c1e9a6c04..79743d048 100755 --- a/deploy/cpp/docs/windows_vs2019_build.md +++ b/deploy/cpp/docs/windows_vs2019_build.md @@ -5,9 +5,17 @@ Windows 平台下,我们使用`Visual Studio 2019 Community` 进行了测试 ## 前置条件 * Visual Studio 2019 (根据Paddle预测库所使用的VS版本选择,请参考 [Visual Studio 不同版本二进制兼容性](https://docs.microsoft.com/zh-cn/cpp/porting/binary-compat-2015-2017?view=vs-2019) ) -* CUDA 9.0 / CUDA 10.0,cudnn 7+ (仅在使用GPU版本的预测库时需要) +* CUDA 9.0 / CUDA 10.0,cudnn 7+ / TensoRT(仅在使用GPU版本的预测库时需要) * CMake 3.0+ [CMake下载](https://cmake.org/download/) +**特别注意:windows下预测库需要的TensorRT版本为:**。 + +| 预测库版本 | TensorRT版本 | +| ---- | ---- | +| cuda10.1_cudnn7.6_avx_mkl_trt6 | TensorRT-6.0.1.5 | +| cuda10.2_cudnn7.6_avx_mkl_trt7 | TensorRT-7.0.0.11 | +| cuda11.0_cudnn8.0_avx_mkl_trt7 | TensorRT-7.2.1.6 | + 请确保系统已经安装好上述基本软件,我们使用的是`VS2019`的社区版。 **下面所有示例以工作目录为 `D:\projects`演示**。 -- GitLab