Skip to content

Conversation

@rapids-bot
Copy link

@rapids-bot rapids-bot bot commented Nov 19, 2025

Forward-merge triggered by push to release/25.12 that creates a PR to keep main up-to-date. If this PR is unable to be immediately merged due to conflicts, it will remain open for the team to manually merge. See forward-merger docs for more info.

This PR integrates cuVS spectral clustering from upstream into cuGraph while maintaining full backward compatibility. The integration deprecates the legacy balanced cut clustering C++ and Python APIs in favor of spectral_modularity_maximization. In fact, cuVS consolidated the spectral clustering API to assign vertices to clusters that by default maximizes the modularity score

**Static Linking with Conda Fallback:**
- cuGraph is configured to statically link libcuvs for optimal performance
- The build system first attempts to use conda-installed libcuvs if available
- If libcuvs is not present in the conda environment or static linking is required, the build system automatically clones the main cuVS repository (rapidsai/cuvs) and builds it from source
- Uses the standard RAPIDS release branch (${rapids-cmake-checkout-tag}) ensuring version compatibility

Note: The header files `raft/spectral/partition.cuh` and `raft/spectral/modularity_maximization.cuh` are still necessary in `spectraly_clustering.cu` because APIs (like `raft::spectral::analyzePartition`, `raft::spectral::analyzeModularity`) are still being called in cuGraph and are not supported in cuVS. This is not an issue because those APIs are not deprecated in raft in contrary to `kmeans` and `solvers`

Authors:
  - Joseph Nke (https://github.com/jnke2016)

Approvers:
  - Anupam (https://github.com/aamijar)
  - Chuck Hastings (https://github.com/ChuckHastings)
  - Rick Ratzel (https://github.com/rlratzel)
  - Robert Maynard (https://github.com/robertmaynard)
  - Bradley Dice (https://github.com/bdice)

URL: #5326
@rapids-bot rapids-bot bot requested review from a team as code owners November 19, 2025 20:37
@rapids-bot rapids-bot bot requested a review from AyodeAwe November 19, 2025 20:37
@rapids-bot
Copy link
Author

rapids-bot bot commented Nov 19, 2025

FAILURE - Unable to forward-merge due to an error, manual merge is necessary. Do not use the Resolve conflicts option in this PR, follow these instructions https://docs.rapids.ai/maintainers/forward-merger/

IMPORTANT: When merging this PR, do not use the auto-merger (i.e. the /merge comment). Instead, an admin must manually merge by changing the merging strategy to Create a Merge Commit. Otherwise, history will be lost and the branches become incompatible.

trxcllnt and others added 4 commits November 20, 2025 16:58
RAPIDS has deployed an autoscaling cloud build cluster that can be used to accelerate building large RAPIDS projects. 

This PR updates the conda and wheel builds to use the build cluster.

This contributes to rapidsai/build-planning#228.

Authors:
  - Paul Taylor (https://github.com/trxcllnt)

Approvers:
  - Jake Awe (https://github.com/AyodeAwe)
  - Bradley Dice (https://github.com/bdice)

URL: #5332
…5345)

Updates pylibcugraph to support different temporal comparisons (i.e. >=, <, <=, >, last).

Authors:
  - Alex Barghi (https://github.com/alexbarghi-nv)

Approvers:
  - Joseph Nke (https://github.com/jnke2016)
  - Chuck Hastings (https://github.com/ChuckHastings)
  - Rick Ratzel (https://github.com/rlratzel)

URL: #5345
The distributed sampling API has been migrated to cuGraph-PyG, so we are deprecating it here.

Authors:
  - Alex Barghi (https://github.com/alexbarghi-nv)
  - Chuck Hastings (https://github.com/ChuckHastings)

Approvers:
  - Brad Rees (https://github.com/BradReesWork)

URL: #5336
* Requires that edge BC tests use NX 3.5 for comparisons, otherwise those tests are XFAIL'd.
  * Changes to NX 3.6 caused some comparisons in tests to fail when NX 3.6 is used as the reference. We're essentially skipping for now but will look into those changes (likely [here](networkx/networkx#8256))
* This also updates the `requires_nx` marker to take up to 2 args for min and max required version, and a flag for skip vs. xfail.

Authors:
  - Rick Ratzel (https://github.com/rlratzel)
  - Brad Rees (https://github.com/BradReesWork)

Approvers:
  - Brad Rees (https://github.com/BradReesWork)
  - Don Acosta (https://github.com/acostadon)

URL: #5355
@rapids-bot rapids-bot bot requested a review from a team as a code owner November 29, 2025 18:25
@rapids-bot rapids-bot bot requested a review from rlratzel November 29, 2025 18:25
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

Successfully merging this pull request may close these issues.

5 participants