AGENT SKILL

experiments

Routes PFLlib federated-learning runs, CLI tuning, privacy evaluation, GPU smoke checks, and result summarization.

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

01 前言 Front Matter

name
experiments
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Routes PFLlib federated-learning runs, CLI tuning, privacy evaluation, GPU smoke checks, and result summarization.
disable-model-invocation
true

02 资源文件 7

03 SKILL.md 正文

Experiments

Use this route when you want to launch, tune, or summarize a PFLlib federated learning run.

Use this when

  • You need to run FedAvg, FedProx, FedPAC, FedCP, GPFL, FedDBE, or any other built-in algorithm on a prepared dataset split.
  • You need to pick a model for a dataset family, adjust rounds or client ratios, or switch between CPU and CUDA execution.
  • You need privacy evaluation (-dlg / DLG) or system-condition knobs such as client dropout, slow trainers, slow senders, or network TTL.
  • You need to understand where results and model checkpoints are written.
  • You want to summarize a run from an .h5 result file or a .out log.

Read these references

  • references/cli-reference.md for the main launch flags and the common option groups.
  • references/model-overview.md for dataset-to-model compatibility.
  • references/results-and-logs.md for saved outputs and summary formats.
  • references/workflows.md for quickstart, privacy, and text-task recipes.
  • references/troubleshooting.md for CUDA, cvxpy, layout, and log-path issues.

Run these helpers

  • scripts/run_experiment.py to launch system/main.py from a checkout without hard-coding the source path.
  • scripts/summarize_results.py to read h5 or text-log outputs and print best accuracy summaries.
  • scripts/check_install.py from the root route before the first run or after any dependency change.
  • scripts/scan_registry.py from the root route when you need to inspect the supported dataset, model, and algorithm registry.

What belongs here

Include existing experiment workflows, evaluation settings, and result-reading workflows:

  • dataset + model + algorithm selection
  • CUDA / CPU execution choice
  • multi-GPU selection via -did
  • privacy evaluation and DLG settings
  • client dropout, slow trainer, slow sender, and TTL settings
  • checkpoint and h5 result inspection
  • log summarization and run comparison

What does not belong here

  • Creating or validating the dataset splits themselves; route that to data-preparation.
  • Adding a new algorithm, model, or dataset; route that to extension.
  • Host install / package resolution failures before PyTorch imports work; read the root troubleshooting and check-install helper first.

Common workflow

  1. Confirm that the dataset split exists and matches the intended scenario.
  2. Confirm the runtime stack with the install checker.
  3. Launch the experiment through the bundled wrapper.
  4. Summarize the output with the bundled result helper.
  5. Move to extension guidance only if you need to add new code paths.

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