-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
pytorch and abseil builds are incompatible on macOS #311
Comments
I think this PR #310 could help by providing new builds (maybe with another re-render to update everything). But it was not run through CI: linux tests say "This request was automatically failed because there were no enabled runners online to process the request for more than 1 days." |
This should be addressed by #310. |
what should OSX users do in the meantime? |
A temporary workaround is to restrict
and with conda this can be done with
(I know that the people in this thread already know how to restrict build numbers, but I'm posting for the benefit of people arriving here who don't and found their builds broken.) |
* Restrict libabseil on macOS to 20240722.0 build_number 1 given bug. - c.f. conda-forge/pytorch-cpu-feedstock#311
perhaps we can write a repodata patch to add the constraint so that others get this automatically... |
Note: this goes beyond pytorch, I've been contacted by a colleague that OpenCV fails:
|
@hmaarrfk Would the repodata patch just be adding a disallow on if:
name: pytorch-cpu
subdir_in: ["osx-64", "osx-arm64"]
timestamp_lt: 1735940588000
then:
- replace_depends:
old: libabseil
new: libabseil !=20240722.0=cxx17_*_2 ?
installs My understanding was that conda-forge/abseil-cpp-feedstock#88 fixes all of this and so for |
With conda-forge/abseil-cpp-feedstock#88 merged, I can confirm that fresh environment with simple |
Solution to issue cannot be found in the documentation.
Issue
Latest PyTorch is currently unusable on macOS due to conda-forge/abseil-cpp-feedstock#87
The environment is created with:
all with default (latest) versions.
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: