-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip jpeg encoding/decoding tests on MacOS #8145
Conversation
test/test_image.py
Outdated
@@ -419,6 +420,7 @@ def test_encode_jpeg_errors(): | |||
encode_jpeg(torch.empty((100, 100), dtype=torch.uint8)) | |||
|
|||
|
|||
@pytest.skipif(IS_MACOS, reason="https://github.com/pytorch/vision/issues/8031") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In theory we would only skip for M1 and not all darwin, but it doesn't really matter since the non-M1 builds will be dropped very soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Test failure is not related:
FAILED test/test_transforms_v2.py::TestLinearTransform::test_transform[cpu-dtype1-make_image_tensor] - AssertionError: Tensor-likes are not close!
Reviewed By: vmoens Differential Revision: D52539015 fbshipit-source-id: 77897ef7616da523e9a5eac0447d22cdc281d86e
These tests are failing on M1 - see #8031
I don't know why. But there's no point keeping the CI red as it's been for weeks.
cc @pmeier