Bug#896572: message: Cannot use GPU in CPU-only Caffe (caffe-cuda build)

Юрий Жаворонков programmeur at yandex.ru
Fri Apr 27 18:21:03 BST 2018


I'm sorry that i have misled You. Before the ussage, I forgot to remove the manually compiled caffe-cpu and sent a bug report ;(

Now i pugre it and reinstall caffe-cuda package, but on command "optirun caffe device_query -gpu all"
it take me: 
Check failed: error == cudaSuccess (30 vs. 0)  unknown error
*** Check failure stack trace: ***
    @     0x7f2ad760b13d  google::LogMessage::Fail()
    @     0x7f2ad760cfa3  google::LogMessage::SendToLog()
    @     0x7f2ad760accb  google::LogMessage::Flush()
    @     0x7f2ad760d98e  google::LogMessageFatal::~LogMessageFatal()
    @           0x40a4fb  (unknown)
    @           0x409f9b  device_query()
    @           0x40dae9  main
    @     0x7f2ad5b122e1  __libc_start_main
    @           0x409c4a  _start
    @              (nil)  (unknown)

26.04.2018, 12:36, "Lumin" <cdluminate at gmail.com>:
> 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,

-- 
С уважением,
Жаворонков Ю. Г.
+79528693394



More information about the debian-science-maintainers mailing list