[Feature]: Testing - Use torch.testing.assert_close
instead of torch.allclose
as a Recommended Practice
#7307
Labels
torch.testing.assert_close
instead of torch.allclose
as a Recommended Practice
#7307
🚀 The feature, motivation and pitch
See https://pytorch.org/docs/stable/testing.html
assert_close
will print the values which violate the allclose condition.assert torch.allclose
will notThis leads to better diagnosability of failed tests
The text was updated successfully, but these errors were encountered: