You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tvm.apache.org by Sunghyun Park <no...@github.com.INVALID> on 2022/09/29 01:18:06 UTC

Re: [apache/tvm] RFC: initial stab at TorchScript fallback (#7401)

Hi, @t-vi. Thank you for the great contribution! This seems very interesting. 
I'm trying to check out this feature but having some ABI link issue during setup - `ld.lld: error: undefined symbol`.
This seems like a known issue ([link](https://github.com/pytorch/pytorch/issues/13541#issuecomment-727515849)), so I followed their suggestion of adding `-D_GLIBCXX_USE_CXX11_ABI=0"`. 
However, this change makes TVM llvm codegen fails with ABI link. 
Have you faced this issue before? 
I'm wondering what will be the general guideline to fix such ABI conflicts. 
Thank you!

For more detailed info, I installed pytorch package with conda and downloaded prebuilt binary by following the [instruction](https://pytorch.org/cppdocs/installing.html).
Then, I modified my `config.make` to `set(USE_LIBTORCH ~/libtorch)`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/tvm/pull/7401#issuecomment-1261627758
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>