Skip to content

Add cuGraph workflow acceleration skill and distributed analytics walkthroughs - #888

Closed
alexbarghi-nv wants to merge 3 commits into
NVIDIA:mainfrom
alexbarghi-nv:pr/cugraph-workflow-acceleration
Closed

alexbarghi-nv wants to merge 3 commits into
NVIDIA:mainfrom
alexbarghi-nv:pr/cugraph-workflow-acceleration

Conversation

@alexbarghi-nv

@alexbarghi-nv alexbarghi-nv commented Nov 17, 2026 •

Copy link
Copy Markdown

Superseded by rapidsai/cugraph#5756, following the source-repository review guidance. The replacement draft includes 9Olive's attributed analysis and benchmark in both the PR description and BENCHMARK.md, adds the NVSkills request workflow, and removes internal-source references. The current diff here has also been cleaned of those references. A catalog-only onboarding PR will follow once the cuGraph source is ready.


Existing graph workflows need explicit cuGraph/pylibcugraph acceleration guidance and a distributed analytics path that does not depend on a Dask scheduler. This adds a cuGraph skill with semantics-preserving migration guidance, single-GPU examples, multi-node/multi-GPU Dask and direct pylibcugraph walkthroughs, and torchrun / torch.multiprocessing launch examples.

GNN guidance recommends Kumo Engine and scopes cuGraph-PyG to distributed-training requirements or maintenance of an existing stack. nx-cuGraph is not offered as a new acceleration path. Deprecation direction is labeled as planning guidance rather than a confirmed removal release.

Draft for implementation and onboarding review; not ready to merge. The official catalog syncs signed skills from public NVIDIA-owned product repositories. This PR stages the implementation for review; the product source location and catalog registration remain unresolved. Merging the unregistered directory as-is would allow catalog sync to prune it.

Included

  • Concise SKILL.md with five focused references and source provenance.
  • cuGraph 26.10 source-checked examples, including communicator ownership, input partitioning, rank/device mapping, collective ordering, and cleanup.
  • Three runnable helper scripts, four CPU fixture tests, and eleven agent evaluation cases.
  • Skill card, truthful NOT RUN benchmark status, and onboarding/validation notes.

Validation

Passed after rebasing onto current NVIDIA/skills main:

  • Four CPU unit tests.
  • Python script compilation and documentation code-block parsing.
  • Skill frontmatter validation, skill-card marker validation, local Markdown links, evaluation JSON, and diff checks.

Not run: CUDA/NCCL execution, SG/MG numerical comparisons, Dask or multi-node integration, agent effectiveness benchmarks, or performance measurements. The 26.10 MGGraph constructor workaround is source-checked, not hardware-validated. No old benchmark results or signatures are reused.

Onboarding type

  • New product onboarding (components.d registration will follow source placement)
  • Other: draft cuGraph implementation and onboarding review

Author affirmations and remaining gates

  • Owning-team open-source release clearance, including roadmap statements and derived content
  • Selected licenses: CC-BY-4.0 for documentation/skills and Apache-2.0 for code, with attribution retained
  • Owning-team confirmation that no new license or third-party component is introduced
  • Source repository is public and under an NVIDIA-owned GitHub organization
  • Root skills/ path and flat catalog directory naming
  • Register the actual source in components.d and resolve the product metadata mapping
  • Complete GPU integration validation and the NVSkills evaluation pipeline
  • Replace NOT RUN with measured benchmark results and obtain a valid skill.oms.sig over final content

Reviewer checklist

  • Author confirmations complete
  • Source registration, product metadata, and unique catalog_dir valid
  • SKILL.md frontmatter validated locally
  • Licensing/dependency review complete

All PRs

  • All contribution commits carry DCO Signed-off-by trailers

See docs/cugraph-development/README.md for the proposed source-repository handoff and docs/cugraph-development/VALIDATION.md for the validation record.

Signed-off-by: Alex Barghi <105237337+alexbarghi-nv@users.noreply.github.com>
Signed-off-by: Alex Barghi <105237337+alexbarghi-nv@users.noreply.github.com>
@mosheabr

Copy link
Copy Markdown
Collaborator

Thanks for putting this together. The guidance and evals look thorough. As you noted, this can't merge as is: NVIDIA/skills doesn't host skill content directly. It syncs signed skills from public NVIDIA-owned product repos, so a skill directory added here without a source would be pruned on the next sync.

The path forward:

  1. The owning team publishes the skill under skills/<skill-name>/ in a public NVIDIA-owned repo (for example a RAPIDS or cuGraph repo).
  2. They add the request template and run /nvskills-ci there to produce skill.oms.sig, skill-card.md and a measured BENCHMARK.md with a PASS verdict.
  3. Then they open a PR here that adds only components.d/<product>.yml pointing at that path.

One thing to fix now: references/sources.md and docs/cugraph-development/VALIDATION.md reference an internal GitLab URL and repository. This repo is public, so please remove those references before the content moves anywhere public. I'd suggest closing this PR and opening the onboarding PR once the source is in place.

@9Olive

9Olive commented Nov 19, 2026 •

Copy link
Copy Markdown

Task performed

This PageRank task was used to benchmark the cuGraph skill.

The agent wrote and ran a Python program that read a directed, unweighted edge list, built a five-vertex graph on a GPU, computed PageRank, and wrote one score per vertex using the original vertex IDs.

Method

Codex and Claude each ran five paired trials with the cuGraph repo alone and with the repo plus the skill, for 20 runs on the same prepared A100 environment.
An independent CPU reference checked the supplied graph, reordered edges, and a graph with a vertex that had no outgoing edges.

Results

Elapsed time includes agent work and independent verification.
Paired slowdowns are medians of within-pair differences.

Agent Repo only, median Repo + skill, median Median paired slowdown Correct runs, repo / skill
Codex 56.9 s 68.7 s 12.9 s 5/5 / 5/5
Claude 28.5 s 30.2 s 1.6 s 5/5 / 5/5

On this PageRank task, all 60 fixture checks passed.
The skill eliminated Claude’s graph-storage performance warning (5/5 runs to 0/5).
Codex already used the recommended setting.
The slowdown occurred primarily before submission, where the traces show extra reference reads and diagnostic checks.

Written by Codex.

Signed-off-by: Alex Barghi <105237337+alexbarghi-nv@users.noreply.github.com>
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.

3 participants