Replies: 1 comment
-
In case any one facing this issue, having module on cpu worked in compiling my model to tensorrt. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am facing issues compiling one of my models.
I have a model in which I pass output from intermediate layers through CONVTRANSPOSE1D layers and sample up the input tensor. As a result, the output from these layers quickly grows in size and produces tensors of size (1, 256, 10000).
In such a case,
I tried creating simple networks that generate large intermediate tensors but couldn't replicate the behavior. But, when I change the input to my model in order to contain the outputs from intermediate layer to be under 2000, the compilation is successful with occasional segmentation faults and the runtimeerror is completely avoided.
I encounter the same issues when I run on the latest NGC container. However, when I tried to compile on colab, failures happen less frequently (1 Runtime Error of 6 tests). Please share any thoughts that can help me better debug this issue or what if i am doing anything wrong.
Beta Was this translation helpful? Give feedback.
All reactions