Skip to content

Commit

Permalink
revert Runtime CreateCommFromPlan
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowingsun007 committed Dec 10, 2024
1 parent 52d5644 commit 7e3821f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions oneflow/core/job/runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ Runtime::Runtime(
Singleton<RuntimeJobDescs>::Get()->AddPlan(plan);
collective_boxing_scheduler_plan_token_ =
Singleton<boxing::collective::Scheduler>::Get()->AddPlan(plan);
// #ifdef WITH_CUDA
// Singleton<EagerCclCommMgr>::Get()->CreateCommFromPlan(plan);
// #endif // WITH_CUDA
#ifdef WITH_CUDA
Singleton<EagerCclCommMgr>::Get()->CreateCommFromPlan(plan);
#endif // WITH_CUDA
}
std::vector<const TaskProto*> source_tasks;
source_tasks.reserve(plan.task().size());
Expand Down

0 comments on commit 7e3821f

Please sign in to comment.