Error Code 2: Internal Error (Assertion c != kNoColor failed. Topological sort failed, which means there's a circle in the graph.) #4374
Labels
internal-bug-tracked
Tracked internally, will be fixed in a future release.
Module:Engine Build
Issues with engine build
triaged
Issue has been triaged by maintainers
Description
I export a variant of the YOLO model that contains a loop for post-processing abd ran into this error for topological sort. However, the model passes onnx_graphsurgeon's toposort(), nor could I spot any loop when visualizing it. A link to the ONNX file is attached, as well as a minimal python script to reproduce the error:
Environment
TensorRT Version: 10.7.0
NVIDIA GPU: T4
NVIDIA Driver Version: 550.90.07
CUDA Version: 12.4
CUDNN Version: N/A
Operating System: Debian
Python Version (if applicable):
Tensorflow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if so, version):
Relevant Files
Model link:
https://drive.google.com/file/d/1rll4p_ejFeZWbhbKaO607awIIvQjleJC/view?usp=sharing
Python script:
Steps To Reproduce
Download the onnx file and run the python script above
Commands or scripts:
Have you tried the latest release?:
Can this model run on other frameworks? For example run ONNX model with ONNXRuntime (
polygraphy run <model.onnx> --onnxrt
):The text was updated successfully, but these errors were encountered: