Solved by peterjc123 in post #12 
              
              
                I guess the cause is somehow related to OpenMP. Would you please add MKL to build to verify my hypothesis? As for the installation script, you can refer to https://github.com/pytorch/builder/blob/master/windows/build_pytorch.bat#L68-L73. 
Update: 
A fast way to do that verification is to run the fol…