Closed wujingyue closed 5 days ago
FYI, this is still happening. @IvanYashchuk and @t-vi
The bug is introduced in https://github.com/Lightning-AI/lightning-thunder/pull/899. After reverting changes to thunder/core/rematerialization.py
the benchmark works.
@riccardofelluga has hit the same problem in his work recently.
Yes it looks like this logic fails when one of the new_consumer_args
comes from the args of the producer and therefore it won't appear in the new_subsymbols
Looks like a bug in thunder/core/rematerialization.py.