Skip to content

Commit 966c156

Browse files
author
Andrew Gu
committed
[PGNCCL] Added some missing spaces in barrier msg
[ghstack-poisoned]
1 parent 58e7c71 commit 966c156

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4124,8 +4124,8 @@ c10::intrusive_ptr<Work> ProcessGroupNCCL::barrier(const BarrierOptions& opts) {
41244124
" using GPU ",
41254125
barDevIdx,
41264126
" to perform barrier as devices used by this process are currently unknown. ",
4127-
"This can potentially cause a hang if this rank to GPU mapping is incorrect.",
4128-
"Specify device_ids in barrier() to force use of a particular device,",
4127+
"This can potentially cause a hang if this rank to GPU mapping is incorrect. ",
4128+
"Specify device_ids in barrier() to force use of a particular device, ",
41294129
"or call init_process_group() with a device_id.");
41304130
}
41314131

0 commit comments

Comments
 (0)