Hi Rob,
I am using msvc. Which CMake issues are you experiencing? When using the prebuilt binaries I didn’t have any problem at all (however, it is not completely clear which gpu archs are supported). Building from source, I had only two issues:


I had to remove AT_CPP14_CONSTEXPR from this file 4, msvc just doesn’t seem to take it.


I had to edit the torch_cuda_get_nvcc_gencode_flag macro in utils.cmake 1 because I believe that there was something wrong with inferring the -gencode parameters from the TORCH_CUDA_ARCH_LIST variable. I observed some malformed -gencode output, so I just hardcoded the archs I need.


The rest went ok. I also highly recommend to use the Ninja build system, it will be a lot faster.
Alex