Skip to content

Commit

Permalink
Remove debug prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
csullivan committed Feb 24, 2021
1 parent 7b0287e commit bde12f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/driver/driver_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ runtime::Module build(const Map<Target, IRModule>& inputs, const Target& target_
target_host_val = DefaultTargetHost(target_host_val);
}

std::cout << "All Modules Before: " << inputs << std::endl;
IRModule mhost_all = IRModule(Map<GlobalVar, BaseFunc>());

ICHECK(mhost_all.defined()) << "The host module must be defined";
Expand All @@ -297,7 +296,6 @@ runtime::Module build(const Map<Target, IRModule>& inputs, const Target& target_
}
}

std::cout << "All Modules: " << mhost_all << std::endl;

runtime::Module mhost = codegen::Build(mhost_all, target_host_val);
// Import all modules
Expand Down
2 changes: 0 additions & 2 deletions src/relay/backend/graph_runtime_codegen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ class GraphRuntimeCodegen : public backend::MemoizedExprTranslator<std::vector<G
auto main_module = lowered_module.main_module;
main_module = relay::transform::InferType()(main_module);
relay::Function main_func = Downcast<relay::Function>(main_module->Lookup("main"));
std::cout << "MainFunction: " << PrettyPrint(main_func) << std::endl;

// Now that we have lowered all operators to TIR code, we can proceed with compilation.
storage_device_map_ = GraphPlanMemory(main_func);
Expand All @@ -253,7 +252,6 @@ class GraphRuntimeCodegen : public backend::MemoizedExprTranslator<std::vector<G
}

ret.lowered_funcs = lowered_module.per_target_module;
std::cout << "Modules: " << ret.lowered_funcs << std::endl;
ret.external_mods = lowered_module.external_mods;
return ret;
}
Expand Down

0 comments on commit bde12f8

Please sign in to comment.