pytorch/torch/testing/_internal/opinfo
Isuru Fernando 957faaadca Avoid overflow in vector_norm for scalar input (#144073)
Fixes https://github.com/pytorch/pytorch/issues/143960 where torch.dist gave different results from eager due to vector_norm overflowing and eager mode avoids the overflow for single element reductions by not computing the power and then the root.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144073
Approved by: https://github.com/eellison, https://github.com/laithsakka
2025-04-07 17:10:10 +00:00
..
definitions Avoid overflow in vector_norm for scalar input (#144073) 2025-04-07 17:10:10 +00:00
__init__.py
core.py [BE][OpInfo] Introduce generic dtypesIf (#146905) 2025-02-13 05:33:17 +00:00
refs.py
utils.py PEP585 update - torch/testing (#145200) 2025-01-20 22:42:42 +00:00