kumasento commented on issue #4847: Return empty CSourceModule when no lowered_funcs exists in Relay mod URL: https://github.com/apache/incubator-tvm/pull/4847#issuecomment-586005848 Thank you for your valuable suggestions @tqchen @zhiics @FrozenGene ! I now changed the logic to try `LLVMModule`, and if the `target_host` is not `llvm`, we fallback to `CSourceModule`. I use the code snippet that @FrozenGene suggested to decide the target host. But I still need to bring back the dummy function idea, otherwise, I cannot find a way to generate a `LLVMModule`, which requires `lowered_funcs` to be non-empty. @mbarrett97 Please see whether this version suits your scenario. Any other suggestions are also welcomed!
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
