You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flferretti@IITICUBLAP215:~/jaxsim/examples$ pixi add jaxlib=*=*cuda* × could not determine any available versions for jaxlib on linux-64. │ Either the package could not be found or version constraints on other │ dependencies result in a conflict. ╰─▶ Cannot solve the request because of: The following packages are incompatible |-- jaxlib * *cuda* cannot be installed because there are no viable options: |-- jaxlib 0.4.18 | 0.4.18 | 0.4.18 | 0.4.18 | 0.4.19 | 0.4.19 | 0.4.19 | 0.4.19 | 0.4.20 | 0.4.20 | 0.4.20 | 0.4.23 | 0.4.23 | 0.4.23 would require |-- cudatoolkit >=11.8,<12, which cannot be installed because there are no viable options: |-- cudatoolkit 11.8.0 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudatoolkit 11.8.0 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudatoolkit 11.8.0 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- jaxlib 0.4.7 | 0.4.7 | 0.4.7 | 0.4.7 | 0.4.9 | 0.4.9 | 0.4.10 | 0.4.10 | 0.4.10 | 0.4.10 | 0.4.11 | 0.4.11 | 0.4.12 | 0.4.12 | 0.4.12 | 0.4.12 | 0.4.12 | 0.4.12 | 0.4.12 | 0.4.12 | 0.4.12 | 0.4.12 | 0.4.12 | 0.4.14 | 0.4.14 | 0.4.14 | 0.4.14 | 0.4.14 | 0.4.14 | 0.4.14 | 0.4.14 would require |-- cudnn >=8.8.0.121,<9.0a0, which cannot be installed because there are no viable options: |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- jaxlib 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.14 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.15 | 0.3.20 | 0.3.20 | 0.3.20 | 0.3.20 | 0.3.20 | 0.3.20 | 0.3.20 | 0.3.20 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.22 | 0.3.24 | 0.3.24 | 0.3.24 | 0.3.24 | 0.3.24 | 0.3.24 | 0.3.24 | 0.3.24 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.3.25 | 0.4.1 | 0.4.1 | 0.4.1 | 0.4.1 | 0.4.1 | 0.4.1 | 0.4.1 | 0.4.1 | 0.4.2 | 0.4.2 | 0.4.2 | 0.4.2 | 0.4.2 | 0.4.2 | 0.4.2 | 0.4.2 | 0.4.3 | 0.4.3 | 0.4.3 | 0.4.3 | 0.4.3 | 0.4.3 | 0.4.3 | 0.4.4 | 0.4.4 | 0.4.4 | 0.4.6 | 0.4.6 | 0.4.6 | 0.4.6 | 0.4.6 | 0.4.6 | 0.4.6 | 0.4.6 | 0.4.7 | 0.4.7 | 0.4.7 | 0.4.7 would require |-- cudnn >=8.4.1.50,<9.0a0, which cannot be installed because there are no viable options: |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.4.1.50 is excluded because due to strict channel priority not using this option from: 'https://conda.anaconda.org/conda- forge/' |-- jaxlib 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 | 0.3.10 would require |-- cudnn >=8.2.1.32,<9.0a0, which cannot be installed because there are no viable options: |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.8.0.121 is excluded because due to strict channel priority not using this option from: 'https:// conda.anaconda.org/conda-forge/' |-- cudnn 8.4.1.50 is excluded because due to strict channel priority not using this option from: 'https://conda.anaconda.org/conda- forge/' |-- cudnn 8.4.0.27 is excluded because due to strict channel priority not using this option from: 'https://conda.anaconda.org/conda- forge/' |-- cudnn 8.4.0.27 is excluded because due to strict channel priority not using this option from: 'https://conda.anaconda.org/conda- forge/' |-- cudnn 8.3.2.44 is excluded because due to strict channel priority not using this option from: 'https://conda.anaconda.org/conda- forge/' |-- cudnn 8.3.2.44 is excluded because due to strict channel priority not using this option from: 'https://conda.anaconda.org/conda- forge/' |-- cudnn 8.2.1.32 is excluded because due to strict channel priority not using this option from: 'https://conda.anaconda.org/conda- forge/' |-- cudnn 8.2.1.32 is excluded because due to strict channel priority not using this option from: 'https://conda.anaconda.org/conda- forge/'
results in cudatoolkit being installed from conda-forge.
Issue description
The second TOML does not provide ptxas with cudatoolkit as it's being downloaded from conda-forge instead of nvidia channel, failing with jaxlib with GPU support.
Hello @flferretti, thanks for the elaborate description.
We have chosen to make the priority always strict in rattler. This is due to a lot of silent issues we have seen where the solver would solve an environment, but it would result in packages that don't work together. If you really want the packages to come from different channels you need to specify the channels per package.
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Ref. ami-iit/jaxsim#63
pixi info
:This results in:
with
pixi.toml
:and with:
results in
cudatoolkit
being installed fromconda-forge
.Issue description
The second TOML does not provide
ptxas
withcudatoolkit
as it's being downloaded fromconda-forge
instead ofnvidia
channel, failing withjaxlib
with GPU support.The final version resulted in the following
pixi.toml
from https://github.com/flferretti/jaxsim/tree/example/notebook:and it was obtained following these steps:
nvidia
channelpixi add cuda-nvcc
conda-forge
in channels as:channels = ["conda-forge", "nvidia"]
pixi add "jaxlib=*=*cuda*"
Expected behavior
I expect pixi to successfully install packages without encountering dependency resolution errors caused by channel constraints.
The text was updated successfully, but these errors were encountered: