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
training-finetuningCreate, inspect, adapt, and troubleshoot LLM Foundry pretraining and fine-tuning Composer YAMLs.
Independent GitHub snapshot · Automated classification · Original documentation governs
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>.