I’m following this guide https://pytorch.org/tutorials/advanced/cpp_export.html 20  to load pytorch bert model in C++, the problem is that libtorch requires gcc 5+, but I can only use gcc 4.8.5.
I’m not allowed to update gcc, so is there any solutions?
Or any other ways to load a bert model in C++?