Yes, there was a bug in cudnn.py 3 that would detect your first libcudnn.so as the version. That has been fixed: https://github.com/pytorch/pytorch/issues/3126 30 so feel free to pull and build from source again.