pytorch
ea50549c - Suppress guards when creating fake tensors (#89349)

Commit
3 years ago
Suppress guards when creating fake tensors (#89349) When we create fake tensors, we may call operators that introduce guards, to accurately reconstruct views. But these guards are spurious: if a user is able to present a tensor that "looks the same", they have implicitly fulfilled the contract that the view is creatable. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/89349 Approved by: https://github.com/voznesenskym
Author
Committer
Parents
Loading