Skip to content

Commit

Permalink
make comment of _inplace_to_out_of_place verbose (#1556)
Browse files Browse the repository at this point in the history
  • Loading branch information
crcrpar authored Dec 16, 2024
1 parent 458ec6a commit 3913b02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thunder/torch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
# torch operation definitions
#

# in-place sym -> out-of-place (= functional) sym with index of `inplace` argument
# in-place sym -> out-of-place (= functional) sym with index of `inplace: bool` argument
# If an in-place op doesn't have `inplace: bool` argument, set -1.
_inplace_to_out_of_place: dict[Callable, tuple[Callable, int]] = {}


Expand Down

0 comments on commit 3913b02

Please sign in to comment.