Skip to content

Commit

Permalink
Merge branch 'main' into please_dont_modify_this_branch_unless_you_ar…
Browse files Browse the repository at this point in the history
…e_just_merging_with_main_
  • Loading branch information
NicolasHug authored May 30, 2024
2 parents f49190e + 9b4b742 commit 311d448
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_transforms_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 311d448

Please sign in to comment.