Remove CMake/C++ references to cugraph-ops#4744
Remove CMake/C++ references to cugraph-ops#4744rapids-bot[bot] merged 4 commits intorapidsai:branch-24.12from
Conversation
jameslamb
left a comment
There was a problem hiding this comment.
Is it safe to remove ALL references to cugraph-ops here? If so, there are many more:
git grep -i 'cugraph.*ops'For example, all the uses of those now-removed CMake options in build scripts.
CI configs (click me)
cugraph/.github/workflows/build.yaml
Lines 79 to 81 in 050d524
cugraph/.github/workflows/build.yaml
Lines 103 to 105 in 050d524
cugraph/.github/workflows/pr.yaml
Lines 140 to 142 in 050d524
cugraph/.github/workflows/pr.yaml
Lines 159 to 161 in 050d524
cugraph/.github/workflows/test.yaml
Line 26 in 050d524
build scripts (click me)
Line 46 in 050d524
Line 110 in 050d524
Line 271 in 050d524
many more in build.sh
cugraph/ci/build_wheel_cugraph.sh
Line 31 in 050d524
cugraph/ci/build_wheel_pylibcugraph.sh
Line 18 in 050d524
|
@jameslamb Since CI has already passed here I am inclined to just accept this as-is and then iteratively rip out more. Maybe we can limit this PR's scope to CMake / C++ removal, and then do the removals you suggested (mostly CI, build scripts, dependencies, etc.) in a follow-up PR. I started to look into this as well and noticed there are quite a few references in the GNN code, which is being split out, so there may be potentially duplicate work that we should defer until after that split. |
|
Ok yeah fair enough, let's stop here and do more in follow-ups. |
| @@ -186,11 +186,4 @@ def test_docstring(self, docstring): | |||
| f"{docstring.name}:\n{doctest_stdout.getvalue()}" | |||
| ) | |||
| except AssertionError: | |||
There was a problem hiding this comment.
Because this is no longer using specialized logic in the exception clause, the "except: raise" pattern is unneeded. We can remove the try entirely.
|
/merge |
This PR fixes a number of issues in the manifest: - cudf's dependency on rmm was accidentally removed in #221. Since rmm is header-only I guess nobody noticed the issue since it doesn't increase build times and only shows up if you attempt to make local changes to rmm and test them in cudf. - UCXX_ENABLE_PYTHON was removed in rapidsai/ucxx#257 - cuml depends on cuvs as of rapidsai/cuml#6085 - cugraph does not depend on cugraph-ops as of rapidsai/cugraph#4744 - Many packages were relying on transitively getting rmm or raft as dependencies, which causes problems when the intermediate dependency is removed. Extra `-D<package_name>_ROOT` variables in the CMake configure don't cause any problems so I made everything explicit. --------- Co-authored-by: Paul Taylor <178183+trxcllnt@users.noreply.github.com> Co-authored-by: Bradley Dice <bdice@bradleydice.com>
This repo should no longer need any build-time dependencies on cloning the `cugraph-ops` source code or pulling in its packages, as of these PRs: * #4744 * #4765 This PR proposes the following: * removing CI configuration related to cloning the `cugraph-ops` repo * removing CMake options related to `cugraph-ops` - `ALLOW_CLONE_CUGRAPH_OPS` - `CUGRAPH_EXCLUDE_CUGRAPH_OPS_FROM_ALL` - `CUGRAPH_USE_CUGRAPH_OPS_STATIC` - `USE_CUGRAPH_OPS` * removing dependencies on `pylibcugraphops` / `libcugraphops` in development scripts, conda recipes * removing the `cugraph-ops` docs, and references to them in other docs * removing unused source file `cpp/src/utilities/cugraph_ops_utils.hpp` * removing the `cugraph_ops` pytest marker ## Notes for Reviewers ### Benefits of these changes * faster CI * simplifies the pending work to introduce `libcugraph` wheel packages (rapidsai/rapids-wheels-planning#53) ### How I identified these changes ```shell git grep -i '_ops' git grep -i '\-ops' git grep -i 'cugraphops' ``` ### Why is this so big? I'd originally wanted to leave the docs-building stuff in place, but saw `docs-build` CI here failing because docs haven't been built from the `cugraph-ops` repo yet: https://github.com/rapidsai/cugraph/blob/c5d3d231c9cac361bf51246c13440a42eeda93b9/build.sh#L334-L341 Talked offline with @acostadon and @ChuckHastings , and we agreed that those docs could just be removed here. ### What is intentionally being left? * references in licenses (as some code from `cugraph-ops` is vendored here) * references in the docs for the GNN packages (`cugraph-dgl`, `cugraph-pyg`, `pylibwholegraph`), as those do still rely on `cugraph-ops` (their docs will eventually move out of this repo) Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Kyle Edwards (https://github.com/KyleFromNVIDIA) - Alex Barghi (https://github.com/alexbarghi-nv) - Chuck Hastings (https://github.com/ChuckHastings) URL: #4784
Delete deprecated cugraph-ops functionality, clean up references to cugraph-ops.