技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
dgl【数据与研究】Route DGL graph learning tasks across graph APIs, datasets, message passing, GraphBolt, distributed tools, and DGL-Go workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task names DGL, Deep Graph Library, DGLGraph, GraphBolt, DGL-Go, DGL sparse, DGL distributed training, or graph neural network workflows implemented with DGL.
Install a public DGL package that matches the target backend and Python version, then verify imports before using deeper workflows:
python -m pip install dgl
python - <<'PY'
import dgl
print(dgl.__version__)
print(dgl.graph(([0, 1], [1, 2]), num_nodes=3))
PY
For PyTorch workflows that use GraphBolt, keep the installed torch version compatible with the DGL wheel's bundled GraphBolt library. If import dgl reports a missing libgraphbolt_pytorch_<version> file, read references/troubleshooting.md.
dgl.graph, dgl.heterograph, canonical etypes, features, transforms, batching, subgraphs, to_block, and graph-level smoke checks.DGLDataset, CSVDataset, meta.yaml, graph save/load, dataset caches, download/cache environment variables, and CSV/OnDiskDataset handoffs.update_all, dgl.function, PyTorch GNN layers, full-graph training loops, heterograph modules, readout, and dgl.sparse.dgl.dataloading.DataLoader, NeighborSampler, GraphBolt ItemSet/ItemSampler, feature fetching, OnDiskDataset, GPU sampling, and UVA decisions.DistGraph, DistDataLoader, node_split, edge_split, ip_config.txt, dry launch-command construction, and safe distributed preflight.configure, recipe, train, export, configure-apply, apply, YAML config linting, and recipe/custom CSV workflows.python scripts/check_dgl_environment.py for a safe import/backend/native-library diagnostic.meta.yaml, route to datasets-and-io before any model or dataloader work.dataloading-graphbolt; then route model forward() details to message-passing-training.ip_config.txt, or DistGraph, route to distributed-tools and do not run SSH/cluster launchers without explicit approval.dglgo-cli; use datasets-and-io for custom CSV data validation and message-passing-training for exported script edits.graph-apis and avoid training or dataset assumptions.