pytorch
456a4dc6 - [warning] Fix TORCH_INTERNAL_ASSERT calls missing condition to check 2/x (#71767)

Commit
2 years ago
[warning] Fix TORCH_INTERNAL_ASSERT calls missing condition to check 2/x (#71767) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/71767 This will fix a ton of broken asserts that should always fire but never actually fire. All would have been caught with `-Wstring-conversion` warnings enabled. Test Plan: CI Pass Differential Revision: D33754170 fbshipit-source-id: fa47dbf3b3e6cc27a2dfbdce7ac0416c47122ad7 (cherry picked from commit 23802fe3b5e14bbee6affc1393f3966603f5a983)
Author
Nolan O'Brien
Committer
Parents
Loading