Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot install scikit-learn from conda-forge channel alongside pytorch from the pytorch channel #1951

Open
anjos opened this issue Aug 7, 2024 · 0 comments

Comments

@anjos
Copy link

anjos commented Aug 7, 2024

(Cross-linking related issue from conda-forge/scikit-learn-feedstock#271)

There seems to be no way to have these 2 packages installed together with the current conda builds for pytorch:

scikit-learn >=1.4 (from the conda-forge channel)
pytorch >=2.3 (from pytorch channel)

Test command:

mamba create --strict-channel-priority --override-channels -c pytorch -c conda-forge -n test --dry-run 'scikit-learn>=1.4' 'pytorch>=2.3'

The problem seems related to this package's very restrictive pinning on llvm-openmp<16 and the way this dependency is treated on conda-forge (c.f.: conda-forge/scikit-learn-feedstock#265, conda-forge/openmp-feedstock#126).

The offending line seems to come from: https://github.com/pytorch/builder/blob/main/conda/pytorch-nightly/meta.yaml#L49

I wonder if the issue is still present with versions 17 or 18 of LLVM, and if one could update this pin to allow for a more inclusive software stack.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant