Skip to content

Commit

Permalink
rm check (#6458)
Browse files Browse the repository at this point in the history
Co-authored-by: Juncheng <[email protected]>
Co-authored-by: oneflow-ci-bot <[email protected]>
  • Loading branch information
3 people authored Oct 8, 2021
1 parent 2dcc2b9 commit d893f25
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion oneflow/core/job_rewriter/insert_nccl_logical_op_pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ bool TryBuildNcclLogicalOpConf(OperatorConf* ret, const OpNode* src_node, const
// NOTE(chengcheng): nccl donot support dynamic shape.
if (logical_blob_desc.is_dynamic()) { return false; }
CHECK_GT(logical_blob_desc.shape().elem_cnt(), 0);
CHECK_GT(logical_blob_desc.shape().NumAxes(), 0);

if (src_hierarchy->NumAxes() == 1 && dst_hierarchy->NumAxes() == 1) {
return TryBuildNcclBy1DHierarchy(ret, src_nd_sbp.sbp_parallel(0), dst_nd_sbp.sbp_parallel(0),
Expand Down

0 comments on commit d893f25

Please sign in to comment.