pyraformer
Routes Pyraformer long-range forecasting, single-step forecasting, preprocessing, synthetic data generation, and optional TVM questions.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- pyraformer
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Routes Pyraformer long-range forecasting, single-step forecasting, preprocessing, synthetic data generation, and optional TVM questions.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/cli-reference.md6.0 KB
- 参考文档references/data-layout.md2.2 KB
- 参考文档references/preprocessing.md2.5 KB
- 参考文档references/troubleshooting.md3.3 KB
- 参考文档references/workflows.md2.8 KB
03 SKILL.md 正文
pyraformer
Use this sub-skill when the task is about Pyraformer long-range forecasting, Pyraformer single-step forecasting, preprocessing the Pyraformer datasets, or generating synthetic input files for that route.
Route here for
- Running or explaining
Pyraformer/long_range_main.py. - Running or explaining
Pyraformer/single_step_main.py. - Preparing the Pyraformer single-step inputs from raw electricity, flow, or wind data.
- Generating
synthetic.npyfor the synthetic route. - Questions about
use_tvm,truncate, or other advanced Pyraformer runtime flags when the user explicitly wants the optional CUDA/TVM path.
Route away
- The
graph_attention.pydebug helper and other TVM-only internals are reference-only and stay out of the default runtime surface. - Root LTSF-Linear workflows, baseline models, and FEDformer tasks belong in their sibling routes.
Read first
references/cli-reference.mdfor long-range and single-step flags, dataset defaults, and model switches.references/data-layout.mdfor expected CSV,.npy, and checkpoint locations.references/preprocessing.mdfor electricity, flow, wind, and synthetic preparation details.references/workflows.mdfor the common run recipes and sweep-script summary.references/troubleshooting.mdfor dataset, mask, checkpoint, and TVM failure modes.
Skill-owned scripts
scripts/run_pyraformer_long.py— repo-root-aware launcher for long-range runs.scripts/run_pyraformer_single.py— repo-root-aware launcher for single-step runs.scripts/prepare_pyraformer_data.py— bundled data-preparation helper for elect, flow, wind, and synthetic outputs.scripts/smoke_pyraformer.py— CLI help and dry-run smoke for the route.
Typical workflow
- Confirm whether the user needs long-range forecasting, single-step forecasting, or preprocessing.
- Check the dataset family and file layout in
references/data-layout.md. - Use the matching wrapper or source CLI with the dataset-specific flags from
references/cli-reference.md. - If the user asks about
use_tvm, confirm they want the optional CUDA/TVM path before enabling it. - If a run fails, compare the error with
references/troubleshooting.mdbefore changing model settings.
Cross-links
- Use
references/workflows.mdfor the upstream benchmark sweep summary and command patterns. - Use
scripts/smoke_pyraformer.pybefore asking for a heavier training or preprocessing run. - For shared CSV layout and repo-wide missing-file or import issues, see the root skill references at
../../references/data-layout.mdand../../references/troubleshooting.md.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.