Open Orenbek opened 1 week ago
I've tried the issue, but there seems to be some really strict dependencies between these package. Did you manage to install it on osx-arm64 before with something other than pixi? It can solve for linux-64
.
Edit: Found some more info, pytorch
requires llvm-openmp <16
and numba
requires llvm-openmp >=16.0.4
or more.
So on osx-arm64 they are not able to install together.
Ah it works if you don't use the pytorch
channel.
[project]
channels = ["conda-forge"]
platforms = ["osx-arm64"]
version = "0.1.0"
name = "numba"
[dependencies]
python = "3.11.*"
numba = "*"
pytorch = "2.5.*"
I'll try it out later. Thanks!
Checks
[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
pixi install
.[tasks]
[dependencies] python = "3.11." pytorch = {version = "2.5.", channel="pytorch"}
Expected behavior
Upon further investigation, I found that the issue is due to Pixi not selecting the correct build hash for Python 3.11, even though numba already supports this version. For example, a conda search numba=0.60.0 shows:
Pixi should ideally select py311h9506ed5_0 for compatibility with Python 3.11, which would prevent the mismatch error.