Skip to content

Known Issues

m4bwav edited this page Nov 28, 2026 · 1 revision

config overwrites the recipe for trainers other than ai-toolkit (0.1.0, fixed in 0.1.1)

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.

README examples use other file names

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.

Clone this wiki locally