Silent error in torch.Tensor.sum on mps #132732
Labels
module: correctness (silent)
issue that returns an incorrect result silently
module: mps
Related to Apple Metal Performance Shaders framework
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Describe the bug
If you run the code below:
The expected output is
While the actual output is
On CPU we get the expected output. Also, relatedly, trying to do
x.sum(-5)
works just fine on CPU, but throws IndexError on MPS.Versions
FYI, I'm using micromamba, which I think the collect_env script should ideally club with conda, but doesn't.
cc @kulinseth @albanD @malfet @DenisVieriu97 @jhavukainen
The text was updated successfully, but these errors were encountered: