Can I build libtorch from source with mingw?

I need to know any chance to build torch with mingw? If it is possible, How? Did anyone build it?

OS:Windows 10

If you want to build the CPU version, it is possible but you will need to make some changes to the code. The answer is absolutely no if you want the CUDA version. Because nvcc doesn’t work with it under Windows.