mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
Update tensorrt install info (#165)
This commit is contained in:
parent
c52b24c67f
commit
4e168ee1c7
@ -4,7 +4,9 @@
|
|||||||
|
|
||||||
#### Install TensorRT
|
#### 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
|
#### Build custom ops
|
||||||
|
|
||||||
@ -86,6 +88,17 @@ If the calibration dataset is not given, the data will be calibrated with the da
|
|||||||
|
|
||||||
### FAQs
|
### 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]`
|
- 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:
|
There is an input shape limit in deployment config:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user