I’m sure it’s release configuration, and if I load and forward with a model which is generated from the tutorial code(https://pytorch.org/tutorials/advanced/cpp_export.html 23), this problem will not occur.