Closed KinglittleQ closed 3 years ago
I think so, onnx-gs only modifies the onnx file and it doesn't rely on TRT version. For TRT7, it also support several ways to import a onnx model which contains a plugin via, a) modify onnx parser b) modify onnx graph to replace the unknown node with pluginv2 node c) fallback if possible which is a mechanism in onnxparser
Thanks for your reply.
For some reason, I have to use TensorRT 7.0 in my workspace. It seems like it is feasible to use onnxgraphsurgeon to modify the ONNX graph and then TensorRT will automatically recognize the custom plugin in TensorRT 7.1 or higher version. But is it possible to apply the same changes to TensorRT 7.0?