Open IvanYashchuk opened 2 weeks ago
triage review:
@tfogal , which ops other than data-dependent ones are we talking about?
I left a comment about the need to investigate how to handle the islands around data-dep ops since, up until now, we did not have proper use cases for that. We can delete tensors, we just should not delete the ones coming from non-fused regions (aka data-dep ops).
It's probably just data-dependent ops, but ping @mruberry who I copied that comment from ;-)
🐛 Bug
First, apply the following patch:
Then run the following reproducer:
A minimal example was asked for here https://github.com/Lightning-AI/lightning-thunder/pull/214#discussion_r1665520398.