Issues loading 'facebook bart-large-mnli' on Ubuntu for Windows 10
I was following the huggingface course when I ran into this issue when loading the facebook/bart-large-mnli model:*** Error in `python': corrupted double-linked list: 0x00007ffff0e47cc0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f1dd25577e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x80c71)[0x7f1dd2560c71]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f1dd256453c]
/home/anzi/anaconda3/envs/huggingface/lib/python3.7/site-packages/torch/lib/libtorch_python.so(+0x9df6c8)[0x7f1dc0a186c8]
/home/anzi/anaconda3/envs/huggingface/lib/python3.7/site-packages/torch/lib/libtorch_cpu.so(_Z14THStorage_freePN3c1011StorageImplE+0x1f)[0x7f1dbadf2a6f]
/home/anzi/anaconda3/envs/huggingface/lib/python3.7/site-packages/torch/lib/libtorch_python.so(+0xc788be)[0x7f1dc0cb18be]
python(+0x18103a)[0x7f1dd361103a][…]I don’t get this error with other models, but I already found out that the other models I’ve been loading were using tensorflow, whereasbart-large-mnlirequires pytorch. I use Python 3.7.13 on Ubuntu for Windows 10 with pytorch version 1.10.2.I am having a hard time googling possible causes because I don’t see anybody having this issue with huggingface, and not even pytorch by itself. Already tried uninstalling and reinstalling the latest pytorch version and it did not help