Change CUDA / Cudnn version without root privileges条评论
On a machine that is used publicly, one can’t update its cuda or cudnn version arbitrarily. Here is a way you can use the version you need. Without root privileges, you can do this to make your code run well:
Below is the example of cudnn:(Cuda can be done in the same way.)
Because the essence of cuda or cudnn is dynamic link library, so all you need do is to make your machine know where to link it properly.
You can download and extract the proper version of cuda or cudnn to your
~ directory (or anywhere you like).
Then append these to your
~/.bashrc (or something like
source .bashrc will make it work perfectly.
- 版权声明：本博客所有文章除特别声明外，均采用 CC BY-NC-SA 3.0 CN 许可协议。转载请注明出处！