Skip to content

Commit

Permalink
Update communication.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Avuxon authored Dec 13, 2023
1 parent 4c233ae commit 441e190
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions axonn/communication.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def __init__(
ranks_in_ith_jth_intra_layer_group[i, j, :]
)
group = torch.distributed.new_group(
ranks=group_members, backend="gloo"
ranks=group_members, backend="self.backend"
)
if self.world_rank in group_members:
self.inner_intra_layer_parallel_group = group
Expand All @@ -196,7 +196,7 @@ def __init__(
ranks_in_ith_jth_intra_layer_group[i, :, j]
)
group = torch.distributed.new_group(
ranks=group_members, backend="gloo"
ranks=group_members, backend="self.backend"
)
if self.world_rank in group_members:
self.outer_intra_layer_parallel_group = group
Expand All @@ -208,7 +208,7 @@ def __init__(
ranks_in_ith_jth_intra_layer_group[:, i, j]
)
group = torch.distributed.new_group(
ranks=group_members, backend="gloo"
ranks=group_members, backend="self.backend"
)
if self.world_rank in group_members:
self.depth_intra_layer_parallel_group = group
Expand Down

0 comments on commit 441e190

Please sign in to comment.