Tôi đang cố gắng chạy caffe trên Linux Ubuntu
. Sau khi cài đặt, tôi chạy caffe bằng gpu và lỗi làKhông thể chèn 'nvidia_352': Không có thiết bị nào như vậy
I0910 13:28:13.606891 10629 caffe.cpp:296] Use GPU with device ID 0
modprobe: ERROR: could not insert 'nvidia_352': No such device
F0910 13:28:13.728612 10629 common.cpp:142] Check failed: error == cudaSuccess (38 vs. 0) no CUDA-capable device is detected
*** Check failure stack trace: ***
@ 0x7ffd3b9a7daa (unknown)
@ 0x7ffd3b9a7ce4 (unknown)
@ 0x7ffd3b9a76e6 (unknown)
@ 0x7ffd3b9aa687 (unknown)
@ 0x7ffd3bf91cb5 caffe::Caffe::SetDevice()
@ 0x40a5a7 time()
@ 0x4080f8 main
@ 0x7ffd3aeb9ec5 (unknown)
@ 0x408618 (unknown)
@ (nil) (unknown)
Aborted (core dumped)
Trình điều khiển NVIDIA của tôi là 352,41. Tôi đã cài đặt 352 và được cài đặt phiên bản mới nhất.
sudo apt-get install nvidia-352[sudo]
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-352 is already the newest version.
The following packages were automatically installed and are no longer required:
account-plugin-windows-live libupstart1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
Ubuntu của tôi có NVIDIA lái xe 352 và tại sao tôi có lỗi như
I0910 13:28:13.606891 10629 caffe.cpp:296] Use GPU with device ID 0
modprobe: ERROR: could not insert 'nvidia_352': No such device
F0910 13:28:13.728612 10629 common.cpp:142] Check failed: error == cudaSuccess (38 vs. 0) no CUDA-capable device is detected
tôi kiểm tra xem tôi có CUDA thiết bị có khả năng như
lspci | grep -i nvidia
05:00.0 VGA compatible controller: NVIDIA Corporation GK107GL [Quadro K2000] (rev a1)
05:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
Tôi có CUDA thiết bị có khả năng và lý do tại sao tôi nhận được lỗi?
CHỈNH SỬA 1: Vâng thử nghiệm của tôi với ./deviceTruy cập không thành công.
../NVIDIA_CUDA-7.5_Samples/bin/x86_64/linux/release/deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 38
-> no CUDA-capable device is detected
Result = FAIL
Tôi đã kiểm tra thư mục/dev, tôi có nvidia0.
crwxrwxrwx 1 root root 195, 0 Sep 10 16:51 nvidia0
crw-rw-rw- 1 root root 195, 255 Sep 10 16:51 nvidiactl
séc -V nvcc tôi đã cho tôi
[email protected]:/dev$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17
Sau đó kiểm tra phiên bản của tôi
[email protected]:/dev$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 352.41 Fri Aug 21 23:09:52 PDT 2015
GCC version: gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
Điều gì có thể xảy ra?
Bỏ qua một bên caffeine một lúc, bạn có chắc chắn rằng bản cài đặt CUDA cơ bản của bạn hoạt động chính xác không? – talonmies
Tất nhiên, tôi đã cài đặt CUDA7.5. Tất cả các tiêu đề lib và tiêu đề được cài đặt trong /usr/local/cuda7.5. Tất cả đường dẫn được xuất ra khi xuất PATH =/usr/local/cuda-7.5/bin: $ PATH $ xuất LD_LIBRARY_PATH =/usr/local/cuda-7.5/lib64: $ LD_LIBRARY_PATH. Tôi đã cài đặt thành công caffe. – batuman
Đó không phải là những gì tôi hỏi. Bạn có thể biên dịch và chạy thành công một ứng dụng CUDA đơn giản, giống như một trong các mẫu từ bộ công cụ CUDA? – talonmies