idiap / fast-transformers

Pytorch library for fast transformer implementations
1.65k stars 179 forks source link

problems installing on Ubuntu 18.04, pytorch 1.71, CUDA 9.1 / CUDA 10.2 #65

Closed rainwala closed 3 years ago

rainwala commented 3 years ago

Hello,

I'm trying to install via sudo pip3 install pytorch-fast-transformers , however, I keep getting errors. My setup is: Ubuntu 18.04 pytorch 1.7.1 CUDA 9.1 / CUDA 10.2 (I have tried both)

I have saved the output of pip3 to a log file, pasting it below. Please help :)

pip_install_log.txt

rainwala commented 3 years ago

I think this is a problem of me having multiple CUDA installations on my machine, as per "nvcc fatal : Path to libdevice library not specified" towards the end of the log file. I'm going to try a clean installation of CUDA and see if this fixes the issue.