onnx-tensorrt icon indicating copy to clipboard operation
onnx-tensorrt copied to clipboard

ONNX to TensorRT conversion fails if model has SequenceEmpty op.

Open himalayjor opened this issue 1 month ago • 0 comments

Hello team,

I am trying to convert ONNX model to TensorRT model. Conversion fails with following error message:

ERROR: Failed to parse the ONNX file.
In node 222 with name: n4 and operator: SequenceEmpty (checkSequenceEmpty): UNSUPPORTED_NODE: false

Version of torch_tensorrt.

>>> torch_tensorrt.__version__
'2.9.0+cu130'

This is blocking the work ? Are there any workarounds ? Which torch model code is causing SequenceEmpty operation. I tried replacing every python list or torch.cat operation I can. Still this op is present.

himalayjor avatar Nov 26 '25 00:11 himalayjor