From 377814567716b30ba2ba55a88962a26cb418a9d9 Mon Sep 17 00:00:00 2001 From: Niu Chong Date: Mon, 26 Nov 2018 14:31:42 +0800 Subject: [PATCH] fix(boxing_actor): not handle ctrl regst in NormalProcessNaiveReadableRegstMsg() (#1520) Former-commit-id: ee2d382225c914634178d1fc5f82df00587b0479 --- oneflow/core/actor/boxing_actor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/oneflow/core/actor/boxing_actor.cpp b/oneflow/core/actor/boxing_actor.cpp index 06394b0c3e..103a8e0817 100644 --- a/oneflow/core/actor/boxing_actor.cpp +++ b/oneflow/core/actor/boxing_actor.cpp @@ -10,6 +10,7 @@ void BoxingActor::VirtualActorInit(const TaskProto& task_proto) { } void BoxingActor::NormalProcessNaiveReadableRegstMsg(const std::deque& rq) { + if (rq.back()->regst_desc()->regst_desc_type().has_data_regst_desc() == false) { return; } if (rq.back()->packed_blob()->max_col_num() > 1 && col_id_order_ == ColIdOrder::kUnCertain) { TrySetColIdOrder(rq.back()); } -- GitLab