mmcv
mmcv copied to clipboard
tensorrt plugin install wrong
Here is my relevant configuration:
mmcv-full 1.5.3
mmedit 0.15.0
tensorrt 8.2.1.8
torch 1.8.1
torchvision 0.9.1
But I am getting the following error

please help me to solve this problem
Hi~ Have you followed the steps in https://mmcv.readthedocs.io/en/latest/deployment/tensorrt_plugin.html?highlight=trt? It seems that you've not TensorRT correctly
Hi~ Have you followed the steps in https://mmcv.readthedocs.io/en/latest/deployment/tensorrt_plugin.html?highlight=trt? It seems that you've not TensorRT correctly
I installed tensorRT and mmcv-full first, and then followed the command:
git clone https://github.com/open-mmlab/mmcv.git
export TENSORRT_DIR=pwd/TensorRT-7.2.1.6
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TENSORRT_DIR/lib
MMCV_WITH_OPS=1 MMCV_WITH_TRT=1 pip install -e .


Hi, It seems you are using tensorRT 8.10. How about trying TensorRT-7.2.1.6 and following the steps in docs.

您好,看来您使用的是 tensorRT 8.10。如何尝试 TensorRT-7.2.1.6 并按照文档中的步骤操作。
Yes, I installed tensorRT8.2.1.8, but I changed the version number in the command during the actual operation. The reason is that the version is different and the mmcv plugin cannot be installed?
Yes, TensorRT plugins in MMCV do not support TensorRT8+, please try the plugin in MMDeploy.