onnx-tensorrt
onnx-tensorrt copied to clipboard
ONNX to TensorRT conversion fails if model has SequenceEmpty op.
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.