From d65963873af66fc7d1c76a410580bcffc1f81df3 Mon Sep 17 00:00:00 2001 From: erjia Date: Mon, 24 Oct 2022 18:24:00 -0700 Subject: [PATCH] Temporarily skip distributed testing for ProtoMPRS on Windows (#858) Summary: See the issue https://github.com/pytorch/data/issues/857 Pull Request resolved: https://github.com/pytorch/data/pull/858 Reviewed By: NivekT, dahsh Differential Revision: D40646733 Pulled By: ejguan fbshipit-source-id: 346151425cab53a236079311adee8a8d6364b0f4 --- test/dataloader2/test_random.py | 1 + test/test_distributed.py | 1 + 2 files changed, 2 insertions(+) diff --git a/test/dataloader2/test_random.py b/test/dataloader2/test_random.py index 7e575afd7..403c670a6 100644 --- a/test/dataloader2/test_random.py +++ b/test/dataloader2/test_random.py @@ -30,6 +30,7 @@ def _random_fn(data): class DeterminismTest(TestCase): + @unittest.skipIf(IS_WINDOWS, "Remove when https://github.com/pytorch/data/issues/857 is fixed") @parametrize("num_workers", [0, 8]) def test_proto_rs_determinism(self, num_workers): data_length = 64 diff --git a/test/test_distributed.py b/test/test_distributed.py index 87ce92bb9..cb62885fb 100644 --- a/test/test_distributed.py +++ b/test/test_distributed.py @@ -293,6 +293,7 @@ def test_elastic_training_dl1(self, backend) -> None: ], ) + @unittest.skipIf(IS_WINDOWS, "Remove when https://github.com/pytorch/data/issues/857 is fixed") @backend_parametrize @parametrize("num_workers", [0, 8]) def test_proto_rs_dl2(self, backend, num_workers) -> None: