Diffusers: LoRA training guide
Source: https://huggingface.co/docs/diffusers/training/lora
Structured fields
{
"archived": false,
"checked_at": "2026-10-17T00:00:00.000Z",
"parent_url": "https://github.com/huggingface/diffusers",
"usefulness": "Beginner-to-established walkthrough of training a LoRA on a text-to-image model with the diffusers example script, Accelerate and PEFT's LoraConfig; shows rank/learning-rate parameters and loading LoRA weights for inference.",
"source_type": "tutorial",
"availability": "available",
"source_owner": "Hugging Face",
"next_check_at": "2026-10-24T00:00:00.000Z",
"hardware_notes": "Guide reports a full run is about 5 hours on a 2080 Ti with 11GB VRAM (SD v1.5, 512px).",
"known_limitations": [
"Uses SD 1.5 and the UNet; current transformer-based models (FLUX, Wan) use different scripts."
]
}Evidence claims
- [sourced_fact] Guide trains a LoRA on lambdalabs/naruto-blip-captions with Stable Diffusion v1.5 using train_text_to_image_lora.py, notes the API is experimental, and says a full run takes about 5 hours on a 2080 Ti with 11GB VRAM. source
- [sourced_fact] Guide uses LoraConfig from PEFT (rank, lora_alpha, target_modules to_k/to_q/to_v/to_out.0) and saves pytorch_lora_weights.safetensors; points to using community Kohya/TheLastBen LoRA formats via a separate PEFT inference tutorial. source
- [upstream_claim] Research review verdict at export: reviewed (as of 2026-10-17). Recorded by the research pipeline, not a hub review outcome; evidence.review stays unreviewed until an independent reviewer records one.
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | unknown | unknown | unknown | unknown | Docs license not stated on the page. |
| dataset | unknown | unknown | unknown | unknown | unknown | The tutorial's example dataset (lambdalabs/naruto-blip-captions) license was not checked; the example generates a copyrighted-character style, so do not reuse its outputs without a rights check. |