Caffe: Does caffe support CUDA9.0 version? Since i want to download CUDA8.0 version, however 8.0's download link is out of date.

Created on 28 Sep 2017  ·  9Comments  ·  Source: BVLC/caffe

Please use the caffe-users list for usage, installation, or modeling questions, or other requests for help.
_Do not post such requests to Issues._ Doing so interferes with the development of Caffe.

Please read the guidelines for contributing before submitting this issue.

Issue summary

Steps to reproduce

If you are having difficulty building Caffe or training a model, please ask the caffe-users mailing list. If you are reporting a build error that seems to be due to a bug in Caffe, please attach your build configuration (either Makefile.config or CMakeCache.txt) and the output of the make (or cmake) command.

Your system configuration

Operating system:
Compiler:
CUDA version (if applicable):
CUDNN version (if applicable):
BLAS:
Python or MATLAB version (for pycaffe and matcaffe respectively):

Most helpful comment

@autocyz @zuo1188 I believe you can resolve that issue by changing the configuration in Makefile.config. Simply remove "-gencode arch=compute_20,code=sm_20"

All 9 comments

Old version cuda toolkit is placed here
https://developer.nvidia.com/cuda-toolkit-archive

meet some error when compiling with 9.0 on ubuntu
Unsupported gpu architecture 'compute_20'

@zuo1188 I also meet the same error "Unsupported gpu architecture 'compute_20'" with cuda9.0, do you resolve it ?

@autocyz @zuo1188 I believe you can resolve that issue by changing the configuration in Makefile.config. Simply remove "-gencode arch=compute_20,code=sm_20"

@ShaggO It will fail in 'make runtest'

Also looking for CUDA 9 support

Caffe is compatible with CUDA 9. Look at the comments added in #6079.

Removed compute_20, facing issue with protobuf. Any leads??

CXX .build_release/src/caffe/proto/caffe.pb.cc
In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
 #error This file was generated by a newer version of protoc which is
  ^
.build_release/src/caffe/proto/caffe.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
 #error incompatible with your Protocol Buffer headers.  Please update
  ^
.build_release/src/caffe/proto/caffe.pb.h:14:2: error: #error your headers.
 #error your headers.
  ^
In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:23:35: fatal error: google/protobuf/arena.h: No such file or directory
compilation terminated.
make: *** [Makefile:589: .build_release/src/caffe/proto/caffe.pb.o] Error 1
(caffe_p27) ubuntu@ip-172-31-42-215:~/src/caffe_python_2$ 

In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:23:35: fatal error: google/protobuf/arena.h: No such file or directory
compilation terminated.

@kalyc I doubt this is related to CUDA 9.0 compatibility. Have you installed protobuf-devel or libgflags-dev libgoogle-glog-dev.

Though Caffe Installation Guides says it's only required for Ubuntu 14.04, but I find that it's also necessary for 16.04

Was this page helpful?
0 / 5 - 0 ratings