Solved by ptrblck in post #4 
              
              
                Could you update to the latest stable PyTorch version (1.4.0) or, as the error message suggests, to at least 1.2.0? 
I would recommend to use the latest version, if possible, as it’ll ship with new features as well as bug fixes.