Package manager choice: conda vs. pip
Atcold
This is because conda manages dependencies that are not just python dependencies. For example with conda, we get tighter control over which BLAS is installed.
smth
How can I deal with the problem? Thank you beforehand.
phenixcx
It looks as if your script ran out of memory.
apaszke
I guessed the problem is caused by the imcompatibility of OpenBLAS with Pytorch, because the problem is totally solved by reinstalling Pytorch with the command ‘conda install pytorch torchvision -c soumith’. It is heard that Pytorch compiled from the sources of github cannot well control OpenBLAS.
phenixcx
I haven’t heard about problems with OpenBLAS before, but I don’t think it’s really a PyTorch bug, since we’re only calling its functions. If it can’t manage its threads properly, there’s nothing we can do about it. I’d recommend using MKL.
apaszke
phenixcx