计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
training-finetuning【效率与协作】Create, inspect, adapt, and troubleshoot LLM Foundry pretraining and fine-tuning Composer YAMLs.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task involves LLM Foundry training configuration, launch commands, YAML overrides, pretraining, supervised or instruction fine-tuning, domain adaptation, sequence-length adaptation, checkpointing, resumption, training callbacks/loggers/optimizers/schedulers, or bounded smoke runs.
text MDS loader;finetuning loader;TrainConfig fields, common optional fields, dataloaders, model/tokenizer/optimizer/scheduler sections, evaluation hooks, FSDP/TP, precision, and batch-size fields.python scripts/llmfoundry_config_probe.py <config.yaml> \
variables.data_local=<data-local> \
train_loader.dataset.split=train_small \
max_duration=2ba
The probe only parses the YAML and override strings. It does not train, download models or data, initialize distributed state, or write checkpoints. Diagnostic flags such as --json or --strict may appear before or after the YAML path; OmegaConf overrides remain ordinary key=value tokens.
Use the installed public CLI for package-level training:
llmfoundry train <config.yaml> [overrides...]
Examples:
llmfoundry train <pretrain.yaml> \
variables.data_local=<data-local> \
train_loader.dataset.split=train_small \
eval_loader.dataset.split=val_small \
max_duration=10ba \
eval_interval=0 \
save_folder=<save-folder>
llmfoundry train <sft.yaml> \
train_loader.dataset.hf_kwargs.data_dir=<data-local> \
train_loader.dataset.preprocessing_fn=<python.module>:<function> \
max_duration=1ep
For multi-process training, the public command still represents the training entry point, but the cluster or launcher must start the required processes and provide distributed environment variables. Platform job YAMLs are reference-only adaptation material; do not copy account-, cluster-, or credential-specific values blindly.
This sub-skill owns:
TrainConfig required/optional fields that affect training, evaluation hooks inside training, callbacks, algorithms, loggers, optimizer/scheduler, save/load/autoresume, precision, FSDP, TP, and batch sizing.Route elsewhere:
max_duration, eval_interval, save_interval, data split, and checkpoint destination.<config.yaml>, <data-local>, <data-remote>, <save-folder>, <load-checkpoint>, <hf-model>, and <run-name>.