Skip to content

ONNX to TensorRT conversion fails if model has SequenceEmpty op. #1044

@himalayjor

Description

@himalayjor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions