Skip to content

Commit 737af02

Browse files
committed
Skip failing tests
1 parent 46f1697 commit 737af02

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/test_transforms_tensor.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,17 @@ def test_random_apply(device):
958958
)
959959
@pytest.mark.parametrize("channels", [1, 3])
960960
def test_gaussian_blur(device, channels, meth_kwargs):
961+
if all(
962+
[
963+
device == "cuda",
964+
channels == 1,
965+
meth_kwargs["kernel_size"] in [23, [23]],
966+
torch.version.cuda == "11.3",
967+
sys.platform in ("win32", "cygwin"),
968+
]
969+
):
970+
pytest.skip("Fails on Windows, see https://github.com/pytorch/vision/issues/5464")
971+
961972
tol = 1.0 + 1e-10
962973
torch.manual_seed(12)
963974
_test_class_op(

0 commit comments

Comments
 (0)