Thanks for your response @dambo. I am trying to run non-CUDA version of libtorch. For the DLL files you mentioned, looks like most of the DLL files are for CUDA version.
As far as the CMake is concerned, I added Torch_DIR and CMAKE_PREFIX_PATH to CMakeLists.txt. It builds successfully as before, but exits abruptly without showing any error or message. [Also, the problem is with the data loading as the cout statement after data loader doesn’t get executed]
I’ve updated the files I’ve here: https://github.com/krshrimali/MNIST-Libtorch-Windows 9
Thanks! Will appreciate any help.