darknet_for_colab
darknet_for_colab copied to clipboard
Make failed saying *nvcc fatal : Unsupported gpu architecture 'compute_30'*
Support for 'compute_30' is removed from CUDA version 10.2. So it is unable to compile for this architecture.
Even I'm getting this error, can someone please fix this
https://stackoverflow.com/questions/64774548/unsupported-gpu-architecture-compute-30-on-a-cuda-5-capable-gpu
It worked when compute_30 was replaced with compute_50 in Makefile as given in the above link.
remove the line with compute_30 in the makefile. It works
https://stackoverflow.com/questions/64774548/unsupported-gpu-architecture-compute-30-on-a-cuda-5-capable-gpu
It worked when compute_30 was replaced with compute_50 in Makefile as given in the above link.
Changing the line ARCH= -gencode arch=compute_30,code=sm_30 \
to ARCH= -gencode arch=compute_50,code=sm_50 \
worked for me.
Changing the line
ARCH= -gencode arch=compute_30,code=sm_30 \
toARCH= -gencode arch=compute_50,code=sm_50 \
worked for me.
Can I ask where exactly is this line located? I searched it in CMakeLists.txt
and it's not there.
Changing the line
ARCH= -gencode arch=compute_30,code=sm_30 \
toARCH= -gencode arch=compute_50,code=sm_50 \
worked for me.Can I ask where exactly is this line located? I searched it in
CMakeLists.txt
and it's not there.
It is in the "Makefile"
This happens due to the upgrade CUDA on Colab. MAKEFILE has been updated to fix this issue