Skip to content
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

cannot found cudatoolkit(12.1) when install it via conda in dockerfile.python #414

Open
johnnyzhon opened this issue Aug 28, 2023 · 8 comments

Comments

@johnnyzhon
Copy link

=> ERROR [6/9] RUN conda install -y -c rapidsai -c conda-forge -c nvidia cudatoolkit=12.1 cuml=23.08 && c 393.8s

[6/9] RUN conda install -y -c rapidsai -c conda-forge -c nvidia cudatoolkit=12.1 cuml=23.08 && conda clean --all -f -y:
#5 1.045 Collecting package metadata (current_repodata.json): ...working... done
#5 73.24 Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
#5 73.24 Collecting package metadata (repodata.json): ...working... done
#5 387.6 Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
#5 387.6
#5 387.6 PackagesNotFoundError: The following packages are not available from current channels:
#5 387.6
#5 387.6 - cudatoolkit=12.1
#5 387.6
#5 387.6 Current channels:
#5 387.6
#5 387.6 - https://conda.anaconda.org/rapidsai/linux-64
#5 387.6 - https://conda.anaconda.org/rapidsai/noarch
#5 387.6 - https://conda.anaconda.org/conda-forge/linux-64
#5 387.6 - https://conda.anaconda.org/conda-forge/noarch
#5 387.6 - https://conda.anaconda.org/nvidia/linux-64
#5 387.6 - https://conda.anaconda.org/nvidia/noarch
#5 387.6 - https://repo.anaconda.com/pkgs/main/linux-64
#5 387.6 - https://repo.anaconda.com/pkgs/main/noarch
#5 387.6 - https://repo.anaconda.com/pkgs/r/linux-64
#5 387.6 - https://repo.anaconda.com/pkgs/r/noarch

@eordentlich
Copy link
Collaborator

According to the RAPIDS selector: https://docs.rapids.ai/install
try conda install -y -c rapidsai -c conda-forge -c nvidia cuml=23.08 cuda-version=12.0

@johnnyzhon
Copy link
Author

okay, thanks for your information.
Shall we going to modify the Dockerfile.python?

@eordentlich
Copy link
Collaborator

Yes. We should switch to cuda-version from cudatoolkit. Was already done in the ci/Dockerfile.

@johnnyzhon
Copy link
Author

johnnyzhon commented Nov 6, 2023

seems like cuml required cuda<12.0. Is that a know limitation ?
2895.6
2895.6 Package cuda-version conflicts for:
2895.6 cuda-version=12.1
2895.6 cuml=23.10 -> cuda-version[version='>=11,<12.0a0|>=12,<13.0a0|>=12.0,<13']
2895.6 cuml=23.10 -> cupy[version='>=12.0.0'] -> cuda-version[version='10.2.|11.0.|>=11.2,<12|11.1.*']The following specifications were found to be incompatible with your system:
2895.6
2895.6 - feature:/linux-64::__glibc==2.31=0
2895.6 - cuml=23.10 -> __glibc[version='>=2.17,<3.0.a0']
2895.6 - cuml=23.10 -> cupy[version='>=12.0.0'] -> __glibc[version='>=2.17']
2895.6 - python=3.9 -> libgcc-ng[version='>=10.3.0'] -> __glibc[version='>=2.17']
2895.6
2895.6 Your installed version is: 2.31
2895.6
2895.6

@eordentlich
Copy link
Collaborator

cuml is compatible with cuda 12.0 cuda-version=12.0 should work in the conda install command.

@johnnyzhon
Copy link
Author

johnnyzhon commented Nov 6, 2023

Okay, does cuml compatible with cuda 12.1+? Is this constraint in cuml's requirment make sense still?

@lijinf2
Copy link
Collaborator

lijinf2 commented Nov 6, 2023

I think using cuda-version=12.0 may be more stable, as it is specified in cuml repository and tested: https://github.com/rapidsai/cuml/blob/branch-23.12/conda/environments/all_cuda-120_arch-x86_64.yaml

Is there any problem using cuda-version=12.0 in the conda install command?

@johnnyzhon
Copy link
Author

using cuda-version=12.0 is OK, but i am wondering if we can use latest cuda version in future.

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

No branches or pull requests

3 participants