Skip hanging collective test (#18908)

This commit is contained in:
Adrian Wälchli 2023-11-01 15:45:25 +01:00 committed by GitHub
parent 85933f355a
commit 7a5b7f5561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -230,8 +230,8 @@ def _test_distributed_collectives_fn(strategy, collective):
torch.testing.assert_close(out, expected)
@pytest.mark.skip(reason="test hangs too often")
@skip_distributed_unavailable
@pytest.mark.flaky(reruns=5)
@pytest.mark.parametrize(
"n", [1, pytest.param(2, marks=[RunIf(skip_windows=True), pytest.mark.xfail(raises=TimeoutError, strict=False)])]
)