pytorch
eda247ee - [Dynamo] fix torchdynamo's TVM meta schedule backend (#88249)

Commit
2 years ago
[Dynamo] fix torchdynamo's TVM meta schedule backend (#88249) Note that the previous `optimize_torch` functionality of pytorch is not working with default pytorch release with CXX11 ABI off as TVM by default needs CXX11 ABI for builds. Source: [1](https://discuss.tvm.apache.org/t/can-someone-please-give-me-the-steps-to-use-pt-tvmdsoop/12525), [2](https://discuss.pytorch.org/t/undefined-symbol-when-import-lltm-cpp-extension/32627). It would be easier for user to tune with meta schedule instead of finding a CXX11-compatible pytorch, turning on the `pt-tvmdsoop` flag in TVM and rebuilding it. This could be revisited once the `pt-tvmdsoop` flag is updated and tuned on by default in TVM. Pull Request resolved: https://github.com/pytorch/pytorch/pull/88249 Approved by: https://github.com/jansel
Author
YJ Shi
Committer
Parents
Loading