Skip to content

Commit 00178dc

Browse files
csullivanjroesch
authored andcommitted
Remove debug prints.
1 parent 755f5e1 commit 00178dc

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/driver/driver_api.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ runtime::Module build(const Map<Target, IRModule>& inputs, const Target& target_
274274
target_host_val = DefaultTargetHost(target_host_val);
275275
}
276276

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

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

300-
std::cout << "All Modules: " << mhost_all << std::endl;
301299

302300
runtime::Module mhost = codegen::Build(mhost_all, target_host_val);
303301
// Import all modules

src/relay/backend/graph_runtime_codegen.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ class GraphRuntimeCodegen : public backend::MemoizedExprTranslator<std::vector<G
228228
auto main_module = lowered_module.main_module;
229229
main_module = relay::transform::InferType()(main_module);
230230
relay::Function main_func = Downcast<relay::Function>(main_module->Lookup("main"));
231-
std::cout << "MainFunction: " << PrettyPrint(main_func) << std::endl;
232231

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

255254
ret.lowered_funcs = lowered_module.per_target_module;
256-
std::cout << "Modules: " << ret.lowered_funcs << std::endl;
257255
ret.external_mods = lowered_module.external_mods;
258256
return ret;
259257
}

0 commit comments

Comments
 (0)