BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
33.96k stars 18.72k forks source link

Unable to build with CUDA-10.2 + CuDNN-8.0.1 #6982

Open MuhammadAsadJaved opened 3 years ago

MuhammadAsadJaved commented 3 years ago

Important - read before submitting

I am trying to build with cuda-10.2 + cudnn 8.0 , but in cudnn I found cudnn_version information moved to cudnn_version.h but in older versions it was in cudnn.h so now during the build it also unable to find the cudnn version.

Note: before i was using on the system using cuda 10.0 and cudnn 7.4

Issue summary

I have tried both method .

Steps to reproduce

cd caffe make all and at this point throw erros.

the second method

mkdir build cd build cmake ..

it also throw erros.

Tried solutions

System configuration

Issue checklist

Screenshot from 2020-10-29 20-57-56

HYK-baby commented 3 years ago

This problem puzzled me too. It token me 4 hours to make it work. Open the file “cmake/Cuda.cmake”. Find "file(READ ${CUDNN_INCLUDE}/cudnn.h CUDNN_VERSION_FILE_CONTENTS)",and replace "cudnn.h" with "cudnn_version.h".

MuhammadAsadJaved commented 3 years ago

Thanks for your update.

On Thu, Nov 26, 2020 at 5:44 PM HYK-baby notifications@github.com wrote:

This problem puzzled me too. It token me 4 hours to make it work. Open the file “cmake/Cuda.cmake”. Find "file(READ ${CUDNN_INCLUDE}/cudnn.h CUDNN_VERSION_FILE_CONTENTS)",and replace "cudnn.h" with "cudnn_version.h".

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BVLC/caffe/issues/6982#issuecomment-734190831, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG4GR5BKFKS2SQROFDI7LYLSRYPPLANCNFSM4TDWOBEA .

Qengineering commented 3 years ago

see #6970 for a cuDNN 8.0 solution