viable/strict/1787782645: Revert "[BC breaking] Remove assert_allclose (#164560)"
- PyTorch: 2085 events in the last 90 days
- PyTorch: 2056th Release in the last 90 days
- Previous: earlier the same day · trunk/610343e5acab74781f4ac043633d32465f8a86e5: [inductor] Skip SDPA fusion when the matched scale is a Tensor (#191496)
What happened
This reverts commit 0800934 . Reverted #164560 on behalf of https://github.com/georgehong due to We have signals breaking and hundreds of unmigrated internal call sites of torch.testing.assert_allclose. Not a mechanical rename either: the removed wrapper had different default tolerances and passed equal_nan=True, check_dtype=False, check_stride=False, so callers need a semantics-preserving migration first. Sorry abo…
Summary assembled by rule from the sources below