AGENT SKILL

informer2020

Use for Informer2020 long-sequence time-series forecasting training, evaluation, custom CSV preparation, and prediction workflows.

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

01 前言 Front Matter

name
informer2020
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Use for Informer2020 long-sequence time-series forecasting training, evaluation, custom CSV preparation, and prediction workflows.
disable-model-invocation
true

02 资源文件 7

03 SKILL.md 正文

Informer2020

Use this repo skill when a task involves the Informer2020 PyTorch implementation for long-sequence time-series forecasting: training/testing Informer or InformerStack, reproducing benchmark-style runs, preparing a custom time-series CSV, or running future prediction.

This is a source-style research repository, not a normal installable package. Treat the generated skill as the operating manual and use the bundled helpers below instead of reopening or executing original repo scripts directly.

First checks

  1. Confirm the checkout contains the Informer2020 source modules (models, data, exp, utils) and the forecasting launcher.
  2. Prepare a Python environment with PyTorch, NumPy, pandas, and the documented scientific stack. For exact historical reproduction, prefer the repository's legacy pins; for smoke validation, run the bundled helpers first.
  3. Run a minimal import check from the checkout or with the checkout on PYTHONPATH:
python - <<'PY'
from models.model import Informer, InformerStack
from data.data_loader import Dataset_Custom, Dataset_Pred
print('Informer2020 imports OK')
PY
  1. For a safe custom-data proof, generate and validate a tiny CSV before any long training run.

Route by task

User task Read
Train/test Informer or InformerStack, choose attention/model lengths, adapt benchmark presets, inspect metrics/checkpoints, or debug runtime training failures sub-skills/training-and-evaluation/SKILL.md
Prepare a custom CSV, choose S/M/MS, validate target/cols/freq, run do_predict, or debug data-loader/prediction output issues sub-skills/custom-data-and-prediction/SKILL.md
Set up dependencies, understand legacy version pins, or decide CPU/CUDA behavior references/install.md
Debug cross-cutting install, import, data, backend, or helper-script failures references/troubleshooting.md
Check source snapshot and evidence paths before deciding whether the skill is stale references/repo-provenance.md

Bundled helpers

Use the helpers for validation and smoke checks; use the sub-skills for larger runs and task-specific interpretation.

Key behavior to remember

  • The forecasting launcher trains and tests for every repeat; prediction is an extra branch enabled by do_predict.
  • Built-in dataset names override CSV file name, target, and tensor widths. Custom data requires you to set dimensions yourself.
  • M, S, and MS change both loader behavior and output width.
  • The code auto-selects CUDA when visible. To force CPU reliably, hide CUDA or use the smoke helper's CPU backend option rather than relying on a string False value.
  • Output directories are fingerprinted by the run setting. Checkpoints, metrics, test predictions, and future predictions are different files.

Avoid this skill when

  • The task is about a different forecasting library or a general time-series theory question with no Informer2020 implementation surface.
  • The task is repository maintenance unrelated to forecasting workflows; use a repository-maintenance skill instead.
  • The user needs a production forecasting service, model registry, or MLOps deployment stack rather than this research implementation.

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