Skip to content

Commit

Permalink
Remove one more extra call of PlanDevice in OptimizeImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
elvin-n committed Jul 22, 2022
1 parent 9a46ad2 commit 7ca3b81
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/relay/backend/build_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ class RelayBuildModule : public runtime::ModuleNode {

// Fuse the operations if it is needed.
pass_seqs.push_back(transform::FuseOps());
pass_seqs.push_back(transform::PlanDevices(config_));

// Create a sequential pass and perform optimizations.
transform::Pass seq = transform::Sequential(pass_seqs);
Expand Down

0 comments on commit 7ca3b81

Please sign in to comment.