Dev inplace obn graph (#1868)
* InplaceObnGraph * more checks in InplaceObnGraph::InitNodes * framework of InplaceObnGraph::ComputeSafeInplaceObns * refine InplaceObnGraph::ComputeSafeInplaceObns * replace InplaceObnGraph with InplaceLbiGraph * fix three types of mut_ref conflicts * InplaceLbiGraph::FindFirstConstRefConflictMutRefEdge * fix bugs in InplaceLbiGraph::ComputeSafeInplaceObns * InplaceLbiGraph::DisconnectUnReachabeAndDataMutableEdge * InplaceLbiGraph::FixMutRefConflictsFromSourceOpNode * InplaceLbiGraph::FixMutRefConflictsFromSourceOpNode * Graph::FindFirstBackEdgeDstNode * more CHECK_ISNULL * fix a bug in Graph::FindFirstBackEdgeDstNode() a * fix bugs in Graph<NodeType, EdgeType>::ForEachConnectedComponent * rename GetIsMutableIbnConsumer => FindSoleMutableIbnConsumer * refine InplaceLbiGraph::IsConstRefConflictMutRefNode * there could be no mut_ref node found in InplaceLbiGraph::FindFirstInterOpRefConflictMutRefEdge * refine InplaceLbiGraph::FindFirstInterOpRefConflictMutRefEdge * remove unnecessary CHECK in InplaceLbiGraph::GetSafeInplaceObnEdges * fix a line of comment in InplaceLbiGraph::GetSafeInplaceObnEdges * shouldn't delete the edge to updt_node * refine InplaceLbiGraph::FixMutRefConflictsFromSourceOpNode * refine FindFirstIntraOpRefConflictMutRefEdge * fix a bug in InplaceLbiGraph::FindFirstIntraOpRefConflictMutRefEdge * CheckSubGraph * change some lambdas to functions
Showing
- oneflow/core/actor/actor.cpp 16 additions, 14 deletionsoneflow/core/actor/actor.cpp
- oneflow/core/actor/actor.h 0 additions, 1 deletiononeflow/core/actor/actor.h
- oneflow/core/common/util.h 2 additions, 0 deletionsoneflow/core/common/util.h
- oneflow/core/graph/graph.h 153 additions, 15 deletionsoneflow/core/graph/graph.h
- oneflow/core/graph/inplace_lbi_graph.cpp 520 additions, 0 deletionsoneflow/core/graph/inplace_lbi_graph.cpp
- oneflow/core/graph/inplace_lbi_graph.h 149 additions, 0 deletionsoneflow/core/graph/inplace_lbi_graph.h
- oneflow/core/graph/op_graph.cpp 3 additions, 20 deletionsoneflow/core/graph/op_graph.cpp
- oneflow/core/graph/op_graph.h 3 additions, 3 deletionsoneflow/core/graph/op_graph.h
- oneflow/core/operator/op_attribute.proto 4 additions, 0 deletionsoneflow/core/operator/op_attribute.proto
- oneflow/core/register/op_blob_arg.proto 4 additions, 0 deletionsoneflow/core/register/op_blob_arg.proto
oneflow/core/graph/inplace_lbi_graph.cpp
0 → 100644
This diff is collapsed.
oneflow/core/graph/inplace_lbi_graph.h
0 → 100644
Please register or sign in to comment