인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

post-training-recipes

post-training-recipes

Select and adapt torchtune post-training recipes without launching expensive jobs accidentally.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: post-training-recipes description: "Select and adapt torchtune post-training recipes without launching expensive jobs accidentally." disable-model-invocation: true metadata: disco-role: operating license: BSD 3-Clause

Post-Training Recipes

Use this sub-skill when an agent must choose, customize, or explain a torchtune training recipe for supervised finetuning, LoRA, QLoRA, DoRA, DPO, PPO, KD, QAT, distributed training, or multi-node launch planning.

Do not use it for generation, Eleuther evaluation, post-training quantization conversion, or general CLI/config syntax. Route those to sibling skills.

Safe Default

Training recipes can download gated artifacts, allocate GPUs, start network rendezvous, or consume long cluster jobs. Build and inspect commands first; only run them after the user explicitly approves the hardware, dataset, checkpoint, credential, and output-dir choices.

Use the bundled command builder to construct a safe dry command:

python sub-skills/post-training-recipes/scripts/build_tune_command.py \
  lora_finetune_distributed llama3_2/3B_lora \
  --nnodes 2 --nproc-per-node 8 \
  --rdzv-endpoint '<head-node>:29500' \
  --override checkpointer.checkpoint_dir='<checkpoint-dir>' \
  --override output_dir='<output-dir>'

The script prints tune run ...; it never executes training.

Route By Task

Boundaries And Cross-Links

  • Use tune ls, tune cp, tune cat, tune validate, and tune run; do not import the recipes package directly, because it intentionally is not an importable API surface.
  • Put torchrun flags before the recipe name and recipe/config overrides after --config.
  • Cross-link to ../cli-and-config/SKILL.md for general CLI/config mechanics and OmegaConf override syntax.
  • Cross-link to ../data-and-datasets/SKILL.md before changing dataset components or data schemas.
  • Cross-link to ../training-utilities-and-rlhf/SKILL.md for checkpointers, precision utilities, logging, profiling, and RLHF utility internals.
  • Cross-link to ../inference-evaluation-quantization/SKILL.md after a training checkpoint exists and the task moves to generation, evaluation, or quantization conversion.
저장한 Skills