Based on Tensorflow installation guidance, the CUDA version required is 9.0, as listed in Fig 7. For CUDA 9.0, choose “Legacy Releases” Step 3.1: Downloading CUDA 9.0 from the CUDA Toolkit ArchiveĬhoosing “Legacy Releases” takes you to the CUDA Toolkit Archive. Fig 6: The default (most recent) version of CUDA for Windows at that point in time is cuda_10.0.130_411.31_win10.exe. To find CUDA 9.0 or any earlier releases, you need to navigate to the “Legacy Releases” on the bottom right hand side of Fig 6. When you go onto the Tensorflow website, the latest version of Tensorflow available (1.12.0) requires CUDA 9.0, not CUDA 10.0. However, you should check which version of CUDA Toolkit you choose for download and installation to ensure compatibility with Tensorflow (looking ahead to Step 7 of this process). The CUDA Toolkit (free) can be downloaded from the Nvidia website here.Īt the original time of writing this tutorial, the default version of CUDA Toolkit offered is version 10.0, as shown in Fig 6. These CUDA installation steps are loosely based on the Nvidia CUDA installation guide for windows. Step 3: Download CUDA Toolkit for Windows 10 Rebooting my PC before attempting to install CUDA Toolkit again solved this problem. I got a message that Visual Studio was still operating and was preventing the installation of CUDA Toolkit. Fig 5: I didn’t add workloads on prompting by Visual Studio 2.4 A PC reboot after installation of Visual Studio May be RequiredĪfter installing Visual Studio, I initially moved straight on to downloading and attempting to install CUDA Toolkit for Windows - that step is Step 3 which I will be describing next. I pressed ‘continue’ here, as I had no intention of using workloads at all. Fig 4: installation window for Visual Studio Community 2017ĭuring installation, Visual Studio prompts you to as whether you ‘ want to continue without workloads’. When you press the ‘save file’ option on Fig 3, the window in Fig 4 will appear where you can set installation options (or just leave them as they are by default, as I did). Fig 3: The Visual Studio Community executable file Fig 3 shows the executable file (.exe) you receive as a download. Once you have downloaded Visual Studio Express, its initial installation is straightforward. Fig 2: Visual Studio Community 2017 (free) 2.3 Installing Visual Studio Express You can get previous versions of Visual Studio for free by joining “ Visual Studio Dev Essentials” and then searching for the version of Visual Studio you want. Fig 1: Message when attempting to install CUDA Toolkit without Visual Studio 2.2 Selecting and downloading Visual Studio ExpressĪt the original time of writing, the most recent version of Visual Studio (which is free) is the Visual Studio Express Community Version 2017, shown in Fig 2. 1, “No supported version of Visual Studio was found”. If you attempt to download and install CUDA Toolkit for Windows without having first installed Visual Studio, you get the message shown in Fig. Visual studio is required for the installation of Nvidia CUDA Toolkit (this prerequisite is referred to here). Step 2: Download and Install Visual Studio Express 2.1 Visual Studio is a Prerequisite for CUDA Toolkit Step 1: Check the software versions you will need to installĪssuming that Windows is already installed on your PC, the additional bits of software you will install as part of these steps are:. Step 8: Test Installation of TensorFlow and its access to GPU.Step 7.2: System wide install of Tensorflow via python pip. Step 7.1: Calling up the command prompt with administration rights.Step 7: Install Tensorflow with GPU support.Step 6: Install Python (if you don’t already have it).Step 5.3: Checking CUDA environment variables are set in Windows.Step 5.2: Unzipping cuDNN files and copying to CUDA folders.Step 4: Download Windows 10 CUDA patches.Step 3.1: Downloading CUDA 9.0 from the CUDA Toolkit Archive.Step 3: Download CUDA Toolkit for Windows 10.2.4 A PC reboot after installation of Visual Studio May be Required.2.2 Selecting and downloading Visual Studio Express.2.1 Visual Studio is a Prerequisite for CUDA Toolkit.Step 2: Download and Install Visual Studio Express.Step 1: Check the software versions you will need to install.
0 Comments
Leave a Reply. |