got error " status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM" during "make runtest"

925 views
Skip to first unread message

Xinge

unread,
Sep 22, 2016, 10:10:05 AM9/22/16
to Caffe Users
[ RUN      ] NetTest/2.TestReshape
F0922 22:04:38.817355 19018 cudnn.hpp:96] Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0)  CUDNN_STATUS_BAD_PARAM
*** Check failure stack trace: ***
    @     0x2b1d2fa07daa  (unknown)
    @     0x2b1d2fa07ce4  (unknown)
    @     0x2b1d2fa076e6  (unknown)
    @     0x2b1d2fa0a687  (unknown)
    @     0x2b1d31ad7ae1  caffe::CuDNNConvolutionLayer<>::LayerSetUp()
    @     0x2b1d31b23aac  caffe::Net<>::Init()
    @     0x2b1d31b24935  caffe::Net<>::Net()
    @           0x5c9a2b  caffe::NetTest<>::InitNetFromProtoString()
    @           0x57d203  caffe::NetTest<>::InitReshapableNet()
    @           0x5cf11f  caffe::NetTest_TestReshape_Test<>::TestBody()
    @           0x8fc5c3  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x8f32a7  testing::Test::Run()
    @           0x8f334e  testing::TestInfo::Run()
    @           0x8f3455  testing::TestCase::Run()
    @           0x8f6798  testing::internal::UnitTestImpl::RunAllTests()
    @           0x8f6a27  testing::UnitTest::Run()
    @           0x46c8cf  main
    @     0x2b1d32a18f45  (unknown)
    @           0x474529  (unknown)
    @              (nil)  (unknown)

The error is mentioned above, and i run "make all" and "make test" successfully. This problem is occured during "make runtest"


My GPU is Titan X.

The ouput of nvidia-smi is:

+------------------------------------------------------+                       
| NVIDIA-SMI 352.63     Driver Version: 352.63         |                       
|-------------------------------+----------------------+----------------------+
| 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 TIT...  Off  | 0000:01:00.0      On |                  N/A |
| 53%   83C    P2   208W / 250W |   5364MiB / 12284MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+


And the cuda is 7.5, cudnn is v5.0.

Hope i can get your help, thanks very much.

Pei Guo

unread,
Feb 8, 2017, 11:45:28 PM2/8/17
to Caffe Users
Same error here. Change to cuda 8.0 and cudnn-v5 solves the problem.

官善琰

unread,
Apr 23, 2017, 7:24:06 AM4/23/17
to Caffe Users
I met same error. Have you solved this question?


在 2016年9月22日星期四 UTC+8下午10:10:05,Xinge写道:

Xinge

unread,
Apr 24, 2017, 8:16:22 AM4/24/17
to Caffe Users
I change the cudnn-v5 to cudnn-v4 with Cuda7.5, and it works!

Maybe you can try cudnn-v5 with Cuda8.0

在 2017年4月23日星期日 UTC+8下午7:24:06,官善琰写道:
Reply all
Reply to author
Forward
0 new messages