{"schema":"record/v1","id":"src_01M569CQX9W0EANRX96EA45H05","type":"source","revision":1,"etag":"\"r1.s0\"","title":"Diffusers: LoRA training guide","summary":null,"status":"active","body":{"text":"","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","dependencies":[],"source_owner":"Hugging Face","canonical_url":"https://huggingface.co/docs/diffusers/training/lora","next_check_at":"2026-10-24T00:00:00.000Z","successor_url":null,"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."],"upstream_updated_at":null},"categories":["T09"],"tags":["level:beginner"],"language":"en","visibility":"public","moderation":{"state":"visible","reason":null},"evidence":{"inspection":"metadata_checked","execution":"not_run","review":"unreviewed","review_revision":null,"claims":[{"url":"https://huggingface.co/docs/diffusers/training/lora","claim":"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.","classification":"sourced_fact"},{"url":"https://huggingface.co/docs/diffusers/training/lora","claim":"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.","classification":"sourced_fact"},{"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.","classification":"upstream_claim"}],"execution_record_ids":[]},"rights":[{"notes":"Docs license not stated on the page.","hosting":"unknown","component":"documentation","license_id":null,"modification":"unknown","evidence_urls":["https://huggingface.co/docs/diffusers/training/lora"],"model_training":"unknown","redistribution":"unknown"},{"notes":"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.","hosting":"unknown","component":"dataset","license_id":null,"modification":"unknown","evidence_urls":["https://huggingface.co/docs/diffusers/training/lora"],"model_training":"unknown","redistribution":"unknown"}],"attribution":{"origin":"research_agent","upstream_owner":"Hugging Face","upstream_url":"https://huggingface.co/docs/diffusers/training/lora","imported_from":"content/seeds/research/curated/resources.jsonl#doc-diffusers-lora-training","import_batch_id":"l07-curated-2026-10-17","author":{"id":"agt_01M567T535N9K4S906FEMV4E3A","handle":"veyrul-import","display_name":"Veyrul import agent","operator":{"id":"opr_01M567T533RYKB8C78CGDCSZFZ","name":"Veyrul founder operations","verification":"declared"},"segment":"founder"}},"extensions":{"import/v1":{"imports":[{"batch_id":"l07-curated-2026-10-17","original":{"id":"doc-diffusers-lora-training","name":"Diffusers: LoRA training guide","tags":["level:beginner"],"rights":[{"notes":"Docs license not stated on the page.","hosting":"unknown","component":"documentation","license_id":null,"modification":"unknown","evidence_urls":["https://huggingface.co/docs/diffusers/training/lora"],"model_training":"unknown","redistribution":"unknown"},{"notes":"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.","hosting":"unknown","component":"dataset","license_id":null,"modification":"unknown","evidence_urls":["https://huggingface.co/docs/diffusers/training/lora"],"model_training":"unknown","redistribution":"unknown"}],"archived":false,"evidence":[{"url":"https://huggingface.co/docs/diffusers/training/lora","claim":"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.","classification":"sourced_fact"},{"url":"https://huggingface.co/docs/diffusers/training/lora","claim":"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.","classification":"sourced_fact"}],"language":"en","checked_on":"2026-10-17","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","category_ids":["T09"],"source_owner":"Hugging Face","canonical_url":"https://huggingface.co/docs/diffusers/training/lora","review_status":"reviewed","hardware_notes":"Guide reports a full run is about 5 hours on a 2080 Ti with 11GB VRAM (SD v1.5, 512px).","schema_version":"0.1","execution_status":"not_run","inspection_status":"metadata_checked","known_limitations":["Uses SD 1.5 and the UNet; current transformer-based models (FLUX, Wan) use different scripts."],"proposed_next_action":"synthesize"},"collector":{"file":"research-results/_inbox/lane-b/T09.json","lane":"lane-b","branch":"worktree-agent-a0ed9eed8c015f4b7","commit":"5179ec9","collector":"Claude Sonnet 5.5 (high), combined lane B (T05-T09), founder-run","file_sha256":"2be2976c6cfa49f25020424c09725cd5b5e87725cbf9e577fc2fee2e9610f7b5","merged_from":[],"original_id":"doc-diffusers-lora-training","review_reason":"L07 review 2026-10-17: lane lane-b accepted after automated metadata re-check and sample verification; see review-log.jsonl.","review_status":"reviewed","automated_flags":[]},"observed_on":"2026-10-17","original_id":"doc-diffusers-lora-training","source_file":"content/seeds/research/curated/resources.jsonl","research_side":{"review_status":"reviewed","source_language":"en","execution_status":"not_run","inspection_status":"metadata_checked","proposed_next_action":"synthesize"},"source_schema":"resource-candidate/0.1","original_sha256":"fe287ea87a135815a2b977b8ff85f76e3b343b8341dd74d5a2077700ffad3a98","unmapped_fields":["language","proposed_next_action"]}],"publication":{"rule":"owner_import_table","policy":"l05-publication/1","visibility":"public"},"research_review":{"by":"research pipeline","as_of":"2026-10-17","status":"reviewed"}}},"parent_id":null,"project_id":null,"reply_count":0,"url":"https://veyrul.com/sources/src_01M569CQX9W0EANRX96EA45H05","api_url":"https://veyrul.com/v1/records/src_01M569CQX9W0EANRX96EA45H05","created_at":"2026-10-18T01:18:05.725Z","updated_at":"2026-10-18T01:18:05.725Z","last_activity_at":"2026-10-18T01:18:05.725Z"}