Skip to content

Commit

Permalink
fix convert_partition.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 17, 2024
1 parent 97d000b commit 7f339b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/distpartitioning/convert_partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ def _process_partition_gb(
sorted_idx = (
th.repeat_interleave(indptr[:-1], split_size, dim=0) + sorted_idx
)
else:
sorted_idx = th.arange(len(edge_ids))

return indptr, indices[sorted_idx], edge_ids[sorted_idx]

Expand Down

0 comments on commit 7f339b9

Please sign in to comment.