官术网_书友最值得收藏!

Enabling GPU usage on Windows

To use your graphics card with CNTK on Windows, you need to have the latest GeForce or Quadro drivers for your graphics card (depending on which one you have). Aside from the latest drivers, you need to install the CUDA toolkit Version 9.0 for Windows.

You can download the CUDA toolkit from the NVIDIA website: https://developer.nvidia.com/cuda-90-download-archive?target_os=Windows&target_arch=x86_64. Once downloaded, run the installer and follow the instructions on the screen.

CNTK uses a layer on top of CUDA, called cuDNN, for neural-network-specific primitives. You can download the cuDNN binaries from the NVIDIA website at https://developer.nvidia.com/rdp/form/cudnn-download-survey. In contrast to the CUDA toolkit, you need to register an account to the website before you can download the cuDNN binaries. 

Not all cuDNN binaries work with every version of CUDA. The website mentions which version of cuDNN is compatible with which version of the CUDA toolkit. For CUDA 9.0, you need to download cuDNN 7.4.1. 

Once you have downloaded the cuDNN binaries, extract the zip file into the root folder of your CUDA toolkit installation. Typically, the CUDA toolkit is located at C:\program files\NVIDIA GPU Computing Toolkit\CUDA\v9.0.

The final step to enable GPU usage inside CNTK is to install the CNTK-GPU package. Open the Anaconda prompt in Windows and execute the following command:

pip install cntk-gpu
主站蜘蛛池模板: 巴彦县| 福清市| 马龙县| 东山县| 井冈山市| 舞钢市| 通榆县| 固原市| 汤阴县| 梁河县| 常州市| 革吉县| 江阴市| 福泉市| 黑山县| 灵丘县| 汉源县| 苗栗市| 文昌市| 木里| 上杭县| 洞头县| 孟州市| 嘉峪关市| 亚东县| 比如县| 宕昌县| 秦皇岛市| 蚌埠市| 曲阳县| 泽普县| 沁水县| 塘沽区| 白朗县| 漳平市| 英吉沙县| 镇原县| 霞浦县| 礼泉县| 资阳市| 德惠市|