Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

disable trace tests

edgarriba97057b5c1d89
diff --git a/test/geometry/test_linalg.py b/test/geometry/test_linalg.py
index 79a06c755..c3502ac24 100644
--- a/test/geometry/test_linalg.py
+++ b/test/geometry/test_linalg.py
@@ -94,6 +94,7 @@ class TestTransformPoints:
assert_allclose(actual, expected)
+ @pytest.mark.skip(reason="turn off all jit for a while")
def test_jit_trace(self):
@torch.jit.script
def op_script(transform, points):
diff --git a/test/geometry/transform/test_crop.py b/test/geometry/transform/test_crop.py
index 6514db772..7ae379795 100644
--- a/test/geometry/transform/test_crop.py
+++ b/test/geometry/transform/test_crop.py
@@ -238,6 +238,7 @@ class TestCenterCrop:
expected = kornia.center_crop(img, (crop_height, crop_width))
assert_allclose(actual, expected)
+ @pytest.mark.skip(reason="turn off all jit for a while")
def test_jit_trace(self):
@torch.jit.script
def op_script(input: torch.Tensor,
diff --git a/test/geometry/transform/test_imgwarp.py b/test/geometry/transform/test_imgwarp.py
index 1aa7abdb4..a94399dde 100644
--- a/test/geometry/transform/test_imgwarp.py
+++ b/test/geometry/transform/test_imgwarp.py
@@ -380,6 +380,7 @@ class TestRemap:
expected = kornia.remap(*input)
assert_allclose(actual, expected)
+ @pytest.mark.skip(reason="turn off all jit for a while")
def test_jit_trace(self):
@torch.jit.script
def op_script(input, map1, map2):
@@ -455,6 +456,7 @@ class TestInvertAffineTransform:
expected = kornia.invert_affine_transform(matrix)
assert_allclose(actual, expected)
+ @pytest.mark.skip(reason="turn off all jit for a while")
def test_jit_trace(self):
@torch.jit.script
def op_script(input):