Skip to content

Commit

Permalink
fix mscclpp_benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Nov 23, 2024
1 parent 2127a3b commit fdafef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/mscclpp/comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def make_connection(
else:
endpoint = endpoints
if endpoint.transport == Transport.Nvls:
return connect_nvls_collective(self.communicator, all_ranks)
return connect_nvls_collective(self.communicator, all_ranks, 2**30)
else:
connections[rank] = self.communicator.connect_on_setup(rank, 0, endpoint)
self.communicator.setup()
Expand Down
2 changes: 1 addition & 1 deletion python/mscclpp_benchmark/allreduce_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def get_netinterface_info():
mscclpp_algbw = []
nccl_algbw = []
speed_ups = []
end_range = 28 if is_nvls_supported() else 29
end_range = 29
for i in range(10, end_range):
if MPI.COMM_WORLD.size // N_GPUS_PER_NODE == 1:
nelems = 2**i
Expand Down

0 comments on commit fdafef9

Please sign in to comment.