mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
fix typo in comments under torch/csrc/distributed (#96062)
This PR fixes typos in comments and messages of `.cpp` and `.hpp` files under `torch/csrc/distributed` directory Pull Request resolved: https://github.com/pytorch/pytorch/pull/96062 Approved by: https://github.com/ngimel
This commit is contained in:
committed by
PyTorch MergeBot
parent
fe4fec37a4
commit
2973994259
@ -178,7 +178,7 @@ void RpcAgent::retryExpiredRpcs() {
|
||||
}
|
||||
|
||||
// If there are no more RPC's set to be retried at the current timepoint,
|
||||
// we can remove the corresponsing unordered_set from the retry map.
|
||||
// we can remove the corresponding unordered_set from the retry map.
|
||||
if (earliestRpcList.empty()) {
|
||||
rpcRetryMap_.erase(earliestTimeout);
|
||||
}
|
||||
|
Reference in New Issue
Block a user