You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I continued to debug, I found out seg_block.raw_inputs() on line 182 is std::vector of length 0, it lead to jit_inputs_ivalues on line 222 is also std::vector of length 0.
Bug Description
When I use the code below to compile the touchscript model, a segmentation fault occurs.
I compiled the Torch-TensorRT source code with debug mode, and ran the program using GDB.
I found out this error appears on line 100.
TensorRT/core/partitioning/shape_analysis.cpp
Line 222 in 4b993f8
Then I continued to debug, I found out
seg_block.raw_inputs()
on line 182 is std::vector of length 0, it lead tojit_inputs_ivalues
on line 222 is also std::vector of length 0.TensorRT/core/partitioning/shape_analysis.cpp
Lines 179 to 222 in 4b993f8
This is my simplified version of the code.
And I can share model to you to debug this error.
This is stack traces:
let me add something else. this is the value of seg_block:
Environment
conda
,pip
,libtorch
, source):The text was updated successfully, but these errors were encountered: