← Back to Pull requests

Add cuGraph agent skill and distributed analytics walkthroughs #5756

Closed
unknown closed this pull request without merging on Nov 25, 2026 21:32 UTC
View on GitHub
unknown unknown commented on Nov 19, 2026 22:33 UTC
Author

Description

Adds skills/accelerated-computing-cugraph/ so coding agents can accelerate existing graph workflows through explicit cuGraph/pylibcugraph APIs while preserving vertex IDs, graph semantics, and downstream output contracts.

The skill covers single-GPU migration, transitional Dask multi-node/multi-GPU analytics, and direct pylibcugraph collective execution through torchrun or torch multiprocessing. Kumo Engine is recommended for most GNN use cases; cuGraph-PyG is recommended when it provides required capabilities Kumo Engine does not support, such as multi-GPU/multi-node sampling. Current feature and release support must be checked before choosing a stack.

The implementation includes five focused references, three example/helper scripts, and eleven reviewed agent-evaluation tasks. Examples target the cuGraph 26.10 source API. No cuGraph runtime implementation is changed.

Reviewed behavior and guidance

  • All eleven evaluation cases now have explicit observable success criteria: ten positive cases and one negative SQL-routing case, with 70 criteria in total.

  • Distributed correctness cases require checking the results returned from actual multi-GPU execution against a known result or CPU/single-GPU reference.

  • For an Adamic–Adar acceleration request, explain the unsupported algorithm and offer cuGraph Jaccard with its scoring tradeoffs. Present the alternative for approval, then make the final code changes after the user agrees. The evaluation supplies that affirmative response and original code, and checks Jaccard against a CPU Jaccard reference.

  • GNN recommendations follow required feature support rather than unpublished lifecycle assumptions.

  • Internal-source references were removed and NVIDIA attribution/license notices retained.
  • Completed NVSkills validation

    Overall verdict: PASS — Recommended for publication.

    NVSkills evaluated source commit 8290d3b7f342d491b0f4e2fcdffb6c7de5ef9676 using SkillEvaluator 1.6.10. The run covered all eleven tasks with Claude Code and Codex in isolated k8s-sandbox environments, with one attempt per task and condition.

    | Validation stage | Result |
    | --- | --- |
    | Tier 1 — static/security validation | Passed with observations: 27 findings, 0 critical/high |
    | Tier 2 — semantic deduplication | Passed; no findings |
    | Tier 3 — live agent evaluation | PASS; two agents, eleven tasks |
    | Publication gate and report generation | Passed |
    | Signature generation and verification | Passed; generated files pushed to this PR |
    | GitHub NVSkills CI status | Success on signed commit 56bee46038535644c6d92b29c66d50200c8d521b |

    The signing service committed the measured BENCHMARK.md, generated skill-card.md, and verified skill.oms.sig in 56bee46. The report retains observations and detailed per-agent scores; passing agent evaluation does not replace target-cluster integration/scaling tests of the distributed examples.

    Evidence:

  • Signed benchmark and detailed scores

  • GitLab validation/signing pipeline (NVIDIA access required)

  • Tier 3 job (NVIDIA access required)

  • GitHub NVSkills run
  • Local validation also passed: all applicable cuGraph pre-commit hooks, Python compilation/example parsing, skill frontmatter, task-data structure/criteria, local links, and diff checks.

    Earlier independent GPU benchmark from 9Olive

    9Olive's report on NVIDIA/skills#888 tested a five-vertex directed, unweighted PageRank workflow on an A100. Codex and Claude each ran five paired repo-only/repo-plus-skill trials: 20 runs and 60 passing fixture checks, including reordered edges and a dangling vertex.

    | Agent | Repo-only median | Repo + skill median | Median within-pair 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 |

    The skill removed Claude's graph-storage warning (5/5 runs to 0/5); Codex already used the recommended setting. Elapsed time included agent work and independent verification; additional reference reads and diagnostic checks increased task time. These measurements are scoped to that earlier task and are not graph-kernel speedups or distributed validation. The current generated benchmark above contains the final NVSkills publication evidence.

    Review and catalog publication

    This is the product-owned source PR, replacing the closed NVIDIA/skills#888. NVSkills setup is now in cuGraph main through #5758, and validation/signing for this skill is complete. Maintainer review and the owning team's release/licensing confirmation remain part of the normal merge/publication process. Documentation retains CC-BY-4.0 attribution; code is Apache-2.0. Contribution commits carry DCO sign-offs.

    After this PR merges with the generated artifacts intact, open a separate catalog-only PR to NVIDIA/skills adding components.d/cugraph.yml, pointing to rapidsai/cugraph, ref: main, and skills/accelerated-computing-cugraph/, with catalog_dir: accelerated-computing-cugraph and product mapping cuGraph. Catalog onboarding checks must pass before merging that registration; catalog automation then synchronizes the signed skill and generates its listings.

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: alexbarghi-nv Review duration: 8578m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #5756"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%