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

Programmeur programmeur at yandex.ru
Sun Apr 22 13:51:45 BST 2018


Package: caffe-cuda
Version: 1.0.0~rc4-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
install it with command: apt-get install caffe-cuda and try to check my Nvidia card with command: caffe device_query -gpu all. 

Answer:
Querying GPUs all
Cannot use GPU in CPU-only Caffe: check mode.
*** Check failure stack trace: ***
    @     0x7f699631813d  google::LogMessage::Fail()
    @     0x7f6996319fa3  google::LogMessage::SendToLog()
    @     0x7f6996317ccb  google::LogMessage::Flush()
    @     0x7f699631a98e  google::LogMessageFatal::~LogMessageFatal()
    @     0x55c763b758c9  get_gpus()
    @     0x55c763b75b43  device_query()
    @     0x55c763b74283  main
    @     0x7f6991bfb2e1  __libc_start_main
    @     0x55c763b74c1a  _start
    @              (nil)  (unknown)
Aborted

but it must be log it:
Querying GPUs all
Device id:                     0
Major revision number:         2
Minor revision number:         1
Name:                          GeForce GT 520M
Total global memory:           1011351552
Total shared memory per block: 49152
Total registers per block:     32768
Warp size:                     32
Maximum memory pitch:          2147483647
Maximum threads per block:     1024
Maximum dimension of block:    1024, 1024, 64
Maximum dimension of grid:     65535, 65535, 65535
Clock rate:                    1480000
Total constant memory:         65536
Texture alignment:             512
Concurrent copy and execution: Yes
Number of multiprocessors:     1
Kernel execution timeout:      Yes

-- System Information:
Debian Release: 9.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.32-desktop-reload-r4-exp (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages caffe-cuda depends on:
ii  caffe-tools-cuda               1.0.0~rc4-1
ii  libatlas3-base [libblas.so.3]  3.10.3-1+b1
ii  libblas3 [libblas.so.3]        3.7.0-2
ii  libcaffe-cuda1                 1.0.0~rc4-1
ii  python3-caffe-cuda             1.0.0~rc4-1

caffe-cuda recommends no packages.

Versions of packages caffe-cuda suggests:
pn  caffe-doc          <none>
pn  libcaffe-cuda-dev  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list