AGENT SKILL

ogb

Routes OGB graph dataset, evaluator, conversion, and export workflows.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
ogb
license
MIT
metadata
{ "disco-role": "operating" }
description
Routes OGB graph dataset, evaluator, conversion, and export workflows.
disable-model-invocation
true

02 资源文件 9

03 SKILL.md 正文

OGB

Use this skill for the Open Graph Benchmark package when the task is about loading OGB datasets, choosing an evaluator, converting molecules or code into OGB graphs, or packaging a new OGB-style dataset.

Read this skill when

  • The request names ogb, ogbg-*, ogbn-*, ogbl-*, PCQM4M, MAG240M, WikiKG90M, or DatasetSaver.
  • The task asks for GraphPropPredDataset, NodePropPredDataset, LinkPropPredDataset, PCQM4MDataset, PCQM4Mv2Dataset, MAG240MDataset, WikiKG90MDataset, or the matching evaluator.
  • The task mentions smiles2graph, py2graph, meta_dict.pt, mapping/, split_dict.pt, test-dev, test-challenge, or OGB submission files.
  • The task asks for PyG or DGL dataset wrappers and the corresponding backend packages are installed.

Install

python -m pip install -e .

If you need the molecular helper, install rdkit as well. If you need the PyG or DGL wrapper classes, install the matching optional backend package too.

Start here

  1. Read references/api-overview.md for the public class map and the common loader/evaluator shapes.
  2. Read references/installation.md for the package install command and the optional backend notes.
  3. Read references/dataset-catalog.md when you need the exact dataset names or metrics.
  4. Read references/troubleshooting.md when imports fail, downloads are interrupted, or shapes do not match.

Route by task family

Quick install check

After installing the package, run the bundled smoke helper:

python scripts/check-install.py

If you need the molecule helper, also run:

python scripts/smiles2graph-smoke.py

What this skill does not do

  • It does not tell you to run the original repository's heavy training examples as the runtime skill.
  • It does not depend on the source checkout remaining available once the skill is generated.
  • It does not treat the vendored WikiKG90M external framework tree as bundled runtime content.

Useful bundled helpers

Provenance and routing

Read references/repo-provenance.md to see which repo state this skill was distilled from, and references/repo-routing-metadata.json for the router scenario metadata used during import.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351