Repository navigation
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/197704
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Cancelled JobAs of commit 38655ec with merge base b7954b2 ( 🟢 GREEN LIGHT - PR approved to be merged without human review:
reason: CANCELLED JOB - The following job was cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
Starting merge as part of PR stack under #197705 |
Reuse workers for FLEX and SDPA input-argument tests, preserving two ranks and all mock, layout, and value assertions. Keep attention execution and sharding-registration tests on their existing fixtures. Test plan: CUDA build and lint; eight tests in normal/reverse order and CPU/single-visible-GPU fallback. Runtime drops from 38.086s to 9.019s; reverse 8.716s. Pull Request resolved: #197705 Approved by: https://github.com/pytorchgreenlight ghstack dependencies: #197647, #197648, #197703, #197704
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
Rebased onto latest main, resolving conflicts with pytorch#197704 and pytorch#195952: TestCheckpointOrderingAndOverwrite (upstream) now owns test_different_ordered_state_dict_keys and test_overwrite, so this PR no longer moves test_overwrite into TestInitStateDict, and test_different_ordered_state_dict_keys keeps only the device_type = self.device_type fix on top of upstream's copy. Review fixes for can-gaa-hou's latest comments: TestNoCPU is now classified ACCELERATOR instead of GENERIC. With pytorch#195952 landed, its backend resolves via get_default_backend_for_device and the test is gated by skip_if_lt_x_gpu(NUM_DEVICES), so it is accelerator-generic rather than CUDA-specific; GENERIC contradicted both the skip gating and the taxonomy. except_for=("cpu",) is removed from instantiate_device_type_tests. It was requested by fffrog earlier but reintroduced by a later commit. Every test method in TestE2ESaveAndLoad is gated by skip_if_lt_x_gpu(4), so CPU variants skip cleanly without it. TestCheckpointOrderingAndOverwrite is annotated ACCELERATOR for consistency with the rest of this file. Assisted-by: Claude (Anthropic) Test Plan: - python3 -m py_compile test/distributed/checkpoint/e2e/test_e2e_save_and_load.py - ruff check --config pyproject.toml test/distributed/checkpoint/e2e/test_e2e_save_and_load.py - CI on the PR (4-GPU distributed suites).
Stack from ghstack (oldest at bottom):
Move ordering and overwrite checks unchanged into a continuous-worker class. Keep compiler, asynchronous checkpoint and uninitialized-distributed tests on the existing harness. Preserve rank limits and the combined CPU/accelerator backend.
Test plan: CUDA build and lint; ordering/overwrite tests in normal and reverse order, expected CPU/two-GPU skips, plus original no-distributed, stateful loading, backend rejection and initialization regressions. Two-test runtime drops from 11.433s to 5.631s.