zhiics commented on a change in pull request #4847: Use dummy func when no
lowered_funcs exists in Relay mod
URL: https://github.com/apache/incubator-tvm/pull/4847#discussion_r377926439
##########
File path: src/relay/backend/build_module.cc
##########
@@ -438,13 +439,14 @@ class RelayBuildModule : public runtime::ModuleNode {
auto lowered_funcs = graph_codegen_->GetLoweredFunc();
if (lowered_funcs.size() == 0) {
- LOG(WARNING) << "no lowered funcs exist in the compiled module";
+ ret_.mod = tvm::codegen::CSourceModuleCreate("", "");
Review comment:
You can force push so that your previous CI could be terminated earlier.
----------------------------------------------------------------
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