-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvcc fatal : Unsupported gpu architecture 'compute_61' #5141
Comments
CUDA 7.5 is old so it may not support 'compute_61'. I'm using CUDA8.0 + Geforce1070 with no problem. |
Yeah..it would be nice to have release branches though..instead of a master branch that you never know might break with a new opencv or cuda or whatever release |
You should modify
|
If using cmake, look for CUDA_ARCH_NAME. It can be set to "Manual" if your arch is not listed. After a Configure, CUDA_ARCH_BIN and CUDA_ARCH_PTX will be available. |
For me the vanilla file didn't have compute_60 at all:
And yet I get: Anybody has any ideas what else can I try? |
I have the same problem with you, have you solved it yet? @Huxwell |
I works only on machines with gtx1070 or gtx1080 for me. |
Even after commenting, while building, this error pops up on CUDA 7.0 with cuDNN 5.0. on Ubuntu 14.04 |
It might concern only me, but if there is any chance that you are using some nvidia-docker dockerfile from different repo, please double check if you really use the Makefile.config file that you edited, not the default one which gets automatically renamed by a script or some file downloaded from github during the docker building process. |
I downloaded the caffe version from the caffe github website and then changed the Makefile.config using CUDA 7.0 and cuDNN 5.0. I followed the standard procedure of mv makefile.config.example makefile.config to make changes and then using build directory to build it. |
I solve this problem by following: |
Hello Everyone, I am using CUDA 9.0 on Ubuntu 16.04 and I am facing the following error:
This can be resolved by removing the lines in the Makefile.config :
Best, |
…8 and cause compilation failure in cuda 9 BVLC#5141
Where can i find the Makefile.config? I have the same problem, but i can't find this archive to edit. |
Can't find it either. |
I mean..Caffe is sort of dead now. Everybody is publishing work to TF now |
In chriskraus0 say: -gencode arch=compute_20,code=sm_20 But i can't find the Makefile.config to edit. How can i edit? I need make this archive. I don't understand, i am beginner. |
Hello, the file is in the base folder of caffe, or you have to create it by copying/renaming Makefile.config.example. Have a look at the installation instructions ( http://caffe.berkeleyvision.org/installation.html#compilation). Best wishes, |
Thank you so much! |
using cmake to build caffe, CUDA 8, cuDNN V7, 1070 Ti "[ 1%] Built target caffeproto src/caffe/CMakeFiles/caffe.dir/build.make:483: recipe for target 'src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_prelu_layer.cu.o' failed please help |
I am having a similar problem. I am trying to install Caffe into a Docker image. I am doing so for trying out some code for Gaze Analysis. I am using Cuda 7.5 and CuDNN 5 on Ubunut 14. I have modified the GPU Dokerfile in this repository to use those. As suggested I have removed these lines from Makefile.config:
I've also made sure that the version of NCCV I am using is compatible with the Cuda and CuDNN versions. However, when the process gets to the point of running
Which is reasonable as
Which makes me think that it is completely ignoring Makefile.config as sm_52 does not appear here while it does in said file. However, something very weird happens if I try to do this from within a Docker container. So I built an image that performed all steps in the Dockerfile up to creating the build folder. Then I ran that image with
In this setting, the output is this:
As the architecture is supported this finishes without problems and so does Anyone has any idea on what is going on? Or how could this be solved? Thanks in advance. |
@javierselva It looks like you are not compiling with the Makefile, but rather you are using CMake. In that case, this is a different build system and you need to remove/change the GPU archs with something like cmake-gui. |
Great! Thank you very much, @naibaf7, I am a bit new to compiling stuff and I still get confused with the differences between Make and CMake. I'll research it for future issues. So following your response, I modified the cmake/Cuda.cmake file and removed the architectures 60 and 61 in lines 7 and 92:93. Now everything seems to be working perfectly. Thanks again!! |
@Noiredd I think it's time to abandon the Makefile build system, due to issues like @javierselva is reporting. What do you think? |
@naibaf7 I don't have a clear opinion on that, mostly due to my limited experience with make/cmake. Still, having a single build system would likely limit the failure points, so it might be a good thing to do. |
@Noiredd At least for the OpenCL branch, the Makefile infrastructure has become unmaintainable and it will be removed there soon. Also people get easily confused between the two, as evident here. |
For windows ? |
@prehensilecode Look forward to your reply. |
Issue summary
I have the following configuration below but at the very start of compilation, it throws the errors for all gpu modules:
Why is this the case? Is 7.5 not supported on the master branch for the new Geforce 1070/1080 cards?
Your system configuration
Operating system:
Compiler: GCC 4.8.4
CUDA version (if applicable): 7.5
CUDNN version (if applicable): 5.0
BLAS:
Python or MATLAB version (for pycaffe and matcaffe respectively):
The text was updated successfully, but these errors were encountered: