cuml icon indicating copy to clipboard operation
cuml copied to clipboard

[QST]CMake Error at build/_deps/rapids-cmake-src/rapids-cmake/test/generate_resource_spec.cmake:82

Open suhansu opened this issue 1 year ago • 4 comments

What is your question? ~hi, gay I got an error while building cuML, which has been bothering me for a long time 图片

suhansu avatar Aug 16 '24 12:08 suhansu

I'm at cmake... He will pull a cumlprims_mg-src repository, but there seems to be some problems with this repository. When I annotate cumlprims_mg-related annotations in CMakeLists.txt, I will report a lot of problems in make where the header file is not found. I don't understand why we put cumlprims_mg-src in CMakeLists.txt.

suhansu avatar Aug 17 '24 04:08 suhansu

Hi @suhansu, thanks for the issue. cumlprims-mg contains some of the multigpu code for certain algorithms. You can install it from conda rapidsai and rapidsai-nightly channels: https://anaconda.org/rapidsai-nightly/libcumlprims and https://anaconda.org/rapidsai/libcumlprims. You can also avoid the need for this dependency when building with the singlegpu option: https://github.com/rapidsai/cuml/blob/c7f53ef92d80f604b04829406b1c0e16ba563823/build.sh#L43.

How are you building the repository? I would highly encourage using our conda developer environments here: https://github.com/rapidsai/cuml/blob/branch-24.10/conda/environments/all_cuda-125_arch-x86_64.yaml

dantegd avatar Aug 18 '24 23:08 dantegd

Thank you for your reply, I will try it, have a good day

suhansu avatar Aug 21 '24 05:08 suhansu

Let me know if you run into any further issue @suhansu, glad to try to help!

dantegd avatar Aug 23 '24 00:08 dantegd