-
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 some warning test on 3.10 to avoid MKL-related warning (and failure) #7373
Conversation
@@ -27,13 +27,15 @@ def smoke_test_torchvision_read_decode() -> None: | |||
if img_png.ndim != 3 or img_png.numel() < 100: | |||
raise RuntimeError(f"Unexpected shape of img_png: {img_png.shape}") | |||
|
|||
|
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.
these are drive-bys from pre-commit
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.
Yeah, they come from #7359.
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!
@@ -27,13 +27,15 @@ def smoke_test_torchvision_read_decode() -> None: | |||
if img_png.ndim != 3 or img_png.numel() < 100: | |||
raise RuntimeError(f"Unexpected shape of img_png: {img_png.shape}") | |||
|
|||
|
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.
Yeah, they come from #7359.
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.
LGTM
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.
LGTM. By the way, did some digging: somehow those failures are triggered by pytest environment: running the same script outside of pytest did not result in the failure.
It seems the issue is gone after #7189: https://github.com/pytorch/vision/actions/runs/4308089284/jobs/7513938565#step:10:2643 I'll send a separate PR for the lint fixes. But otherwise, we can probably close this one? |
CC @malfet @atalman following up on our offline conversation, feel free to merge this PR or to submit a quick fix by pinning the numpy version as discussed.