※ Docker container 안에 cuda와 호환되는 pytorch 설치
※ [Error] no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. 에러 해결법
※ 사용환경 : RTX 3090, cuda 11.2
- 본인의 pip 환경에 따라서 pip, pip3 선택해서 설치
pip : python2
pip3 : python3
더보기
Error: Command 'pip3' not found, but can be installed with 에러가 뜨는 경우
$ apt-get install -y python3-pip
python3도 없다면
$ apt-get install -y python3 하고, 그 다음에 pip 설치하기
$ pip2 install torch==1.10.2+cu113 torchvision==0.11.3+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
$ pip3 install torch==1.10.2+cu113 torchvision==0.11.3+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
- 설치 확인
'Setting, Error > Python, Python Library' 카테고리의 다른 글
Jupyter Notebook 자동완성 Tab 안 될 때 (0) | 2022.02.13 |
---|---|
Pytorch GPU 동작 확인 (0) | 2022.02.13 |
RTX 3090 Tensorflow GPU 동작확인 (0) | 2021.11.23 |
[Install] RTX 3090, cuda 11.2 Tensorflow-gpu 설치 (0) | 2021.11.23 |
[Jupyter] Jupyter notebook 비밀번호 설정 (0) | 2021.08.06 |