Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do I update cuDNN to a newer version?

the cuDNN installation manual says

ALL PLATFORMS

Extract the cuDNN archive to a directory of your choice, referred to below as . Then follow the platform-specific instructions as follows.

LINUX

cd export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH

Add to your build and link process by adding -I to your compile line and -L -lcudnn to your link line.

It seems that it simply adds pwd to LD_LIBRARY_PATH, so I guess just replacing the files in pwd will do the update.

But it seems not that simple as after I've done this I got a complaint from Theano saying

cuDNN Version is too old. Update to v5, was 3007.

like image 619
dontloo Avatar asked Jul 01 '16 05:07

dontloo


1 Answers

  1. replace cudnn.h in dir/cuda/include/
  2. remove the old library files in dir/cuda/lib64/
  3. add new library files to dir/cuda/lib64/
like image 143
dontloo Avatar answered Sep 25 '22 04:09

dontloo