training
Route NAVSIM learned-agent training plans, feature and target caches, Hydra configuration, resource selection, and checkpoint diagnosis.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- training
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Route NAVSIM learned-agent training plans, feature and target caches, Hydra configuration, resource selection, and checkpoint diagnosis.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/cache-and-builders.md5.2 KB
- 参考文档references/configuration.md6.3 KB
- 参考文档references/troubleshooting.md7.5 KB
- 参考文档references/workflows.md6.2 KB
- 脚本scripts/inspect_training_config.py10.2 KB
03 SKILL.md 正文
NAVSIM training
Use this route when a researcher needs to plan or diagnose learned-agent training, feature/target construction, gzip-pickle caches, or the Lightning training wrapper. Keep this route planning-first: do not download data, build large caches, launch training, or run benchmark workloads unless the researcher has explicitly approved the concrete command and resource budget.
Route by need
- Start with workflows.md for the safe sequence from agent selection through cache reuse and checkpoint handoff.
- Read cache-and-builders.md for builder contracts, cache file names, cache-only semantics, and cache compatibility.
- Read configuration.md for Hydra composition, exact override patterns, legal training splits, workers, and CPU/GPU planning.
- Use troubleshooting.md for install/import, backend, data/config, CLI/API, and workflow-specific failures.
- Before any expensive action, run the read-only training-config checker:
python scripts/inspect_training_config.py --help, then provide a split and config/overrides as described in its help.
Operating rules
- Treat the selected
train_test_split, log lists, agent configuration, and feature/target builder names as one cache identity. Do not reuse a cache merely because its directory exists. - For
use_cache_without_dataset=true, require a non-nullcache_pathandforce_cache_computation=false. The runner asserts this combination before constructingCacheOnlyDataset; it is not a performance hint. - For training, use a permitted training split such as
navtrain,trainval,mini, ornavmini. Never train on test, challenge, or private challenge splits; see the legality table in configuration.md. - Prefer a small, explicit resource plan. A CPU plan is appropriate for imports and configuration checks, not for claiming TransFuser training parity. The documented GPU defaults use mixed precision and distributed strategy and must be reviewed against available devices.
- Check the generated output/checkpoint contract before handing a model to an evaluation route. A checkpoint path is an input to learned-agent loading, not a substitute for matching agent configuration and cache builders.
04 同仓库更多 Skills
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.
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.
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.
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.
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.
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).