반응형
1. 내컴퓨터 그래픽카드 사양 확인하기
바탕화면 마우스 우클릭 > NVIDIA 제어판(NVIDIA Control Panel) > 시스템 정보(System Information)
ex) 아래 내 노트북의 경우 NVIDIA GeForce 940MX
2. GPU Compute Capability 확인하기
아래 사이트에서 검색하면 GeForce GTX 1080 Ti 의 경우 6.1
3. GPU Compute Capability 호환 suda sdk 버전 확인 (녹색 부분이 Compute Capability 점수임)
아래 사이트에서 Compute Capability 6.1 기준 cuda 8~12까지 사용 가능
※ 특별히 필요한 cuda 버전이 없다면 pytorch에서 지원하는 최신 버전으로 설치(아래 5번 참조)
※ 20230519 현 시점 기준 pytorch는 cuda 11.8버전까지만 지원 중
4. cuda toolkit Archive 다운로드 및 설치
※ 설치 방법은 구글링 참조
5. pytorch 다운로드 및 설치
사이트 접속하여 자신의 상황에 맞게 선택하고 Run this Command 항목의 내용을 복사하여 실행
※ 20230519 현 시점 기준 pytorch 최신 버전은 2.0.1
이전 버전의 pytorch를 설치하고 싶으면 아래 사이트 참조
※ 아래 사이트에서 cuda 버전과 torch 버전을 확인하고 설치하자.
ex) CUDA 11.7 / torch 2.0.0
# CUDA 11.7
pip install torch==2.0.0+cu117 torchvision==0.15.1+cu117 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu117
728x90
'AI & 머신러닝 & 딥러닝' 카테고리의 다른 글
[딥러닝] Point Cloud labeling tool (0) | 2023.05.25 |
---|---|
[인공지능] 괜찮은 사이트 추천 (0) | 2023.05.20 |
[딥러닝] 기본 프로세스 및 주요 용어 (0) | 2022.07.26 |
[딥러닝] 개발환경 구축하기 (0) | 2022.07.25 |