Is there a way to install two versions of cudnn, e.g. cudnn3 and cudnn5. The reason for asking is that: I have two different networks but both are based on customized caffe, one is using the caffe with cudnn3 and the other is using cudnn5. These two networks do need to run at the same time.
Yes, it’s possible.
Install cudnn3 into a separate directory from cudnn5
make sure your environment variable LD_LIBRARY_PATH doesn’t contain any references to either directory
Then launch:
LD_LIBRARY_PATH=/PATH/TO/CUDNN3:$LD_LIBRARY_PATH caffe_using_cudnn3
LD_LIBRARY_PATH=/PATH/TO/CUDNN5:$LD_LIBRARY_PATH caffe_using_cudnn5
Thanks… I tried and it worked…