Skip to content

Commit

Permalink
remove redundant if backward_trc is None (#1483)
Browse files Browse the repository at this point in the history
  • Loading branch information
crcrpar authored Dec 2, 2024
1 parent 44e98ae commit 9494cef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions thunder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,6 @@ def get_computation_and_inputs(*args, **kwargs):
)
computation_traces.extend(extraces)
computation_trc = computation_traces[-1]

if backward_trc is None:
computation_trc = thunder.executors.passes.del_last_used(computation_trc)

if not compile_options.get("disable_inplace_copy_check", False):
Expand Down

0 comments on commit 9494cef

Please sign in to comment.