signatory
signatory copied to clipboard
ERROR: Undefined symbol building with torch 1.8.0
The execution of python setup.py install
finishes without problems, but when I type the import signatory
I get the following error:
/home/~/.pyenv/versions/3.8.2/lib/python3.8/site-packages/signatory/_impl.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceIN3c107complexIfEEEEPKNS_6detail12TypeMetaDataEv
I've been researching and it seems that version 1.8.0 has stopped supporting coffe.
Thanks for your excellent work
It looks like the PyTorch version has been changed between compiling Signatory and running it. This can sometimes happen if you compile it in one virtual environment, and then run it in another, for example.
I have just tested compiling+importing Signatory against PyTorch 1.8.0 and it does work.