-
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
fix system image library uninstallation on macos x86 #7622
Conversation
8c5b877 has a green CI for all CMake and unittest workflows. |
This reverts commit f30e413.
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.
Stamping, but why is removing the uninstallation of png
lib has an effect on the jpeg lib? IIUC the failures in https://pipelines.actions.githubusercontent.com/serviceHosts/e1cea170-7cad-4fd4-b94c-3e3f4452f685/_apis/pipelines/1/runs/60504/signedlogcontent/24?urlExpires=2023-05-24T10%3A29%3A04.2815900Z&urlSigningMethod=HMACV1&urlSignature=k7F0EHX1UgrEUKv1kqdLfWJGDUDX7mK%2Bx543dpy3418%3D relate to libjpeg, not libpng
That is a really good question. I honestly didn't see that. My guess is that the new logic is somehow wrong and jpeg library is not uninstalled for some reason. Let me check. |
Log output before:
So I guess I'm right since the log after the patch never has the after:
|
This reverts commit 8c5b877.
Ok, there were two things coming together with for lib in "${IMAGE_LIBS}"; do
brew uninstall --ignore-dependencies --force "${lib}" || true
I've fixed both things in 334b4e5 |
Looking good now
|
This reverts commit 48b25c2.
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!
Hey @pmeier! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
Reviewed By: vmoens Differential Revision: D46314044 fbshipit-source-id: 64a92c371c3ccf3927169c9637c346302d3111a4
#7417 touched the general dev env creation for CI. Amongst other things, it now also install systemlibpng
libraries on macOS x86. However, this leads to failures with our I/O tests: https://github.com/pytorch/vision/actions/runs/5057898641/jobs/9077254208. This uninstallation was part of the journey to get CMake running, but was no longer needed in the end.Thanks to @NicolasHug observation, it turned out that the root cause was a broken uninstall logic and nothing to do with the PNG libs. This PR now fixes the error described in #7622 (comment).
cc @seemethere