Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update missing
  • Loading branch information
riccardofelluga committed May 28, 2025
commit 21f342af6c280058204f871421b0d1d795519786
2 changes: 1 addition & 1 deletion thunder/transforms/autodiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def split_into_forward_and_backward(joint_trace: TraceCtx):
forward_proxy_names = {o.name for o in tree_iter(fw_output) if isinstance(o, Proxy)}
# we also have the inputs available, so we add flat_args.
# for inplace, we need to update this (or have flat args be the right thing?...)
forward_proxy_names.update(a.name for a in return_bsym.args[0]["flat_args"] if isinstance(a, thunder.Proxy))
forward_proxy_names.update(a.name for a in return_bsym.args[0]["flat_args"] if isinstance(a, Proxy))

# We keep track of the names of proxies we recompute in the backward as those will not need to be part of the
# ones saved in the forward for the backward
Expand Down