ck-caffe icon indicating copy to clipboard operation
ck-caffe copied to clipboard

"ck run program:caffe --cmd_key=time_cpu" fails with Caffe built from "lib-caffe-bvlc-opencl-cpu-universal"

Open psyhtest opened this issue 7 years ago • 1 comments

$ ck install package:lib-caffe-bvlc-opencl-cpu-universal
$ ck run program:caffe --cmd_key=time_cpu
...
    F0215 12:46:44.895566  6044 common.cpp:271] Cannot use GPU in CPU-only Caffe: check mode.
      *** Check failure stack trace: ***
          @     0x7fd0d7ac1166  google::LogMessage::Fail()
          @     0x7fd0d7ac10ae  google::LogMessage::SendToLog()
          @     0x7fd0d7ac09ee  google::LogMessage::Flush()
          @     0x7fd0d7ac3eec  google::LogMessageFatal::~LogMessageFatal()
          @     0x7fd0d8347f30  caffe::Caffe::Synchronize()
          @           0x40de01  time()
          @           0x4086eb  main
          @     0x7fd0d6f1d830  __libc_start_main
          @           0x409169  _start
          @              (nil)  (unknown)

psyhtest avatar Feb 15 '18 12:02 psyhtest

The same works fine with Caffe built via ck install package:lib-caffe-bvlc-master-cpu-universal.

psyhtest avatar Feb 15 '18 12:02 psyhtest