Skip to content

Commit

Permalink
Update thunder/core/transform_common.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Yashchuk <IvanYashchuk@users.noreply.github.com>
  • Loading branch information
crcrpar and IvanYashchuk authored Jun 17, 2024
1 parent 4238e1c commit f12bf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thunder/core/transform_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def is_functionalizable(bsym: BoundSymbol) -> bool:
for bsym in computation_trace.bound_symbols:
new_bsym = bsym.from_bsym_swap_proxies(swap_map)

# in-place ops has `prims.copy_` as the last subsymbol.
# in-place functionalizable ops has `prims.copy_` as the last subsymbol.
if not is_functionalizable(new_bsym):
bsyms.append(new_bsym)
continue
Expand Down

0 comments on commit f12bf41

Please sign in to comment.