Bug#896572: message: Cannot use GPU in CPU-only Caffe (caffe-cuda build)
Lumin
cdluminate at gmail.com
Thu Apr 26 10:35:38 BST 2018
control: tag -1 +moreinfo
Hello Programmeur,
Thank you for this report.
However this issue seems strange ... it should not happen ...
According to the source file,
include/caffe/util/device_alternate.hpp
4:#ifdef CPU_ONLY // CPU-only Caffe.
10:#define NO_GPU LOG(FATAL) << "Cannot use GPU in CPU-only Caffe: check mode."
This error message will only appear when your caffe is compiled CPU-only.
Could you please provide me the following information:
1. Type this command in your terminal: `which caffe`, and paste the
output in the mail.
If it is not /usr/bin/caffe, then the answer is clear: you are
running your self-built
CPU-only caffe.
2. The output of the following two commands:
1. "apt list libcaffe\*"
2. "apt show libcaffe-cuda1"
Have a good day.
--
Best,
More information about the debian-science-maintainers
mailing list