Closed 1mike12 closed 4 years ago
I figured out this was because I changed the gcc version.
Fairseq / pytorch requires cuda 10.2, which cannot be installed with gcc-9 which I guess comes default in 20.04?. I had to run
sudo apt-get remove gcc gcc-9
sudo apt-get remove g++
sudo apt install gcc-8 g++-8
sudo ln -s /usr/bin/gcc-8 /usr/bin/gcc
sudo ln -s /usr/bin/g++-8 /usr/bin/g++
to get cuda working, but this breaks installation of fastBPE, so then I did the opposite of the above commands and re-intsalled gcc-9
Not sure what's going on I thought this was working a few weeks ago when I tried it in ubuntu 18 in WSL2, now on actual ubuntu 20 it's not working.
OS (e.g., Linux): ubuntu 20.04 python 3.8