torch_tensorrt.dynamo.compile creates flawed output #3063
Replies: 3 comments 2 replies
-
For anyone reading into this thread, I figured I need to show you exactly what I mean, so here are the comparisons:
|
Beta Was this translation helpful? Give feedback.
-
Here's a printed version of the outputs. They're completely different...
|
Beta Was this translation helpful? Give feedback.
-
@peri044 can you take a look? |
Beta Was this translation helpful? Give feedback.
-
Greetings friends,
I wanted to reach out for assistance with the compilation of my model. The issue I'm having is this: I'm successfully converting the model using
torch_tensorrt.dynamo.compile
, however, the output that I get is flawed. I'm modifying https://github.com/dajes/frame-interpolation-pytorch by converting the model to torch_tensorrt. I was wondering if any of you experts can chime in with helping me properly compile the model? I must be missing something because the model converts correctly but it just doesn't produce output as expected. This is important to me because this method of compilation produces 2x faster results thantorch.compile
andtorch_tensorrt.compile
. Any input and assistance would be greatly appreciated. Please see below for the code:Beta Was this translation helpful? Give feedback.
All reactions