peterjc123/pytorch-scripts

some pytorch functions cause python crash in windows 7

sambaiga opened this issue · 3 comments

I installed pytorch for windows successfully. Everything run okay except when I load some pytorch functions such as torch.zeros() or torch.ones() python crash with illegal instruction message.

@sambaiga I can't reproduce this issue. What version are you using? CPU or GPU? How did you installed the package?

I fixed by installing intel mkl through conda install -c intel mkl

But we compiling using the static libraries of MKL, which should not rely on your MKL dlls. I guess the problem is on NumPy.