sudo vi /etc/apt/sources.list
:%s/kr.archive.ubuntu.com/mirror.kakao.com/
sudo apt-get update
Summary
GPU : GTX 3060
python : 3.8
conda : 최신
cuda : 11.3
pytorch : 1.12.1
https://jooona.tistory.com/140
conda activate base
(base) conda config --set auto_activate_base false
conda 가상환경 생성 시 python 3.8 버전 명시
conda create -n torch python=3.8
wget https://developer.download.nvidia.com/compute/cuda/11.3.0/local_installers/cuda_11.3.0_465.19.01_linux.run
sudo sh cuda_11.3.0_465.19.01_linux.run
https://cchhoo407.tistory.com/17
Download cuDNN v8.2.0 (April 23rd, 2021), for CUDA 11.x for linux(x86_64)
설치방법 : https://wikidocs.net/158543
# CUDA 11.3
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch
torch 작동 확인
python -c "import torch; print(torch.cuda.is_available())"