From 5997332b93e6a40b72d6ce2cca2b4f211331022d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20W=C3=A4lchli?= Date: Fri, 3 Mar 2023 15:26:28 +0100 Subject: [PATCH] Skip flaky ddp-spawn test on windows (#16942) --- .gitignore | 2 ++ tests/tests_pytorch/models/test_amp.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index dc909922ff..1ab84c850d 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,8 @@ docs/source-pytorch/notebooks docs/source-pytorch/_static/images/course_UvA-DL docs/source-pytorch/_static/images/lightning_examples +docs/source-fabric/api + # C extensions *.so # Byte-compiled / optimized / DLL files diff --git a/tests/tests_pytorch/models/test_amp.py b/tests/tests_pytorch/models/test_amp.py index ecd1340165..d47c075fa3 100644 --- a/tests/tests_pytorch/models/test_amp.py +++ b/tests/tests_pytorch/models/test_amp.py @@ -55,7 +55,7 @@ class AMPTestModel(BoringModel): ("single_device", "16-mixed", 1), ("single_device", "bf16-mixed", 1), ("ddp_spawn", "16-mixed", 2), - ("ddp_spawn", "bf16-mixed", 2), + pytest.param("ddp_spawn", "bf16-mixed", 2, marks=RunIf(skip_windows=True)), ), ) def test_amp_cpus(tmpdir, strategy, precision, devices):