I have customized a plugin layer, and I can use it by building from source to libnvinfer_plugin.so.
I wanna ask if any possible we can use the plugin layer without building libnvinfer_plugin.so?
Can we just maybe “include” or "import " our customized plugin in some way?
Hi, I knew the work flow about using plugin layer.
However, my question means whether we can skip building plugin library.(no compile). Instead, we just directly use(include) that plugin class we defined.
Hi @spolisetty
Thanks your response.
So we can compile our plugin to a library based on prebuilt tensorRT?
If it is. Where could I find some example like that?
Assuming the plugin is in some file called customPlugin.cpp , then it would just be something like: nvcc customPlugin.cpp -shared -o my_plugin.so and then try loading my_plugin.so