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
cli-and-toolsOperate XTuner legacy command routing, old config-zoo discovery, model conversion planning, chat/evaluation/preprocess tools, and HuggingFace-trainer examples while separating them from V1 direct CLIs.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task is about the legacy top-level xtuner MODE ... router, old predefined config names, old utility scripts, model conversion command planning, legacy chat/evaluation/preprocess commands, or the HuggingFace Trainer example scripts.
Do not use this sub-skill for XTuner V1 direct workflows. Route V1 SFT/pretraining/MLLM training to the training sub-skill, V1 RL/GRPO to reinforcement-learning, V1 JSONL/data protocol details to data-preparation, and V1 model/backend sizing to model-backends.
xtuner list-cfg, copy-cfg, log-dataset, check-custom-dataset, train, test, chat, convert, preprocess, mmbench, eval_refcoco, or list-dataset-format.--model-cfg, --chat_template, GRPO, Ray rollout engines, FSDP/TP/EP/HSDP, or V1 config classes. Route away from this sub-skill.Classify the task as legacy or V1 using the routing rules above.
For old config names, search with scripts/find_legacy_configs.py and an explicit config root supplied by the user or environment:
python scripts/find_legacy_configs.py --config-root /path/to/legacy-configs qlora alpaca --limit 20
python scripts/find_legacy_configs.py --config-root /path/to/legacy-configs --exact internlm_7b_qlora_alpaca_e3 --copy-to ./configs
For command syntax and tool behavior, consult legacy CLI reference.
For convert pth_to_hf, convert merge, or convert split, consult model conversion reference and explain required inputs before proposing execution.
Before running legacy tools, verify the executable path. The current package may not install a console entry point named xtuner; if xtuner is missing, either use a source checkout's legacy tool script explicitly or ask for a checkout/package that includes the legacy router.
Apply troubleshooting for missing command entry points, path-vs-snapshot errors, adapter/base mismatches, benchmark asset gaps, distributed-router surprises, and unsafe network/credential risks.
--config-root.xtuner train mechanics, explain the old command surface here; if it asks for V1 training design, route to training.qlora and alpaca from a supplied config root without importing XTuner or loading hundreds of source files.--is-clip for visual-encoder adapters.