You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/09/29 01:17:33 UTC

[GitHub] [tvm] sunggg commented on pull request #7401: RFC: initial stab at TorchScript fallback

sunggg commented on PR #7401:
URL: https://github.com/apache/tvm/pull/7401#issuecomment-1261627758

   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)`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org