미니콘다3 환경에서 텐서 플로우 cuda 설치 성공 > ai 자유게시판

본문 바로가기
사이트 내 전체검색

ai 자유게시판

미니콘다3 환경에서 텐서 플로우 cuda 설치 성공

페이지 정보

profile_image
작성자 최고관리자
댓글 0건 조회 121회 작성일 24-03-30 07:50

본문

짜증난다 짜증나  설치만  일주일 째
설치는 이걸로 끝내자


(tensorflow) kongsae2@DESKTOP-L46O3M2:/mnt/c/users/kongs$

이 환경이 만들어지면서

아래 설명이 설치가 됨

wsl들어가서 

cuda, cudnn 받아놓고

conda create -n tensorflow python=3.9

conda activate tensorflow

pip install "tensorflow[and-cuda]==2.15" --extra-index-url https://pypi.nvidia.com

https://webnautes.tistory.com/1873




********************

이 문제로 텐서 설치는 2.13으로 다시 한번 더  ㅠㅠ
https://github.com/tensorflow/tensorflow/issues/62075



-------------------------
wsl 환경으로 들어가서

conda create --name tf python=3.9
conda activate tf  깨끗한 가상 환경 만들어 주고
conda install -c conda-forge cudatoolkit=11.8.0
pip install nvidia-cudnn-cu11==8.6.0.163
pip install --upgrade pip
pip install tensorflow==2.13.*
test the GPU



Anaconda installed at D:\Anaconda3\
conda create -n tf39 python=3.9.*
conda activate tf39
conda install -c conda-forge cudatoolkit=11.8.*
pip install nvidia-cudnn-cu11
pip install tensorflow==2.10.*

Set wherer the cudnn64_8.dll is located that install in previous step
conda env config vars set PATH=D:\Anaconda3\envs\tf39\Lib\site-packages\nvidia\cudnn\bin;%PATH%

in my environment, GPU can be found and running the calculation.

댓글목록

등록된 댓글이 없습니다.


회사소개 개인정보취급방침 서비스이용약관 모바일 버전으로 보기 상단으로

Magu.co.kr. All rights reserved.