grad_transform_on_trace
computation_traces
1 parent 844aea1 commit cc45a5cCopy full SHA for cc45a5c
1 file changed
thunder/__init__.py
@@ -552,6 +552,7 @@ def apply_transforms_and_build_cache_entry(cd, cs, cache_info, prologue_trc, com
552
from thunder.transforms.autodiff import grad_transform_on_trace
553
554
computation_trc = grad_transform_on_trace(computation_trc)
555
+ computation_traces.append(computation_trc)
556
557
from thunder.executors.passes import _transform_for_operator_executor_execution
558
from thunder.distributed.utils import maybe_sort_waits
0 commit comments