PyTorch Reverts C++20 std::latch Simplification After Internal Build Failures
English summary
PyTorch reverted pull request #187194, which had introduced usage of C++20's std::latch to simplify waiting. The revert was performed by pytorchmergebot on behalf of huydhn. The change was yanked because it caused failures in some internal builds. The reverted commit is 19afbb4.
Chinese summary
PyTorch 回退了引入 C++20 std::latch 以简化等待的 PR #187194。回退由 pytorchmergebot 为 huydhn 执行,原因是该改动导致了部分内部构建失败。被回退的提交是 19afbb4。
Key points
Reverted PR #187194 that simplified waiting using C++20's std::latch.
回退了使用 C++20 std::latch 简化等待的 PR #187194。
Revert done by pytorchmergebot for huydhn.
回退由 pytorchmergebot 代替 huydhn 执行。
Reason: Failed internal builds.
原因:内部构建失败。
Reverted commit: 19afbb4.
回退的提交:19afbb4。