Fix reduce op ut failure: root rank=-1
This commit is contained in:
parent
716bcea5a2
commit
47f40c8708
@ -452,6 +452,7 @@ void NcclManager::AddReduceSend(std::unique_ptr<Participant> participant,
|
||||
void NcclManager::AddReduceRecv(std::unique_ptr<Participant> participant,
|
||||
const Context& context,
|
||||
ncclRedOp_t reduction_op) {
|
||||
participant->root = true;
|
||||
AddParticipant(std::move(participant), context, kReduce, reduction_op);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user