computation_traces.append(grad_transform_on_trace(computation_trc))
1 parent b8d644d commit 1444191Copy full SHA for 1444191
1 file changed
thunder/__init__.py
@@ -525,6 +525,7 @@ def apply_transforms_and_build_cache_entry(cd, cs, cache_info, prologue_trc, com
525
from thunder.transforms.autodiff import grad_transform_on_trace
526
527
computation_trc = grad_transform_on_trace(computation_trc)
528
+ computation_traces.append(computation_trc)
529
530
from thunder.executors.passes import _transform_for_operator_executor_execution
531
from thunder.distributed.utils import maybe_sort_waits
0 commit comments