Description
Solution to issue cannot be found in the documentation.
- I checked the documentation.
Issue
There seems to be no way to have these 2 packages installed together:
- scikit-learn
>=1.4
(from this feedstock) - 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 dependency on llvm-openmp
. The latter is pinned at build time to the build-time version of that package (using >=
), if I understand well (c.f.: #265, conda-forge/openmp-feedstock#126).
It so happens pytorch (on the pytorch channel) has introduced a tight requirement on llvm-openmp
(has to be '<16', starting from version 2.3). This introduces a conflict because most versions of scikit-learn that were built in the past months end-up getting a >=16
runtime constraint.
(N.B.: For some reason I do not understand, pytorch from conda-forge channel does not introduce this pin yet. For this reason, version 2.3.0 and 2.3.1 are available from the conda-forge channel and do install correctly. However this does not solve our issues since we need the latest changes in version 2.4.0.)
Concretely, the situation is such that one cannot install later versions of pytorch from the pytorch channel and this package without incurring in resolution problems.
I wonder if a rebuild of this package using llvm-openmp<16
could be considered, or if another solution could be found to allow co-existence with pytorch@pytorch? (I'm asking this here because this package does not have a strict requirement for llvm-openmp whereas pytorch seems to.)
Installed packages
N/A
Environment info
N/A