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.

以此類(lèi)推,下面我們只舉這一個(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)系作者
  • 序言:七十年代末站超,一起剝皮案震驚了整個(gè)濱河市撞蜂,隨后出現(xiàn)的幾起案子础爬,更是在濱河造成了極大的恐慌拂玻,老刑警劉巖奴饮,帶你破解...
    沈念sama閱讀 219,427評(píng)論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異缝龄,居然都是意外死亡寨闹,警方通過(guò)查閱死者的電腦和手機(jī)胶坠,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,551評(píng)論 3 395
  • 文/潘曉璐 我一進(jìn)店門(mén),熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)繁堡,“玉大人沈善,你說(shuō)我怎么就攤上這事√” “怎么了矮瘟?”我有些...
    開(kāi)封第一講書(shū)人閱讀 165,747評(píng)論 0 356
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)塑娇。 經(jīng)常有香客問(wèn)我澈侠,道長(zhǎng),這世上最難降的妖魔是什么埋酬? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 58,939評(píng)論 1 295
  • 正文 為了忘掉前任哨啃,我火速辦了婚禮烧栋,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘拳球。我一直安慰自己审姓,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,955評(píng)論 6 392
  • 文/花漫 我一把揭開(kāi)白布祝峻。 她就那樣靜靜地躺著魔吐,像睡著了一般。 火紅的嫁衣襯著肌膚如雪莱找。 梳的紋絲不亂的頭發(fā)上酬姆,一...
    開(kāi)封第一講書(shū)人閱讀 51,737評(píng)論 1 305
  • 那天,我揣著相機(jī)與錄音奥溺,去河邊找鬼辞色。 笑死,一個(gè)胖子當(dāng)著我的面吹牛浮定,可吹牛的內(nèi)容都是我干的相满。 我是一名探鬼主播,決...
    沈念sama閱讀 40,448評(píng)論 3 420
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼桦卒,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼立美!你這毒婦竟也來(lái)了?” 一聲冷哼從身側(cè)響起方灾,我...
    開(kāi)封第一講書(shū)人閱讀 39,352評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤悯辙,失蹤者是張志新(化名)和其女友劉穎,沒(méi)想到半個(gè)月后迎吵,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,834評(píng)論 1 317
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡针贬,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,992評(píng)論 3 338
  • 正文 我和宋清朗相戀三年击费,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片桦他。...
    茶點(diǎn)故事閱讀 40,133評(píng)論 1 351
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡蔫巩,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出快压,到底是詐尸還是另有隱情圆仔,我是刑警寧澤,帶...
    沈念sama閱讀 35,815評(píng)論 5 346
  • 正文 年R本政府宣布蔫劣,位于F島的核電站坪郭,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏脉幢。R本人自食惡果不足惜歪沃,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,477評(píng)論 3 331
  • 文/蒙蒙 一嗦锐、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧沪曙,春花似錦奕污、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 32,022評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至缘眶,卻和暖如春嘱根,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背磅崭。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 33,147評(píng)論 1 272
  • 我被黑心中介騙來(lái)泰國(guó)打工儿子, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人砸喻。 一個(gè)月前我還...
    沈念sama閱讀 48,398評(píng)論 3 373
  • 正文 我出身青樓柔逼,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親割岛。 傳聞我的和親對(duì)象是個(gè)殘疾皇子愉适,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,077評(píng)論 2 355

推薦閱讀更多精彩內(nèi)容