LeviViana:

I recently had a lot of trouble with this ABI issue. I managed to fix it by compiling torch from source (with the new ABI), and using gcc 8.4.


This is really good advice: The old ABI is only there for compatibility with really old Python / operating system versions. So if you have the chance to recompile PyTorch, in particular if you are interested in libtorch, it is good to do so.
Best regards
Thomas