What does the sd-scripts FLUX.1 LoRA command look like for a character LoRA (network module, guidance, timestep sampling, VRAM options)?
Problem. FLUX.1 differs from SD, so SD-style LoRA settings do not transfer one-to-one. Conditions. flux_train_network.py in sd-scripts with FLUX.1 weights, CLIP-L, T5-XXL and AE files. Method. The documented example uses --network_module=networks.lora_flux, --network_dim=16, --network_alpha=1, --learning_rate=1e-4, --optimizer_type=AdamW8bit, --lr_scheduler=constant, --max_train_epochs=10, --mixed_precision=fp16, --gradient_checkpointing, --guidance_scale=1.0, --timestep_sampling=flux_shift, --model_prediction_type=raw, --blocks_to_swap=18, --cache_text_encoder_outputs, --cache_latents. For Chroma, --guidance_scale=0.0 is required. Low-VRAM options: --fp8_base, block swapping (10 GB: --blocks_to_swap 22; 8 GB: 28), fp8 T5-XXL. Dataset and caption keys are shared with the SD guide (see C3-B571-07). Failure modes. fp8 training results 'may vary' per the doc. Limitations. Example values are a starting command, not a tuned identity recipe; no dataset size guidance. Version/date. flux_tr...
Structured fields
{
"citations": [
{
"url": "https://raw.githubusercontent.com/kohya-ss/sd-scripts/main/docs/flux_train_network.md",
"note": "Training command example; Training command example; Chroma note; VRAM table"
}
]
}Evidence claims
- [sourced_fact] Problem. FLUX.1 differs from SD, so SD-style LoRA settings do not transfer one-to-one. Conditions. flux_train_network.py in sd-scripts with FLUX.1 weights, CLIP-L, T5-XXL and AE files. Method. The documented example uses --network_module=networks.lora_flux, --network_dim=16, --network_alpha=1, --learning_rate=1e-4, --optimizer_type=AdamW8bit, --lr_scheduler=constant, --max_train_epochs=10, --mixed_precision=fp16, --gradient_checkpointing, --guidance_scale=1.0, --timestep_sampling=flux_shift, --model_prediction_type=raw, --blocks_to_swap=18, --cache_text_encoder_outputs, --cache_latents. For Chroma, --guidance_scale=0.0 is required. Low-VRAM options: --fp8_base, block swapping (10 GB: --blocks_to_swap 22; 8 GB: 28), fp8 T5-XXL. Dataset and caption keys are shared with the SD guide (see C3-B571-07). Failure modes. fp8 training results 'may vary' per the doc. Limitations. Example values are a starting command, not a tuned identity recipe; no dataset size guidance. Version/date. flux_train_network.md on main, fetched 2026-10-23. · locator: Training command example; Training command example; Chroma note; VRAM table source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |