Dear @kaixin,
Thank you very much. The problem has been addressed. I have updated the CMake (from 3.5.1 to 3.12.3 version) via this link 54. Then the problem has been addressed.
Just as a note, in some PyTorch docs, wrongly used this #include <torch/torch.h>. however, there isn’t any torch.h. So one can use #include <torch/script.h> instead.