From 4e168ee1c7d6b49237d56366e0c1a43c977f5f11 Mon Sep 17 00:00:00 2001 From: "q.yao" Date: Wed, 3 Nov 2021 10:55:50 +0800 Subject: [PATCH] Update tensorrt install info (#165) --- docs/backends/tensorrt.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/backends/tensorrt.md b/docs/backends/tensorrt.md index 4c7a08bee..4f21b07cd 100644 --- a/docs/backends/tensorrt.md +++ b/docs/backends/tensorrt.md @@ -4,7 +4,9 @@ #### Install TensorRT -Please install TensorRT 8 follow [install-guide](https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html). +Please install TensorRT 8 follow [install-guide](https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html#installing). + +**Note**: `pip Wheel File Installation` is not supported yet in this repo. #### Build custom ops @@ -86,6 +88,17 @@ If the calibration dataset is not given, the data will be calibrated with the da ### FAQs +- Error `Cannot found TensorRT headers` or `Cannot found TensorRT libs` + + Try cmake with flag `-DTENSORRT_DIR`: + + ```bash + cmake -DBUILD_TENSORRT_OPS=ON -DTENSORRT_DIR=${TENSORRT_DIR} .. + make -j$(nproc) + ``` + + Please make sure there are libs and headers in `${TENSORRT_DIR}`. + - Error `error: parameter check failed at: engine.cpp::setBindingDimensions::1046, condition: profileMinDims.d[i] <= dimensions.d[i]` There is an input shape limit in deployment config: