cuDNN version mismatch error

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?

can you help me with this one ?

Yes you can remove libcudnn.so.5 from your LD_LIBRARY_PATH folders.

1 Like

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