CUDA is something that needs to be installed when using NVIDIA GPUs and graphics cards in machine learning, deep learning programming, or gaming. In Python machine learning programming, tensorflow is often used, and to use tensorflow, installation of NVIDIA GPU drivers and corresponding versions of CUDA is required.
Download CUDA from the following.
Installation Guide Windows :: CUDA Toolkit Documentation
Requirements for installing CUDA include mainly the following. Letโs check them.
The Visual Studio that should be installed varies depending on the timing and version. Please check the documentation. As of 2021, installing both 2017 and 2019 should be fine.
<>
- CUDA-capable GPU
- Visual Studio 2017, 2019
- NVIDIA CUDA Toolkit
need the following installed: CUDA-capable GPU Visual Studio NVIDIA CUDA ToolkitDownload the NVIDIA CUDA Toolkit from the following. "network installer" is recommended.
CUDA Toolkit 11.2 Downloads | NVIDIA Developer
Note that Windows 10 updates should not occur during NVIDIA CUDA Toolkit installation. The installation may fail.
The installation may fail if Windows Update starts after the installation has begunAfter completing the installation of CUDA and required components, let's verify that CUDA has been installed successfully.
The following verifications indicate that CUDA installation was successful.
- A folder like
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2has been created nvcc -Vdisplays the CUDA version (if not, confirm that the path is set)