Closed chaonan99 closed 5 years ago
I'm getting "undefined symbol" error when importing nv_wavenet_ext as follows:
nv_wavenet_ext
In [1]: import torch In [2]: torch.__version__ Out[2]: '1.1.0' In [3]: import nv_wavenet_ext --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-3-831f7004cefb> in <module> ----> 1 import nv_wavenet_ext ImportError: /usr/local/lib/python3.6/site-packages/nv_wavenet_ext-0.0.0-py3.6-linux-x86_64.egg/nv_wavenet_ext.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN2at19UndefinedTensorImpl10_singletonE
Did you solve it? I have the same problem
I solved it by cleaning up the repo, re-clone it and rebuild it. Also remember to always import torch before import nv_wavenet_ext
I'm getting "undefined symbol" error when importing
nv_wavenet_ext
as follows: