I couldn’t manage to build from source, first I was getting this error, I followed the workaround but then got an error regarding cuDNN version, my cuDNN installation is a mess because of tensorflow, so I didn’t wanted to mess with that afraid that it could mess my tensorflow installation. So I switched to docker, and the first run of torch.randn(10).cuda() is taking ~2 sec, which I think is expected.