Repository navigation
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/197693
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3dac392 with merge base b7954b2 ( 🟢 GREEN LIGHT - PR approved to be merged without human review:
reason: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This was referenced Sep 19, 2026
Collaborator
|
Starting merge as part of PR stack under #197694 |
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 19, 2026
Reuse distributed workers for checkpoint consolidation while keeping no-process-group tests in a separate fresh-process class. Preserve all test bodies and the existing rank count. Test plan: CUDA build and lint; all seven cases normally, in reverse order, on two GPUs and CPU, and after build. Baseline 33.43s; reused workers 15.32s before rebuild. AST comparison verifies every method body unchanged. Pull Request resolved: #197694 Approved by: https://github.com/pytorchgreenlight, https://github.com/Skylion007 ghstack dependencies: #197647, #197648, #197692, #197693
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
Reuse workers with the same rank count and combined Gloo/NCCL backend. Apply the existing four-device requirement before worker initialization and destroy the extra Gloo group after its last use.
Test plan: CUDA build and lint; all four cases normally, in reverse order and after build; four expected skips with two or zero GPUs. Baseline 22.65s; reused workers 4.66s before rebuild.