Skip to content

Commit

Permalink
fix: TRTInterpreter output lacks return value (#2114)
Browse files Browse the repository at this point in the history
  • Loading branch information
gs-olive authored Jul 21, 2023
1 parent 65277c5 commit 95730fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py/torch_tensorrt/dynamo/conversion/trt_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,5 @@ def output(self, target, args, kwargs):
elif self.output_fp16 and output.dtype == trt.float32:
output.dtype = trt.float16
self._output_names.append(name)

return list(outputs)

0 comments on commit 95730fe

Please sign in to comment.