Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

skip fp64 canny dynamo test (#2797)

João Gustavo A. Amorim5369cbc61440
diff --git a/tests/filters/test_canny.py b/tests/filters/test_canny.py
index dbd694dac..4de36ab60 100644
--- a/tests/filters/test_canny.py
+++ b/tests/filters/test_canny.py
@@ -300,7 +300,7 @@ class TestCanny(BaseTester):
@pytest.mark.skipif(torch_version() in {"2.0.0", "2.0.1"}, reason="Not working on 2.0")
def test_dynamo(self, batch_size, kernel_size, device, dtype, torch_optimizer):
if (
- torch_version() in {"2.1.1", "2.1.2"}
+ torch_version() in {"2.1.1", "2.1.2", "2.2.0"}
and dtype == torch.float64
and (isinstance(kernel_size, int) or kernel_size[0] == kernel_size[1])
):