rapidsai-community / rapidsai-csp-utils

35 stars 63 forks source link

Unable to install/import CUML #87

Closed alinahardani closed 1 month ago

alinahardani commented 11 months ago

Once I run "!python rapidsai-csp-utils/colab/pip-install.py", I get the following error:


Woo! Your instance has the right kind of GPU, a Tesla T4! We will now install RAPIDS cuDF, cuML, and cuGraph via pip! Please stand by, should be quick...


Looking in indexes: https://pypi.org/simple, https://pypi.nvidia.com/ Collecting cudf-cu11 Using cached https://pypi.nvidia.com/cudf-cu11/cudf_cu11-23.12.0-cp310-cp310-manylinux_2_28_x86_64.whl (506.4 MB) Collecting cuml-cu11 Using cached cuml-cu11-23.12.0.tar.gz (6.8 kB) Preparing metadata (setup.py): started error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Preparing metadata (setup.py): finished with status 'error' error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. Requirement already satisfied: cupy-cuda11x in /usr/local/lib/python3.10/dist-packages (11.0.0) Requirement already satisfied: numpy<1.26,>=1.20 in /usr/local/lib/python3.10/dist-packages (from cupy-cuda11x) (1.23.5) Requirement already satisfied: fastrlock>=0.5 in /usr/local/lib/python3.10/dist-packages (from cupy-cuda11x) (0.8.2)

      ***********************************************************************
      The pip install of RAPIDS is complete.

      Please do not run any further installation from the conda based installation methods, as they may cause issues!  

      Please ensure that you're pulling from the git repo to remain updated with the latest working install scripts. 

r
Troubleshooting:

jparksecurity commented 11 months ago

Meantime, you can use my fix.

My GitHub repo: https://github.com/jparksecurity/rapidsai-csp-utils My commit: https://github.com/jparksecurity/rapidsai-csp-utils/commit/68591df3edc566722bbae34dabe242473b2c2671

taureandyernv commented 1 month ago

Thanks @jparksecurity for the workaround. Closing as we fixed this back in Dec :)