The fundamental problem is that (pre-compiled) PyTorch python modules use the pre C++-11 string ABI to better blend into the Python ecosystem or so. TVM does not, so it needs to link to LibTorch with the "new" C++ string ABI. But these two versions clash.
One option is to use self-compiled PyTorch (which is what I do and so got us into this mess...). I've been trying on and off to look into linking LibTorch such that all symbols are hidden (and you can load PyTorch with whatever C++ ABI later), but I have not managed yet. -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/pull/7401#issuecomment-1261635641 You are receiving this because you are subscribed to this thread. Message ID: <apache/tvm/pull/7401/c1261635...@github.com>