-
-
Notifications
You must be signed in to change notification settings - Fork 4
libcugraph leaks the RMM dependency to downstream #10
Comments
Also cc @isuruf |
Can we possibly also include the rmm headers in the libcugraph package via the build script until we fix the problem in libcugraph's headers? |
Even as a workaround I don't think it's ok. If there are more than one package bundling the RMM headers, when installing them at the same time they would overwrite each other's bundle in I think the right way is to follow Thrust and CUB, which are also header-only libraries, and make RMM a standalone package. Maybe @jakirkham @kkraus14 or other members from @conda-forge/core can comment and offer a better band-aid fix. |
Thanks @leofang , that makes sense and I agree. We may be able to address this on the cugraph side, but unfortunately not for 0.19. I can start working on the RMM recipe for conda-forge if other members don't have a better idea. |
Having a separate package is the best idea. |
We're going to add a |
I've submitted a PR for |
https://github.com/conda-forge/librmm-feedstock has been created and the packages made it through the CDN. Should be ready to start depending on |
Maybe (?) blocked by conda-forge/librmm-feedstock#2. |
Looks like that should be fixed. So should be unblocked now |
tl;dr: I don't think the current handling of downloading RMM as part of source code
libcugraph-feedstock/recipe/meta.yaml
Lines 13 to 16 in 0e96fa5
is appropriate. RMM must be packaged as a Conda-Forge package so that libcugraph can depend on it, and downstream packages like CuPy can just depend on libcugraph without worrying about RMM.
From conda-forge/cupy-feedstock#123 (comment):
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=307796&view=logs&j=7e9c1385-f003-5191-6e56-de8b58facc56&t=e14c8b26-d4de-545b-9aea-e32da246fb0e&l=4922
It shows RMM headers must be present when building applications depending on libcugraph. But, given that RMM must be pinned at the same version as libcugraph, it is impossible for downstream packages to handle this pinning, and instead libcugraph should do this via
pin_compatible
, which in turn requires RMM to be available as a standalone package.cc: @kkraus14 @jakirkham @rlratzel
The text was updated successfully, but these errors were encountered: