Skip to content
Back to skills

Post Training Recipes

ASecurity

"Select and adapt torchtune post-training recipes without launching

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonbashnodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill post-training-recipes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Post Training Recipes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Post Training Recipes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-post-training-recipes/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-post-training-recipes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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:

```bash
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

- For built-in recipe selection, lifecycle coverage, and safe launch patterns, read [references/recipe-workflows.md](references/recipe-workflows.md).
- For config names, copied config editing, overrides, LoRA/QLoRA/DoRA/QAT settings, and validation preflights, read [references/recipe-configs.md](references/recipe-configs.md).
- For `torchrun`, SLURM, rendezvous, and multi-node placement rules, read [references/distributed-and-multinode.md](references/distributed-and-multinode.md).
- For GPU, dependency, checkpoint, distributed, precision, and optional logger failures, read [references/troubleshooting.md](references/troubleshooting.md).

## 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.

Files in this skill

  • SKILL.md2.8 KB
  • references/distributed-and-multinode.md7.1 KB
  • references/recipe-configs.md9.1 KB
  • references/recipe-workflows.md8.2 KB
  • references/troubleshooting.md6.8 KB
  • scripts/build_tune_command.py7.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…