computation_traces.append(grad_transform_on_trace(computation_trc))
1 parent 929ec19 commit 7a972fdCopy full SHA for 7a972fd
1 file changed
thunder/__init__.py
@@ -532,6 +532,7 @@ def apply_transforms_and_build_cache_entry(cd, cs, cache_info, prologue_trc, com
532
from thunder.transforms.autodiff import grad_transform_on_trace
533
534
computation_trc = grad_transform_on_trace(computation_trc)
535
+ computation_traces.append(computation_trc)
536
537
from thunder.executors.passes import _transform_for_operator_executor_execution
538
from thunder.distributed.utils import maybe_sort_waits
0 commit comments