Skip to content

Commit cc45a5c

Browse files
authored
Append the output of grad_transform_on_trace to computation_traces (#2392)
1 parent 844aea1 commit cc45a5c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

thunder/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ def apply_transforms_and_build_cache_entry(cd, cs, cache_info, prologue_trc, com
552552
from thunder.transforms.autodiff import grad_transform_on_trace
553553

554554
computation_trc = grad_transform_on_trace(computation_trc)
555+
computation_traces.append(computation_trc)
555556

556557
from thunder.executors.passes import _transform_for_operator_executor_execution
557558
from thunder.distributed.utils import maybe_sort_waits

0 commit comments

Comments
 (0)