May same with me.

  
    
    
    Torch::cuda::cudnn_is_available() got false C++
  
  
    My Cmake Message: 
D:\WS\WS_CPP\torch_begin\libtorch-gpu\build>cmake -G "Visual Studio 14 2015 Win64" ../
-- Selecting Windows SDK version  to target Windows 10.0.15063.
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe --…
  


Use wrong libtorch lib.