But then I get the following error in Windows console output:
Assertion failed: d == a + length
C:_src\plugin\batchedNMSPlugin\batchedNMSPlugin.cpp:115
Engine file was created, using the same CUDA, TensorRT and GPU as on machine where I’m trying to deserialize it.
Environment
TensorRT Version: 8.2.5.1 GPU Type: Nvidia GeForce RTX 2070 Super Nvidia Driver Version: 516.01 CUDA Version: 11.7 CUDNN Version: 8.4.0 Operating System + Version: Windows 10 version 21H2 Python Version (if applicable): TensorFlow Version (if applicable): PyTorch Version (if applicable): Baremetal or Container (if container which image + tag):
Hi,
Please refer to below links related custom plugin implementation and sample:
While IPluginV2 and IPluginV2Ext interfaces are still supported for backward compatibility with TensorRT 5.1 and 6.0.x respectively, however, we recommend that you write new plugins or refactor existing ones to target the IPluginV2DynamicExt or IPluginV2IOExt interfaces instead.