You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a sanity check to ensure the copy_to argument of prims.copy_ is not used as input for any of its subsequent operators
Motivation
Nvfuser's fd.add_output(output, input) API has the rule "do not use the input after it has been updated". We need the same sanity check for prims.copy_(copy_from, copy_to).
🚀 Feature
Add a sanity check to ensure the
copy_to
argument ofprims.copy_
is not used as input for any of its subsequent operatorsMotivation
Nvfuser's
fd.add_output(output, input)
API has the rule "do not use the input after it has been updated". We need the same sanity check forprims.copy_(copy_from, copy_to)
.cc: @IvanYashchuk @jjsjann123
The text was updated successfully, but these errors were encountered: