728x90

๋”ฅ๋Ÿฌ๋‹ 10

[๊ฐœ๋ฐœ ํ™˜๊ฒฝ] ์œˆ๋„์šฐ์— CUDA ๋ฒ„์ „์— ๋งž๊ฒŒ torch ์„ค์น˜, pytorch GPU ์‚ฌ์šฉ

ahnty0122.tistory.com/37?category=454641 [ํ™˜๊ฒฝ์„ค์ •] ์œˆ๋„์šฐ(Windows)์— Tensorflow-gpu ์„ค์น˜(NVIDIA driver, CUDA Toolkit, cuDNN ์„ค์น˜) GPU๋ฅผ ์ด์šฉํ•ด ๋ชจ๋ธ์„ ํ•™์Šต์‹œํ‚ค๋ฉด ํ•™์Šต ์†๋„๊ฐ€ ๋งค์šฐ๋งค์šฐ๋งค์šฐ ๋น ๋ฅด๋‹ค. ๊ทธ๋ž˜์„œ ๋”ฅ๋Ÿฌ๋‹์€ ๋ชจ๋ธ GPU๊ฐ€ ์—†์œผ๋ฉด ํ•™์Šต์‹œํ‚ค๊ธฐ ์–ด๋ ค์›€. ๊ทผ๋ฐ ์ฒ˜์Œ ๋”ฅ๋Ÿฌ๋‹ ๋ชจ๋ธ ๋Œ๋ฆด ๋•Œ ๋‚˜๋ฅผ ์ •๋ง ์• ๋จน์ด๋˜..^^ tensorflow-gpu ์„ค ahnty0122.tistory.com ์•ž์„  ๊ธ€์— ์ ์–ด๋†“์•˜๋˜ nvidia driver ์„ค์น˜, cuda ์„ค์น˜, cudnn ์„ค์น˜๋ฅผ ์™„๋ฃŒํ•œ ํ›„ ์ง„ํ–‰ํ•˜๋ฉด torch ์„ค์น˜๋Š” ์•„์ฃผ ์‰ฝ๋‹ค. ์šฐ์„  cmd ์ผœ์„œ cuda ๋ฒ„์ „ ํ™•์ธ nvcc --version cuda๊ฐ€ 10.0์ด๋ฏ€๋กœ ๊ทธ์— ๋งž๋Š” torc..

[๊ฐœ๋ฐœ ํ™˜๊ฒฝ] ์œˆ๋„์šฐ(Windows)์— Tensorflow-gpu ์„ค์น˜(NVIDIA driver, CUDA Toolkit, cuDNN ์„ค์น˜)

GPU๋ฅผ ์ด์šฉํ•ด ๋ชจ๋ธ์„ ํ•™์Šต์‹œํ‚ค๋ฉด ํ•™์Šต ์†๋„๊ฐ€ ๋งค์šฐ๋งค์šฐ๋งค์šฐ ๋น ๋ฅด๋‹ค. ๊ทธ๋ž˜์„œ ๋”ฅ๋Ÿฌ๋‹์€ ๋ชจ๋ธ GPU๊ฐ€ ์—†์œผ๋ฉด ํ•™์Šต์‹œํ‚ค๊ธฐ ์–ด๋ ค์›€. ๊ทผ๋ฐ ์ฒ˜์Œ ๋”ฅ๋Ÿฌ๋‹ ๋ชจ๋ธ ๋Œ๋ฆด ๋•Œ ๋‚˜๋ฅผ ์ •๋ง ์• ๋จน์ด๋˜..^^ tensorflow-gpu ์„ค์น˜ ๊ทธ ๋• ๊ฒฐ๊ตญ ํฌ๊ธฐํ•˜๊ณ  ๋ฆฌ๋ˆ…์Šค ์„œ๋ฒ„ ์ ‘์†ํ•ด์„œ ๊น”์•˜์—ˆ๋‹ค. ํ•˜์ง€๋งŒ ๋‹ค์‹œํ•ด๋ณด๋‹ˆ ์ž˜ ๋ผ์„œ ๋ฐฉ๋ฒ• ๊ณต์œ  ์ฐจ ์˜ฌ๋ฆฌ๋Š” ๊ธ€ +++++++ ์ปดํŒŒ์ผ๋Ÿฌ ํ™˜๊ฒฝ์„ ์œ„ํ•œ Visual Studio ์„ค์น˜ํ•ด์•ผํ•จ Visual Studio 2019 ๋ฒ„์ „์ด๋‚˜ 2017 ๋ฒ„์ „ ๋‹ค์šด๋ฐ›๊ธฐ! docs.microsoft.com/ko-kr/visualstudio/releases/2019/release-notes Visual Studio 2019 ๋ฒ„์ „ 16.8 ๋ฆด๋ฆฌ์Šค ์ •๋ณด Visual Studio 2019 ๋ฒ„์ „ 16.8์˜ ์ตœ์‹  ๊ธฐ๋Šฅ, ๋ฒ„๊ทธ ์ˆ˜์ •..

728x90