ibacaraujo
(Iago Breno Araujo)
1
Hi, guys, after installing PyTorch 1.0, I am facing the following error:
>>> import torch
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "miniconda3/envs/pytorch/lib/python3.6/site-packages/torch/__init__.py", line 84, in <module>
from torch._C import *
ImportError: miniconda3/envs/pytorch/lib/python3.6/site-packages/torch/lib/libmkldnn.so.0: undefined symbol: cblas_sgemm_alloc
I was not able to find a solution to this error.
Thanks!
saileshprem
(Sailesh Krishnamurthy)
2
I had the same issue and realized I had installed mkl using
conda install -c anaconda mkl
I tried installing
conda install -c intel mkl
and import torch worked.
Hope this helps!
yinge_zhao
(yinge zhao)
3
I had the same problem. Do you remember how the problem was solved? Installing WHL is not helpfull.
After installing the transformers library, the torch doesn’t work. The easiest way is to install a new torch version.