bug on MacOS

when running this code:[2, 3]), torch.Tensor([2, 1]))
I get the result: 0.0
This code run normally on Linux and failed on MacOS…
And also the version of my pytorch is 0.2.0-py27_4cu75

Same here
0.2.0_4 installed through conda, on python 3.6

Any solution?:blush:

It could be related to this issue. Could one of you try building pytorch from source and seeing if the problem still exists?

conda upgrade numpy fixed it for me.


It works for me. THX.