diff --git a/test/test_transforms_v2.py b/test/test_transforms_v2.py index 07235333af4..b0c1659f253 100644 --- a/test/test_transforms_v2.py +++ b/test/test_transforms_v2.py @@ -5203,6 +5203,11 @@ def test_transform(self, make_input, dtype, device): transforms.LinearTransformation(*self._make_matrix_and_vector(input)), input, check_sample_input=self._sample_input_adapter, + # Compat check is failing on M1 with: + # AssertionError: Tensor-likes are not close! + # Mismatched elements: 1 / 561 (0.2%) + # See https://github.com/pytorch/vision/issues/8453 + check_v1_compatibility=(sys.platform != "darwin"), ) def test_transform_error(self):