Repository navigation
Known Issues
Fixed in 0.1.1: configs are now named <name>.<trainer>.yaml or .json, and config refuses to write over the recipe.
tw.py config <name>.recipe.json --trainer kohya without --out names its output <name>.recipe.kohya, then swaps the suffix for .json, which gives back <name>.recipe.json: the recipe is replaced by the trainer settings. The same happens for musubi-tuner, voxcpm, unsloth and trl, and for a recipe whose default trainer is one of those.
python tw.py config copy.recipe.json --trainer kohya{
"ok": true,
"trainer": "kohya",
"config": "copy.recipe.json",
"proven_on_real_trainer": false,
"note": "unproven mapping: run a dry run of a few steps before trusting it"
}
Afterwards the file's top-level keys were:
trainer, base, dataset, rank, alpha, lr, steps, batch, resolution, save_every, seed, quant, low_vram, trigger
Workaround: always pass --out, for example --out my-style.kohya.json.
The README's quick start runs check my-style.json and run my-style.json my-style.yaml, but new writes my-style.recipe.json and config writes my-style.ai-toolkit.yaml. Use the names the commands print.
This wiki describes trainwright 0.1.0 and was last updated on 2026-11-19. The plugin is MIT licensed. Report problems in the issues.
Using it
The releases
Contributing
Elsewhere