It’s same as following thread:

  
      github.com/pytorch/pytorch
  
  
    
  
	  
  

  
    
      Compilation issue with Visual Studio v16.8.0 and higher 28
    

    
      
        opened 
        
          
        
        Nov 27, 2020
      
      

        
          closed 
        
          
        
        Dec 4, 2020
      
        

      
        
          
          spindensity
        
      
    
  



  Summary
Moving from Visual Studio v16.7.7 to v16.8.2, we now see the following error when compiling pytorch 1.7.0 or the master branch:
caffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\cpu\SortingKernel.cpp.DEFAULT.cpp.obj
FAILED:...



    module: build
    module: windows
    triaged