@Yu_Chen
We have 2 versions of libtorch available on pytorch.org 1. one is ABI version, we also has a pre-abi version which is compiled with -D_GLIBCXX_USE_CXX11_ABI=0.
You can download the pre-abi version and compile everything else with -D_GLIBCXX_USE_CXX11_ABI=0. Does that works for you?