Unverified Commit 9b4b7423 authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Skip v1 compat check on M1 for LinearTransform (#8454)

parent f0c94cdc
...@@ -5203,6 +5203,11 @@ class TestLinearTransform: ...@@ -5203,6 +5203,11 @@ class TestLinearTransform:
transforms.LinearTransformation(*self._make_matrix_and_vector(input)), transforms.LinearTransformation(*self._make_matrix_and_vector(input)),
input, input,
check_sample_input=self._sample_input_adapter, 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): def test_transform_error(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment