cuDNN version mismatch error

(Adnan Siraj Rakin) #1

Hi I have a cudnn version mismatch error when i try to run my pytorch.
RuntimeError: cuDNN version mismatch: PyTorch was compiled against 6021 but linked against 5110.
I have checked my Cudnn version which is 6 .

Why I am getting this error? What should I do?

if i have to remove the path to cuDNN5 from my $LD_LIBRARY_PATH, how can i do that?

(Adnan Siraj Rakin) #2

can you help me with this one ?


Yes you can remove from your LD_LIBRARY_PATH folders.

(Adnan Siraj Rakin) #4

@smth Thanks but I dont know how to do that?