๊ด€๋ฆฌ ๋ฉ”๋‰ด

bro's coding

PyCharm์—์„œ Cuda(GPU)์‚ฌ์šฉํ•˜๊ธฐ ๋ณธ๋ฌธ

[AI]

PyCharm์—์„œ Cuda(GPU)์‚ฌ์šฉํ•˜๊ธฐ

givemebro 2020. 7. 21. 10:31
๋ฐ˜์‘ํ˜•

1. Aanaconda download

https://www.anaconda.com/products/individual

 

Individual Edition

๐Ÿ Open Source Anaconda Individual Edition is the world’s most popular Python distribution platform with over 20 million users worldwide. You can trust in our long-term commitment to supporting the Anaconda open-source ecosystem, the platform of choice

www.anaconda.com

2. Pycharm download

https://www.jetbrains.com/ko-kr/?utm_source=naver&utm_medium=brandsearch&utm_campaign=KR-NAVER-BS-PC&utm_content=Brand_B

 

JetBrains: Developer Tools for Professionals and Teams

JetBrains is a cutting-edge software vendor specializing in the creation of intelligent development tools, including IntelliJ IDEA – the leading Java IDE, and the Kotlin programming language.

www.jetbrains.com

 

3. Visual Studio download

https://visualstudio.microsoft.com/ko/

 

Visual Studio IDE, ์ฝ”๋“œ ํŽธ์ง‘๊ธฐ, Azure DevOps ๋ฐ App Center - Visual Studio

Visual Studio ๊ฐœ๋ฐœ์ž ๋„๊ตฌ ๋ฐ ์„œ๋น„์Šค๋กœ ๋ชจ๋“  ํ”Œ๋žซํผ์—์„œ ์–ด๋–ค ์–ธ์–ด๋กœ๋“  ์•ฑ ๊ฐœ๋ฐœ์„ ์‰ฝ๊ฒŒ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Mac ๋ฐ Windows ์ฝ”๋“œ ํŽธ์ง‘๊ธฐ, IDE ๋˜๋Š” Azure DevOps๋ฅผ ์ฒดํ—˜ํ•ด ๋ณด์„ธ์š”.

visualstudio.microsoft.com

4. Cuda install

https://developer.nvidia.com/cuda-toolkit-archive

 

CUDA Toolkit Archive

Previous releases of the CUDA Toolkit, GPU Computing SDK, documentation and developer drivers can be found using the links below. Please select the release you want from the list below, and be sure to check www.nvidia.com/drivers for more recent production

developer.nvidia.com

ver 9.0 or 10.0

5. set interpreter 

>ํŒŒ์ด์ฐธ ์‹คํ–‰ > interpreter์„ค์ • > ์•„๋‚˜์ฝ˜๋‹ค ๊ฐ€์ƒํ™˜๊ฒฝ ์„ ํƒ

>ํŒŒ์ด์ฐธ terminalํƒญ์—์„œ ํ•ด๋‹น ๊ฐ€์ƒํ™˜๊ฒฝ ์ง„์ž…>activae ๊ฐ€์ƒํ™˜๊ฒฝ์ด๋ฆ„

ํ•ด๋‹น ๊ฐ€์ƒํ™˜๊ฒฝ์— tensorflow-gpu, cuda, cudnn ์„ค์น˜ 

conda install tensorflow-gpu=1.12

conda install -c ananconda cudatoolkit==9.0

conda install -c ananconda cudnn==9.0

$ conda install tensorflow-gpu=1.12

$ conda install -c ananconda cudatoolkit==9.0

$ conda install -c ananconda cudnn==9.0

 

 

 

 

 

Done!!!

 

 

 

 

 

 

 

 

 

 

 

์„ฑ๊ณตํ•˜์…จ๋‹ค๋ฉด ๊ณต๊ฐ ๊พธ์šฑ!

 

๋ฐ˜์‘ํ˜•
Comments