Skip to content

Commit 81042d3

Browse files
Revert "Reenable optimizer overlap tests (#88439)"
This reverts commit da452bc. Reverted #88439 on behalf of https://github.com/huydhn due to This change breaks trunk due to a land race missing reason parameter to sandcastle_skip_if https://hud.pytorch.org/pytorch/pytorch/commit/da452bcadbc6f34989c6b3b0db6075a272aa9891
1 parent bbaa063 commit 81042d3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

torch/testing/_internal/distributed/distributed_test.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4494,7 +4494,8 @@ def _test_ddp_hook_with_optimizer_parity(
44944494
dist.barrier()
44954495

44964496
@sandcastle_skip_if(
4497-
BACKEND == "ucc",
4497+
BACKEND == "nccl" or BACKEND == "ucc",
4498+
"Issues with async error handling, see https://github.com/pytorch/pytorch/issues/73259"
44984499
)
44994500
@skip_if_lt_x_gpu(2)
45004501
@parametrize("grad_as_bucket_view", [True, False])
@@ -4520,7 +4521,8 @@ def test_ddp_hook_with_optimizer_parity_adamw(
45204521
)
45214522

45224523
@sandcastle_skip_if(
4523-
BACKEND == "ucc",
4524+
BACKEND == "nccl" or BACKEND == "ucc",
4525+
"Issues with async error handling, see https://github.com/pytorch/pytorch/issues/73259"
45244526
)
45254527
@skip_if_lt_x_gpu(2)
45264528
@parametrize("optimize_subset", [True, False])
@@ -4539,7 +4541,8 @@ def test_ddp_hook_with_optimizer_parity_adam(self, optimize_subset):
45394541
)
45404542

45414543
@sandcastle_skip_if(
4542-
BACKEND == "ucc",
4544+
BACKEND == "nccl" or BACKEND == "ucc",
4545+
"Issues with async error handling, see https://github.com/pytorch/pytorch/issues/73259"
45434546
)
45444547
@skip_if_lt_x_gpu(2)
45454548
@parametrize("optimize_subset", [True, False])

0 commit comments

Comments
 (0)