AGENT SKILL

ppi-workflows

Operate the DeepGCNs PPI node-classification workflow with exact train/test flags, residual/plain/dense architecture choices, PyG loader and DataParallel boundaries, micro/macro F1 semantics, and checkpoint alignment without downloading data or running full training.

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

01 前言 Front Matter

name
ppi-workflows
license
MIT
metadata
{ "disco-role": "operating" }
description
Operate the DeepGCNs PPI node-classification workflow with exact train/test flags, residual/plain/dense architecture choices, PyG loader and DataParallel boundaries, micro/macro F1 semantics, and checkpoint alignment without downloading data or running full training.
disable-model-invocation
true

02 资源文件 3

03 SKILL.md 正文

PPI workflows

Use this skill for the source-evidenced protein-protein interaction (PPI) node classification workflow, including its residual/plain/dense backbones and F1-based evaluation. This is a reference-only operating skill. The original source example is evidence only, not a runtime dependency: use only a caller-supplied PPI entry point and staged local inputs. Do not copy or launch the full training program, download PPI data, fetch external-drive checkpoints, or claim that a CPU smoke reproduces the published GPU result.

Route first

  • PPI node classification: read workflows.md, then validate the data and metric contract in data-and-metrics.md.
  • Generic GraphConv, EdgeConv, MRConv, GAT/GIN/GCN/SAGE construction, KNN, GENConv, or block API questions: route to the sibling graph-layers skill. Keep this skill's architecture choices at the task level.
  • OGB proteins or another OGB benchmark: route to ogb-workflows. OGB proteins is not the PyG PPI dataset and does not share its split, feature, label, or checkpoint conventions.
  • ModelNet40, S3DIS, PartNet, or point-cloud layouts: route to the sibling point-cloud workflow skill.

Safe operating sequence

  1. Establish the requested phase (train or test), prepared local data root, feature and label dimensions, device/backend, loader mode, architecture tuple (block, conv, n_filters, n_blocks, and n_heads), and checkpoint path if any.
  2. Verify that the data and checkpoint were staged by the caller. The upstream PyG dataset can auto-download when files are absent, but this skill never permits that side effect. Do not run a download or embed a downloader.
  3. Check the exact flags and source-observed defaults in workflows.md. In particular, do not rely on the README's prose default for filter width: the parser's default is authoritative for the source workflow.
  4. Align the checkpoint basename and tensor shapes with the requested model before loading. A checkpoint is not interchangeable merely because it is labelled ppi.
  5. Prefer a tiny, local, synthetic forward/parser check when validating an environment. Treat full PPI training, validation, and benchmark numbers as GPU/data/checkpoint-dependent prerequisites, not as bundled actions.
  6. Report micro F1 separately from macro F1. The source path computes micro F1 only; it does not produce macro F1.

Operating invariants

  • PPI examples use static sparse graph convolutions over PyG edge_index. Node features have shape [num_nodes, num_features]; output logits have shape [num_nodes, num_classes]. The model obtains data.batch, but the static PPI forward path does not use it to construct a graph.
  • The standard PyG PPI contract is 50 floating-point node features and 121 binary gene-ontology labels. n_classes is inferred from the test dataset; it is not a CLI flag.
  • The loss is BCEWithLogitsLoss. A positive prediction is formed by testing the raw logit with out > 0, equivalent to a sigmoid threshold of 0.5.
  • The documented score is micro F1 (average="micro") over multilabel node predictions. Macro F1 (average="macro") is a different statistic and must not be inferred from the source's mF1/m-F1 log label.
  • Checkpoint architecture identity is ppi-{block}-{conv}-{n_blocks}-{n_filters}, optionally followed by -{postname}. The phase suffix is _val_best or _test_best; see the checkpoint section in the references for the save-directory date component.
  • --multi_gpus selects PyG DataListLoader for training and wraps the model with PyG DataParallel. The source constructs ordinary DataLoader objects for validation/test, so multi-GPU evaluation is a compatibility boundary and must be checked rather than assumed.

Scope boundary

The references preserve exact source-observed commands, flags, data fields, metric behavior, checkpoint naming, and failure modes without bundling the training implementation. No PPI configuration checker is included: the parser has source-era boolean and path behavior, while a safe checker that faithfully validates data/checkpoint contents would either duplicate the training stack or invite data access. This explicit reference-only choice keeps the runtime tree offline-safe and makes the unsupported parts visible.

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