Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Undefined symbol building with torch 1.8.0 #36

Open
jdavidls opened this issue Mar 18, 2021 · 1 comment
Open

ERROR: Undefined symbol building with torch 1.8.0 #36

jdavidls opened this issue Mar 18, 2021 · 1 comment

Comments

@jdavidls
Copy link

jdavidls commented Mar 18, 2021

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

@patrick-kidger
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants