pytorch
ed3b73fd - [Static Runtime] Skip ProcessedNode:: verify_no_memory_overlap() for out variants (#68639)

Commit
3 years ago
[Static Runtime] Skip ProcessedNode:: verify_no_memory_overlap() for out variants (#68639) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/68639 Fix all problems related to `ProcessedNode:: verify_no_memory_overlap()` - Only enable this check for native and fallback ops that are not inplace or view ops - Enable ProcessedNode:: verify_no_memory_overlap() in debug mode and enforce it - Add gflag --static_runtime_disable_debug_memory_overlap_check to test the runtime memory overlap fix for bad schemas fb::expand_dims's schema was not correct after this check is re-enabled. It's fixed in D32556204 (https://github.com/pytorch/pytorch/commit/39ab4171072f8c5cb6e0f0d15268310824d1653c) Reviewed By: mikeiovine Differential Revision: D32553708 fbshipit-source-id: 88de63cdf1ee4f87b7726c8b65a11a5fb8a99d13
Author
Hao Lu
Parents
Loading