Why error in onnx::Concat_1013_clone_0 but in my onnx there is only onnx::Concat_1013 node no this clone node

[E] Error[2]: [checkSanity.cpp::checkSanity::107] Error Code 2: Internal Error (Assertion inserted.second failed. Found duplicate region name onnx::Concat_1013_clone_0).
I get this error when i convert onnx to trt model which model did qat. And I can convert success in pc with trt8.4.1 and 8.5.1. but fail in orin with 8.4 trt version.
I want to know why and where trt may search or lone a onnx node with a name {onnx_node_name}_clone_0?

Hi,

Does the model work on Orin with TensorRT 8.5?
If yes, TensorRT 8.5 is also aviaibale for Orin in JetPack 5.1.

Thanks.

ok, i will try orin trt8.5.

thanks. i tried in a newer trt version in orin, it succeed. and I have a question when and why trt will clone a onnx node ? when trt do fusion?

Hi,

The fusion is applied when the parsing from ONNX is done.
TensorRT will do some graph optimization before generating the final engine file.

When parsing the ONNX model to TensorRT, it is possible to clone a node in order to fit the TensorRT API.
ONNX parser is open-sourced, you can find the source code below:

Thanks.

ok,thanks for your help