Solved by ptrblck in post #2 
              
              
                The error is raised in: 
/home/eric/Desktop/test_1/main.cpp:15:10: fatal error: ATen/CPUGenerator.h: No such file or directory

since ATen/CPUGenerator.h was moved in this PR, so you would need to use the new file name.