I have copied all DLLs in C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1 to the directory with the executable. But it still crash.
I am sure I build the project in DEBUG, and I set the Torch_DIR as the debug version of libtorch.
The model is generated in linux, and my c++ project is built in win10. Does this cause the crash?