cudnn runtime error

DATE: 2018-03-25

cudnn runtime error

When I run some code with tensorflow(gpu version), I met the following error.

2018-03-25 10:31:42.242669: E C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\stream_executor\cuda\cuda_dnn.cc:378] Loaded runtime CuDNN library: 7101 (compatibility version 7100) but source was compiled with 7003 (compatibility version 7000).  If using a binary install, upgrade your CuDNN library to match.  If building from sources, make sure the library loaded at runtime matches a compatible version specified during compile configuration.
2018-03-25 10:31:42.244049: F C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\kernels\conv_ops.cc:717] Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo<T>(), &algorithms) 

======================================
2018-03-25 10:31:42.242669: E C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\stream_executor\cuda\cuda_dnn.cc:378] Loaded runtime CuDNN library: 7101 (compatibility version 7100) but source was compiled with 7003 (compatibility version 7000). If using a binary install, upgrade your CuDNN library to match. If building from sources, make sure the library loaded at runtime matches a compatible version specified during compile configuration.

2018-03-25 10:31:42.244049: F C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\kernels\conv_ops.cc:717] Check failed: stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo(), &algorithms)

======================================

solution

The reason of this error is the version of cudnn I used is cudnn-8.0-windows10-x64-v7.1 (cudnn-9.0-windows10-x64-v7.1). When I switch to cudnn-8.0-windows10-x64-v7 (cudnn-9.0-windows10-x64-v7), the error is fixed. I installed cuda 8.0 and cuda 9.0, so I replaced cudnn-8.0-windows10-x64-v7.1 with cudnn-8.0-windows10-x64-v7 and replaced cudnn-9.0-windows10-x64-v7.1 with cudnn-9.0-windows10-x64-v7. It’s messy.

posted on 2018-03-25 11:30  yusisc  阅读(23)  评论(0编辑  收藏  举报

导航