I created a custom deepstream plugin with tensorrt inference , i am not getting performance anywhere close to nvinfer, the same detection model is giving 50 fps on nvinfer but 6 fps on custom tensorrt plugin, precison for both is fp32.
Although nvinfer is also using tensorrt inside it for inference, i cannot find the exact inference code part(enqueueV2 or execute V2 API) in nvinfer source code.
• Jetson Xavier
• DeepStream 6.0.1
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)