LoRA – explained simply
A LoRA is a small add-on file that teaches a large model a style, a character, or a concept without changing it.
Also: LoRAs, Low-Rank Adaptation, LyCORIS
LoRA stands for Low-Rank Adaptation. The base model stays unchanged, while small matrices are trained alongside it to adjust its behavior. According to the original paper, this reduces the number of trainable parameters in GPT-3 by about a factor of ten thousand, with comparable quality.
In image generation, LoRAs are very common: You load a base model and attach one or more LoRAs with a strength setting, for example for an art style. In ComfyUI, they are in the models/loras folder.
A LoRA only works with the model family it was trained for. A LoRA for SDXL does not work with FLUX, and vice versa.
What does that mean for you? Check which base model each LoRA was made for, and start with a strength below 1 if the image looks overdone.
Related terms
Errors where that matters
- ERROR: Could not detect model type of: … (Model is in the wrong folder or the wrong loader)
- kohya_ss: No data found. Please verify arguments (train_data_dir must be the parent of folders with images) (training images not found)
- lora key not loaded (LoRA does not match the model or the loader)
- mat1 and mat2 shapes cannot be multiplied (models don’t match)
- Prompt outputs failed validation / Value not in list (Model missing)
- Prompt outputs failed validation: Required input is missing (Required input not connected)