← 返回事件
持续讨论AI发版

trunk/080093474421f2c563bd83fb1c61bae5af2019d0: [BC breaking] Remove assert_allclose (#164560)

图:PyTorch Releases

发生了什么

torch.testing.assert_allclose was deprecated in favour of torch.testing.assert_close . This PR thus replaces usage of torch.testing.assert_close with torch.testing.assert_allclose and removes torch.testing.assert_allclose . Thus the PR breaks backward compatibility. Because torch.testing.assert_allclose is actually a wrapper of torch.testing.assert_close , the kwargs of the two functions overlaps largely as well as…

摘要按规则整理自下方来源原文

为什么在扩散

来源