Must have CUDA to install Caffe?

1,305 views
Skip to first unread message

Eduardo Franco

unread,
Apr 21, 2015, 10:58:44 PM4/21/15
to caffe...@googlegroups.com
Hello,
My laptop does not have CUDA capable GPU but I was hoping to be able to install Caffe to get used to the interface before using it at a job I start soon. I don't intend to use GPU mode on my laptop. Is there any way I can install it without having CUDA installed? Currently I'm getting the error "'cublas_v2.h' file not found" when installing.
Thanks

Karl

unread,
Apr 22, 2015, 4:13:40 AM4/22/15
to caffe...@googlegroups.com
Hi Eduardo,

I'm fairly sure you can do this by changing the makefile.config file to CPU only, I'm not at my main machine so can't check but if you have a look in the config file (I think in the installation instructions it gets you to copy the example config and modify where needed), you should see a flag for CPU/GPU configuration.

If you set this flag correctly it should install without CUDA I believe.

Thanks.

Fabio Maria Carlucci

unread,
Apr 22, 2015, 4:46:10 AM4/22/15
to caffe...@googlegroups.com
Hi Eduardo,
I confirm you can install it without CUDA, I did. :)
Just check makefile.config

Caffe_User

unread,
Apr 22, 2015, 5:19:28 AM4/22/15
to caffe...@googlegroups.com
If not install the CUDA or no GPU device, that's also could use Caffe, but one thing you need note that enable the CPU mode, which do in the Makefile.config. If not not clear, the Caffe's official website also provide some suggestions about this.  Thanks!

在 2015年4月22日星期三 UTC+8上午10:58:44,Eduardo Franco写道:

Eduardo Franco

unread,
Apr 22, 2015, 8:02:47 AM4/22/15
to caffe...@googlegroups.com
great, thanks!!!!

Eduardo Franco

unread,
Apr 22, 2015, 10:44:59 AM4/22/15
to caffe...@googlegroups.com
I have caffe installed, however when I type 'caffe' into my terminal or 'cmdcaffe' I get a 'command not found' error. Do I need to add 

CAFFE_ROOT to my path pointing to where its installed for this to work? Sorry for the basic questions!

Reply all
Reply to author
Forward
0 new messages