Description
Plugin shared libraries Developer Guide :: NVIDIA Deep Learning TensorRT Documentation do not support V3 Plugins as stated in this note in the developer’s guide
Blockquote
Note:IPluginRegistry’s loadLibrary() (C++, Python) functionality, demonstrated below, is not supported for plugin-shared libraries containing V3 plugin creators (IPluginCreatorV3One). As a workaround, define the entry point IPluginCreatorInterface* const* getCreators() in your library and then query this to enumerate each plugin creator and register it manually using IPluginRegistry’s registerCreator() (C++, Python).
Is this support expected in the future, or should I abandon the use of plugin shared libraries if I upgrade to V3?
EDIT: there is a workaround given, but it’s not clear to me if the workaround has all the benefits of the original hook. For example, should I handle the deregistering from the plugin registry as well? or will TRT handle that? The plugin must be registered at a global scope now, instead of at the local runtime scope.
Environment
TensorRT Version: 10.5
Relevant Files
N/A
Steps To Reproduce
N/A