cuDNN

The NVIDIA CUDA? Deep Neural Network library (cuDNN) is a GPU-accelerated library of primitives for deep neural networks. cuDNN provides highly tuned implementations for standard routines such as forward and backward convolution, pooling, normalization, and activation layers. For more information go to https://developer.nvidia.com/cudnn.

To use cuDNN v5.1.10 for CUDA 7.5 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn5.1-7.5/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn5.1-7.5/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn5.1-7.5/lib64:$LIBRARY_PATH

Or load the environment module for cuDNN v5.1.10 for CUDA 7.5, by executing the following command,

module load cudnn/5.1-7.5

Note: This module also contains the correct CUDA paths.
cuDNN v5.1.10 for CUDA 7.5 documentation can be found in /usr/local/cudnn5.1-7.5/doc
cuDNN v5.1.10 for CUDA 7.5 sample can be found in /usr/local/cudnn5.1-7.5/sample
To use **cuDNN v6.0.21 for CUDA 7.5 **you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn6.0-7.5/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn6.0-7.5/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn6.0-7.5/lib64:$LIBRARY_PATH

Or load the environment module for cuDNN v6.0.21 for CUDA 7.5, by executing the following command,

module load cudnn/6.0-7.5

Note: This module also contains the correct CUDA paths.

cuDNN v6.0.21 for CUDA 7.5 documentation can be found in /usr/local/cudnn6.0-7.5/doc

cuDNN v6.0.21 for CUDA 7.5 sample can be found in /usr/local/cudnn6.0-7.5/sample

To use cuDNN v5.1.10 for CUDA 8.0 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn5.1-8.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn5.1-8.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn5.1-8.0/lib64:$LIBRARY_PATH

Or load the environment module for v5.1.10 for CUDA 8.0, by executing the following command,

module load cudnn/5.1-8.0

Note: This module also contains the correct CUDA paths.

cuDNN v5.1.10 for CUDA 8.0 documentation can be found in /usr/local/cudnn5.1-8.0/doc

To use cuDNN v6.0.21 for CUDA 8.0 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn6.0-8.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn6.0-8.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn6.0-8.0/lib64:$LIBRARY_PATH

Or load the environment module for v6.0.21 for CUDA 8.0, by executing the following command,

module load cudnn/6.0-8.0

Note: This module also contains the correct CUDA paths.

To use cuDNN v7.0.5 for CUDA 8.0 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn7.0-8.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn7.0-8.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn7.0-8.0/lib64:$LIBRARY_PATH

Or load the environment module for v7.0.5 for CUDA 8.0, by executing the following command,

module load cudnn/7.0-8.0

Note: This module also contains the correct CUDA paths.
To use cuDNN v7.2.1 for CUDA 8.0 you need to add the following environment variables to your .bashrc file,

export CPATH=/usr/local/cudnn7.2-8.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn7.2-8.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn7.2-8.0lib64:$LIBRARY_PATH

Or load the environment module for v7.2.1 for CUDA 8.0, by executing the following command,

module load cudnn/7.2-8.0

Note: This module also contains the correct CUDA paths.

To use cuDNN v7.0.5 for CUDA 9.0 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn7.0-9.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn7.0-9.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn7.0-9.0/lib64:$LIBRARY_PATH

Or load the environment module for v7.0.5 for CUDA 9.0, by executing the following command,

module load cudnn/7.0-9.0

Note: This module also contains the correct CUDA paths.
To use cuDNN v7.1.4 for CUDA 9.0 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn7.1-9.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn7.1-9.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn7.1-9.0/lib64:$LIBRARY_PATH

Or load the environment module for v7.1.4 for CUDA 9.0, by executing the following command,

module load cudnn/7.1-9.0

Note: This module also contains the correct CUDA paths.

To use cuDNN v7.2.1 for CUDA 9.0 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn7.2-9.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn7.2-9.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn7.2-9.0/lib64:$LIBRARY_PATH

Or load the environment module for v7.2.1 for CUDA 9.0, by executing the following command,

module load cudnn/7.2-9.0

Note: This module also contains the correct CUDA paths.

To use cuDNN v7.3.1 for CUDA 9.0 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn7.3-9.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn7.3-9.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn7.3-9.0/lib64:$LIBRARY_PATH

Or load the environment module for v7.3.1 for CUDA 9.0, by executing the following command,

module load cudnn/7.3-9.0

Note: This module also contains the correct CUDA paths.

To use cuDNN v7.4.2 for CUDA 9.0 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn7.4-9.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn7.4-9.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn7.4-9.0/lib64:$LIBRARY_PATH

Or load the environment module for v7.4.2 for CUDA 9.0, by executing the following command,

module load cudnn/7.4-9.0

Note: This module also contains the correct CUDA paths.

以此類推,下面我們只舉這一個(gè)CUDA 10的一個(gè)例子

To use cuDNN v7.5.0 for CUDA 10.0 you will need to add the following environment variables to your .bashrc file or wrapper script,

export CPATH=/usr/local/cudnn7.5-10.0/include:$CPATH
export LD_LIBRARY_PATH=/usr/local/cudnn7.5-10.0/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/local/cudnn7.5-10.0/lib64:$LIBRARY_PATH

Or load the environment module for v7.5.0 for CUDA 10.0, by executing the following command,

module load cudnn/7.5-10.0

Note: This module also contains the correct CUDA paths.

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容