executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
fedformerRoutes FEDformer training, comparison, and sweep workflows for the FEDformer subrepo, including Fourier and Wavelets variants, model-selection knobs, and the bundled CUDA smoke check.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this route when the task is about the FEDformer subrepo entry point FEDformer/run.py, the FEDformer model stack in FEDformer/exp, FEDformer/models, FEDformer/layers, FEDformer/utils, or the FEDformer sweep scripts.
Natural triggers:
mode_selectmodesLbasecross_activationFEDformer/run.py.FEDformer/models/FEDformer.py.FEDformer/scripts/LongForecasting.sh and FEDformer/scripts/LookBackWindow.sh.If the user really means the root long-forecasting benchmark, the statistical baselines, or Pyraformer, route them to the sibling route for that workflow instead of staying here.
Read these bundled files first:
scripts/run_fedformer.py for a safe wrapper that resolves a checkout and builds a FEDformer command.scripts/smoke_fedformer.py for a tiny CUDA forward pass on synthetic data.references/cli-reference.md for the FEDformer CLI flags and the arguments that matter most.references/model-overview.md for Fourier vs. Wavelets, embedding choices, and comparison guidance.references/data-layout.md when the CSV format, split rule, or channel counts are unclear.references/workflows.md for one-off runs, sweep recipes, and comparison loops.references/troubleshooting.md when the run fails, the parser defaults look suspicious, or the dataset layout does not match.This route is verified for a CUDA build of PyTorch 1.9.0+cu111 on GPU hardware.
Wavelets also needs sympy, einops, and scipy in addition to the standard FEDformer stack.
--model FEDformer for the FEDformer family.--version Fourier when you want mode selection over frequency bins.--version Wavelets when you want the multiresolution branch with L, base, and cross_activation.--model Autoformer, Informer, or Transformer only when the comparison is still anchored in this subrepo.--moving_avg parser default alone unless you are programmatically building a real Python list.A successful run usually writes checkpoints and evaluation artifacts under the current working directory, including:
checkpoints/<setting>/checkpoint.pthresults/<setting>/metrics.npyresults/<setting>/pred.npyresults/<setting>/true.npytest_results/<setting>/Before debugging a failed FEDformer run, check these first:
--model is set explicitly; the parser default is not a valid FEDformer family member.root_path, data_path, features, and channel counts match the dataset.--version.See references/troubleshooting.md for the full failure map.