진짜 하루종일 환경설정하느라 머리 터질뻔했는데 생각보다 매우 쉽고... 좋은 방법이 있었다.

아나콘다 접속

conda create --name tf python=3.9
conda activate tf

conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
pip install --upgrade pip
pip install "tensorflow-gpu<2.11"
pip install "tensorflow<2.11"

그리고 주피터 노트북도 혹시 모를 충돌이 있을 수 있으니 새로운 커널을 만들어서 실행하면 된다...

너무나 많은 삽질을 하고 깔고 지우고를 반복했다.

이제 그만... 진짜 이 쉬운 방법 알려준 분 감사합니다.

 

Reference:

https://stackoverflow.com/questions/74926403/how-to-set-up-tensorflow-gpu-on-windows-11

 

 

+ Recent posts