DerryHub / BEVFormer_tensorrt

BEVFormer inference on TensorRT, including INT8 Quantization and Custom TensorRT Plugins (float/half/half2/int8).
Apache License 2.0
406 stars 66 forks source link

UNSUPPORTED_NODE: Assertion failed: creator && "Plugin not found, a When running test sample #100

Open guiyuliu opened 4 months ago

guiyuliu commented 4 months ago

sh samples/test_trt_ops.sh Running on the GPU: 0

#################### Running BEVPoolV2TestCase ####################

test_fp16 (det2trt.models.utils.test_trt_ops.test_bev_pool_v2.BEVPoolV2TestCase) ... /opt/conda/lib/python3.10/site-packages/tensorrt/init.py:75: DeprecationWarning: Context managers for TensorRT types are deprecated. Memory will be freed automatically when the reference count reaches 0. warnings.warn( In node 5 (importFallbackPluginImporter): UNSUPPORTED_NODE: Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?" ERROR test_fp32 (det2trt.models.utils.test_trt_ops.test_bev_pool_v2.BEVPoolV2TestCase) ... In node 5 (importFallbackPluginImporter): UNSUPPORTED_NODE: Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?" ERROR test_int8 (det2trt.models.utils.test_trt_ops.test_bev_pool_v2.BEVPoolV2TestCase) ... In node 5 (importFallbackPluginImporter): UNSUPPORTED_NODE: Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?" ERROR

#################### Running BEVPoolV2TestCase2 #################### test_fp16 (det2trt.models.utils.test_trt_ops.test_bev_pool_v2.BEVPoolV2TestCase2) ... In node 5 (importFallbackPluginImporter): UNSUPPORTED_NODE: Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?" ERROR test_fp32 (det2trt.models.utils.test_trt_ops.test_bev_pool_v2.BEVPoolV2TestCase2) ... In node 5 (importFallbackPluginImporter): UNSUPPORTED_NODE: Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?" ERROR test_int8 (det2trt.models.utils.test_trt_ops.test_bev_pool_v2.BEVPoolV2TestCase2) ... In node 5 (importFallbackPluginImporter): UNSUPPORTED_NODE: Assertion failed: creator && "Plugin not found, are the plugin name, version, and namespace correct?" ERROR

guiyuliu commented 4 months ago

already compile and install tensorrt plugin successfully

make install [100%] Built target tensorrt_ops Install the project... -- Install configuration: "" -- Up-to-date: /home/gyl/projects/BEVFormer_tensorrt/TensorRT/lib/libtensorrt_ops.so

guiyuliu commented 4 months ago

tensorrt 8.5.1.7 pypi_0 pypi cuda 11.6 torch 1.12.1+cu116 pypi_0 pypi