- Deep Learning with Microsoft Cognitive Toolkit Quick Start Guide
- Willem Meints
- 222字
- 2021-07-02 12:08:38
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
- 大規(guī)模數(shù)據(jù)分析和建模:基于Spark與R
- Greenplum:從大數(shù)據(jù)戰(zhàn)略到實(shí)現(xiàn)
- Python金融大數(shù)據(jù)分析(第2版)
- 中國(guó)數(shù)字流域
- 科研統(tǒng)計(jì)思維與方法:SPSS實(shí)戰(zhàn)
- IPython Interactive Computing and Visualization Cookbook(Second Edition)
- Chef Essentials
- 貫通SQL Server 2008數(shù)據(jù)庫(kù)系統(tǒng)開發(fā)
- Spring MVC Beginner’s Guide
- 數(shù)據(jù)挖掘競(jìng)賽實(shí)戰(zhàn):方法與案例
- openGauss數(shù)據(jù)庫(kù)核心技術(shù)
- MySQL數(shù)據(jù)庫(kù)應(yīng)用與管理
- Rust High Performance
- SOLIDWORKS 2018中文版機(jī)械設(shè)計(jì)基礎(chǔ)與實(shí)例教程
- 社交網(wǎng)站的數(shù)據(jù)挖掘與分析(原書第2版)