[autoparallel] adapt autoparallel tests with latest api (#2626)

This commit is contained in:
YuliangLiu0306
2023-02-08 15:02:12 +08:00
committed by GitHub
parent c375563653
commit cb3d1bef62
8 changed files with 59 additions and 583 deletions

View File

@@ -62,9 +62,6 @@ class CostGraph:
else:
edge_cost[(j, i)] = resharding_cost_item.total
self.edge_costs[node_pair] = edge_cost
# add parents and children attribute to node
# parent_nodes = [node for node in strategies_vector.predecessor_nodes]
# children_nodes = [node for node in strategies_vector.successor_nodes]
parent_nodes = []
children_nodes = []