Solved by peterjc123 in post #4 
              
              
                Fixed by [PyTorch] Fix broken build caused by keyword missing on Windows by larryliu0820 · Pull Request #53562 · pytorch/pytorch · GitHub.