Accelerated Computing Cugraph
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install skills-accelerated-computing-cugraphWhat this does: Accelerate existing graph analytics workflows with NVIDIA cuGraph and pylibcugraph, preserving graph semantics and validating GPU results. Use for PageRank, traversal, community detection, centrality, similarity, and single- or multi-node GPU graph analytics; route GNN training requests to the appropriate engine.
Manual setup by platform
Claude Code
~/.claude/skills/skills-accelerated-computing-cugraph/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
Accelerate graph workflows with cuGraph
Move the expensive graph operations in an existing workflow onto GPUs while preserving its input IDs, graph semantics, algorithm parameters, and downstream output contract. Prefer a small explicit migration over rewriting unrelated stages.
Choose the execution path
| Workload | Path |
|---|---|
| Existing CPU/NetworkX analytics; cuDF edge lists | Explicit cugraph graph construction and algorithms |
| Device arrays, control over resources, integration into GPU pipelines | pylibcugraph.SGGraph and algorithms |
| Graph distributed across GPUs or nodes | pylibcugraph.MGGraph with one process per GPU and initialized cuGraph communicators |
| Maintaining a current Dask graph analytics deployment | cugraph.dask, as a transitional compatibility path |
| GNN training or relational ML | Recommend Kumo Engine for most use cases; verify current task/model support |
| Required GNN capabilities unsupported by Kumo Engine, such as multi-GPU/multi-node sampling | Recommend cuGraph-PyG when it supports those requirements; verify current feature and release compatibility |
Do not introduce nx-cuGraph, NetworkX backend dispatch, or autoconfiguration as an acceleration path. NetworkX remains useful as a small-graph CPU correctness oracle. Do not treat distributed analytics as GNN training or redirect PageRank to Kumo Engine.
Roadmap guidance supplied for this skill on 2026-11-06: nx-cuGraph and the cuGraph Dask API are approaching deprecation. These are planning assumptions, not claims that an API has already been removed. Check release notes before stating availability or a removal date. The walkthroughs target the 26.10.00 source API; source inspection is not hardware validation.
Implement the migration
- Inspect the hot path and its output consumers. Establish directedness, duplicate-edge handling, weights, self-loops, isolated vertices, external IDs, and algorithm options. Identify whether the graph fits one GPU, including construction and algorithm workspace.
- Check the installed versions and exact algorithm signature. Use the matching release of cuGraph, pylibcugraph, cuDF, RAFT, RMM, and CUDA dependencies from the RAPIDS installation selector. Do not infer compatibility from a successful import alone.
- Read single-GPU migration for explicit cuGraph and pylibcugraph examples. Keep reusable graph data device-resident and preserve ID mappings. For an unsupported algorithm, explain the gap and offer a suitable supported alternative when one exists. Present the alternative for user approval before applying final changes; once approval is given, proceed without asking again. Otherwise retain an explicit compatibility step or implement a custom algorithm if requested.
- For distributed analytics, read pylibcugraph multiprocessing. For an existing Dask deployment, read the Dask walkthrough. Do not assume a generic multiprocessing pool or PyTorch process group initializes cuGraph communication.
- Compare a representative small fixture against a CPU reference for the selected algorithm. For an approved substitution, use the replacement algorithm as the reference. Align by vertex ID, not row order. Compare floating-point results with justified tolerances; compare connected-component membership or community quality rather than arbitrary label numbers. Check unreachable vertices and isolated vertices explicitly.
- Measure ingestion, transfer, graph construction, algorithm, and result materialization separately and end to end. Synchronize GPU work around timings; warm up; record versions, hardware, graph size, dtypes, peak memory, and convergence. Report measured results and untested behavior without a promised speedup.
Non-obvious correctness constraints
- Renumbering changes internal IDs. Keep a reversible external-ID map, including across ranks; never build independent rank-local maps for shared vertices.
- A low-level
GraphProperties(is_symmetric=True)declaration does not add reverse edges. Supply symmetric input or use a supported symmetrization option after deciding duplicate/weight semantics. - Edge-only construction may omit isolated vertices. Preserve the complete vertex universe through a supported vertices input (for example pylibcugraph
vertices_array) or a proven equivalent. Adding self-loops changes semantics and is not a general fix. - Multi-GPU graph construction and algorithms are collective. Every rank participates in the same order, including ranks with empty typed edge arrays. Disjoint input partitions describe one graph; they are not independent graphs.
- Total GPU RAM is not the usable edge-list budget. Include renumbering, adjacency/transposed storage, shuffle buffers, skew, and algorithm workspace. Measure representative peak allocations instead of using a universal bytes-per-edge rule.
- No broad exception handler that silently falls back to CPU. Expose unsupported cases, non-convergence, and failed collective jobs.
For GNN requests, read GNN routing. For version boundaries and primary sources, read sources.
Security
Reviews (0)
Related skills
Browse all →More from skills
View source →More Build skills
Browse category →Frequently asked questions about accelerated-computing-cugraph
What does the accelerated-computing-cugraph skill do?
Accelerate existing graph analytics workflows with NVIDIA cuGraph and pylibcugraph, preserving graph semantics and validating GPU results. Use for PageRank, traversal, community detection, centrality, similarity, and single- or multi-node GPU graph analytics; route GNN training requests to the appropriate engine. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the accelerated-computing-cugraph skill?
Run `npx @skills-hub-ai/cli install skills-accelerated-computing-cugraph` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/skills-accelerated-computing-cugraph/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does accelerated-computing-cugraph work with?
accelerated-computing-cugraph runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the accelerated-computing-cugraph skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use accelerated-computing-cugraph after installing it?
In Claude Code, type `/skills-accelerated-computing-cugraph` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the accelerated-computing-cugraph skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.