๐Ÿ’œ๊ฐœ๋ฐœ๊ณผ ์ผ์ƒ (โ‰ง∇โ‰ฆ)๏พ‰

[cuda] nvcc fatal : Unsupported gpu architecture 'compute_20' Makefile:604: recipe for target '.build_release/cuda/src/caffe/layers/absval_layer.o' failed make: *** [.build_release/cuda/src/caffe/layers/absval_layer.o] Error 1 ์—๋Ÿฌ ํ•ด๊ฒฐ ๋ณธ๋ฌธ

CS/machine learning

[cuda] nvcc fatal : Unsupported gpu architecture 'compute_20' Makefile:604: recipe for target '.build_release/cuda/src/caffe/layers/absval_layer.o' failed make: *** [.build_release/cuda/src/caffe/layers/absval_layer.o] Error 1 ์—๋Ÿฌ ํ•ด๊ฒฐ

๊ฐ•์˜์„œ 2023. 7. 9. 22:11

cuda ๋‚ด Caffe๋ฅผ ์„ค์น˜ํ•˜๋ฉด์„œ ๋ฐœ์ƒํ•œ ์—๋Ÿฌ์ด๋‹ค.

ํ•ญ์ƒ cuda ๋ฒ„์ „๊ณผ GPU ์•„ํ‚คํ…์ณ๊ฐ€ ์ง€์›ํ•˜์ง€ ์•Š๋Š” ์ƒํ™ฉ์— ์ด๋Ÿฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค.

 

ํ˜„์žฌ ๋‚ด cuda ๋ฒ„์ „์€ 11.0 ์ด๋‹ค. 

caffe ์„ค์น˜ ์‹œ, ๊ธฐ์กด์—๋Š” CUDA_ARCH ๋ถ€๋ถ„์— gencode ์„ค์ •ํ•ด์ฃผ๋Š” ๋ถ€๋ถ„์— 

compute_20, 30, 35, 50์„ ์ž…๋ ฅํ•ด๋’€์ง€๋งŒ, ๋‚ด cuda ๋ฒ„์ „์—์„œ๋Š” ์ง€์›ํ•˜์ง€ ์•Š๋Š”๋‹ค๊ณ  ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•ด์„œ ํ•ด๋‹น ์ฝ”๋“œ๋ฅผ ์ˆ˜์ •ํ–ˆ๋‹ค.

 

์ •์ƒ์ ์œผ๋กœ make๊ฐ€ ๋œ๋‹ค.