Solved by peterjc123 in post #2 
              
              
                /WHOLEARCHIVE:torch_cuda.lib is the right choice. But you could try building with the x64 toolchain. You may get more details in https://stackoverflow.com/questions/19820718/how-to-make-visual-studio-use-the-native-amd64-toolchain.