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

2021-02-03 Thread Thomas Viehmann
This patch adds a support for calling TorchScript. This can be used fallback for when torch operators are not yet implemented or if one wants to incorporate bespoke PyTorch custom ops into TVM with ease. It adds - a new relay `torchop` that takes a variable number of inputs and executes a provi

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

2021-02-03 Thread masahi
This is an interesting use case of byoc, cc @zhiics @comaniac -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/pull/7401#issuecomment-772591355

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

2021-02-03 Thread masahi
I'm curious how it integrates with PyTorch frontend. Do we convert every op not supported to `relay.torchop`, run BYOC flow to get TorchScript subgraphs, and send them to libtorch? Sounds interesting! -- You are receiving this because you are subscribed to this thread. Reply to this email direc