We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93c12ff commit 70f0c96Copy full SHA for 70f0c96
mars/services/task/analyzer/assigner.py
@@ -164,8 +164,7 @@ def _assign_by_bfs(
164
def _build_undirected_chunk_graph(
165
self, chunk_to_assign: List[ChunkData]
166
) -> ChunkGraph:
167
- chunk_graph = ChunkGraph()
168
- self._chunk_graph.copyto(chunk_graph)
+ chunk_graph = self._chunk_graph.copy()
169
# remove edges for all chunk_to_assign which may contain chunks
170
# that need be reassigned
171
for chunk in chunk_to_assign:
0 commit comments