pytorch
04d5278c - [Static Runtime] Only run ReplaceWithCopy pass when enable_out_variant is true (#54111)

Commit
3 years ago
[Static Runtime] Only run ReplaceWithCopy pass when enable_out_variant is true (#54111) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/54111 If we only run the ReplaceWithCopy pass when enable_out_variant is true, there is no need register a default op implementation. Reviewed By: edvgha Differential Revision: D27036077 fbshipit-source-id: f615f5d8b84629044af1c554421ea5e505e93239
Author
Hao Lu
Parents
Loading