“89512dff3627659dadf8201ae96ceac744e2b5db”上不存在“git@gitcode.net:s920243400/PaddleDetection.git”
未验证 提交 a1e2c63c 编写于 作者: L LielinJiang 提交者: GitHub

fix force syncbn sequentail not work (#56160)

上级 b2261e09
......@@ -424,8 +424,8 @@ void Backward(const std::vector<paddle::Tensor>& tensors, // outputs
VLOG(3) << "Run in Backward";
paddle::platform::RecordEvent backward_record_event(
"backward", paddle::platform::TracerEventType::UserDefined, 1);
egr::Controller::Instance().ClearForceSequentialNodes();
RunBackward(tensors, grad_tensors, retain_graph);
egr::Controller::Instance().ClearForceSequentialNodes();
phi::autotune::AutoTuneStatus::Instance().Update();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册