먼저 CUDA 드라이버를 다운로드 해주어야 한다.
https://en.wikipedia.org/wiki/CUDA#Version_features_and_specifications
CUDA - Wikipedia
From Wikipedia, the free encyclopedia Jump to navigation Jump to search Parallel computing platform and programming model CUDA (or Compute Unified Device Architecture) is a parallel computing platform and application programming interface (API) that allows
en.wikipedia.org
GPUs supported 부분에서 본인의 그래픽카드와 잘 맞는 CUDA 버전을 확인해준다.
그리고 해당하는 CUDA 버전을 다운로드 해준다.
나는 그래픽카드가 1650ti 이므로 10.2 버전을 다운로드 받아줄거다.
https://developer.nvidia.com/cuda-10.2-download-archive
CUDA Toolkit 10.2 Download
Select Target Platform Click on the green buttons that describe your target platform. Only supported platforms will be shown. Operating System Architecture Distribution Version Installer Type Do you want to cross-compile? Yes No Select Host Platform Click
developer.nvidia.com
이런 엔비디아 사이트로 들어와 다운로드 하게 된다.
다음으로 cuDNN 을 설치하자.
cuDNN은
https://developer.nvidia.com/rdp/cudnn-archive
cuDNN Archive
Download releases from the GPU-accelerated primitive library for deep neural networks.
developer.nvidia.com
이 링크에서 CUDA의 버전과 맞춰서 선택하면 된다.
나는 v7.6.5을 선택하여 다운로드 해준다.
다운로드가 완료되면 해당 zip 파일의 압축을 해제해주고
그 안에 있는 파일들을 CUDA 파일이 위치해 있는 폴더에 붙여넣기 해주어야 한다.
혹시 어딘지 모른다면 "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA" 이 경로로 찾아보자.
잘 옮겨주었다면 환경변수 설정을 확인해준다.
이렇게 CUDA의 버전들이 PATH로 잘 생겼는지 확인하면 설치 끝.