Repository navigation
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/197650
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9a2d79e 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
d4l3k
marked this pull request as ready for review
September 19, 2026 04:20
[ghstack-poisoned]
[ghstack-poisoned]
This was referenced Sep 19, 2026
Collaborator
|
Starting merge as part of PR stack under #197707 |
Collaborator
|
Starting merge as part of PR stack under #197654 |
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 19, 2026
Avoid process and process-group startup for each submodule-precision case by using the continuous FSDP harness. Keep two ranks and all six cases unchanged; leave other mixed-precision classes isolated. Test plan: CUDA build and lint; six cases in normal and reverse order and postbuild with two visible GPUs. Runtime drops from 32.1s to 4.4s. Pull Request resolved: #197651 Approved by: https://github.com/pytorchgreenlight ghstack dependencies: #197647, #197650
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 19, 2026
…197654) Reuse workers for the distributed checkpoint wrapper cases instead of recreating the process group per test. Preserve the device-count rank cap and object-collective assertions; leave local utility tests unchanged. Test plan: CUDA build and lint; five distributed cases in normal/reverse order, full file with two visible GPUs (three expected skips), and full-file postbuild. Distributed cases improve from 32.5s to 11.9s. Pull Request resolved: #197654 Approved by: https://github.com/pytorchgreenlight ghstack dependencies: #197647, #197650, #197651
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 19, 2026
Reuse workers across the two original-parameter no_sync tests. Preserve two ranks, all sharding-strategy subtests, gradients and precision assertions. Test plan: CUDA build and lint pass. Both tests pass normally and in reverse order: 10.621s before versus 5.059s after. Two-GPU run and post-build rerun pass; one-GPU and CPU runs preserve the two expected skips. Pull Request resolved: #197707 Approved by: https://github.com/pytorchgreenlight ghstack dependencies: #197647, #197650
pytorchmergebot
pushed a commit
that referenced
this pull request
Sep 21, 2026
Avoid spawning workers and initializing process groups for each state-dict test. Keep rank counts, model-local state checks and the threaded test class unchanged. Test plan: CUDA build and lint; six four-GPU cases in normal and reverse order (48.0s to 16.2s), two-GPU coverage with the expected skip, and the full file after rebuilding. Pull Request resolved: #197660 Approved by: https://github.com/pytorchgreenlight ghstack dependencies: #197647, #197650, #197651, #197654
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 within the writeback and unshard/reshard classes instead of starting a process group per case. Scope the mixed-precision environment override to its test so it cannot leak between cases. Keep rank counts and assertions unchanged.
Test plan: CUDA build and lint; all nine affected cases in normal and reverse order, plus postbuild with two visible GPUs. Runtime falls from 51.4s to 13.8s.