https://github.com/leimao/TensorRT-Custom-Plugin-Example/blob/5d18dc2ced60e541c18923ec6fe011c7c5404b99/python/test_plugin.py#L32 The plugin uses static registration. However, the unit test uses dynamic registration of the plugin. This needs to be fixed.