DIGITS: CUDNN_STATUS_BAD_PARAM
Ubuntu 14.04LTS Clean install nvidia dpkg install
$ sudo apt-get install cuda
$ sudo apt-get install digits
$ gedit .bashrc
add to endline next.
export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
$ sudo reboot
$ nvidia-smi
Tue May 31 13:32:37 2016
+------------------------------------------------------+
| NVIDIA-SMI 352.93 Driver Version: 352.93 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 960 Off | 0000:01:00.0 On | N/A |
| 20% 37C P8 10W / 160W | 289MiB / 4095MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 960 Off | 0000:02:00.0 Off | N/A |
| 20% 43C P8 9W / 160W | 13MiB / 4095MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
$ 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
----digits run and create Dataset----
MNIST Image Size28x28 Image Type GRAYSCALE
run Image Classification Model
select Caffe and LeNet
run, and rize next error
ERROR: Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 25 (12 by maintainers)
Hi every body. I was retry the next code:
#-------------------
Ubuntu 14.04 LTS Clean install…
$ su $ add-apt-repository ppa:graphics-drivers/ppa Install nvidia dpkg(same code). $ apt-get update $ exit
$ sudo apt-get install nvidia-361 $ sudo apt-get install cuda
Into Ubuntu System setting and ReSelect gpu driver “361.45.11”
$ gedit .bashrc
Add string to end line…
export PATH=/usr/local/cuda/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
$ sudo reboot
$ nvidia-smi Mon Jun 6 11:27:43 2016
±-----------------------------------------------------+
| NVIDIA-SMI 361.45 Driver Version: 361.45.11 |
|-------------------------------±---------------------±---------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 960 Off | 0000:01:00.0 On | N/A | | 20% 37C P0 33W / 160W | 155MiB / 4095MiB | 1% Default | ±------------------------------±---------------------±---------------------+ | 1 GeForce GTX 960 Off | 0000:02:00.0 Off | N/A | | 20% 34C P8 9W / 160W | 15MiB / 4095MiB | 0% Default | ±------------------------------±---------------------±---------------------+
$ nvcc -V nvcc: NVIDIA ® Cuda compiler driver Copyright © 2005-2015 NVIDIA Corporation Built on Tue_Aug_11_14:27:32_CDT_2015 Cuda compilation tools, release 7.5, V7.5.17
$ sudo apt-get install digits
start digits and run NMIST… Done 1min14sec at 2GPU
sucsess!! thanks every body.
What I did to make it work:
From terminal: sudo apt-get --purge remove digits sudo apt-get update
sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update sudo apt-get install nvidia-361 sudo reboot
CUDA_REPO_PKG=cuda-repo-ubuntu1404_7.5-18_amd64.deb && wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/$CUDA_REPO_PKG && sudo dpkg -i $CUDA_REPO_PKG
ML_REPO_PKG=nvidia-machine-learning-repo_4.0-2_amd64.deb && wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1404/x86_64/$ML_REPO_PKG && sudo dpkg -i $ML_REPO_PKG
!!! Don’t install cuda 7.5 as it removes libcuda1-361 (361.45.11-0ubuntu0~gpu14.04.1) … and switches back to driver version 352.93
I was not aware, that installing a cuda version changes the driver as well…
In the “system settings \ software & updates” “additional drivers” tab make sure, that driver 361.45.11 is selected.
btw, @lukeyeager there is driver version 364.19 appearing as well, can we also use that?
In terminal sudo apt-get install digits
then the MNIST example runs like a charm…