CivArchive
    Easy LyCORIS extraction from trained Dreambooth model - v1.1
    Preview 749221
    Preview 749225
    Preview 749235
    Preview 749223
    Preview 749226
    Preview 749227
    Preview 749228
    Preview 749222
    Preview 749224

    Easy LyCORIS extraction from trained Dreambooth model

    Found an easier way on how to create your own Dreambooth models and extract a high quality LyCORIS from it. This technique produces much better quality than training a LoRA directly. It is almost as good as the Dreambooth model itself and in my opinion also way simpler. Download the PDF guide.

    Update: Had to re-upload it, the first one got deleted.

    Huge thanks goes to @malcolmrey for his brilliant idea with the extraction technique!
    Thanks to "wbaumi" for allowing me to use his face for training :-)

    As you can see from the screenshot, I like to use my generated LyCORIS along with various LoRA's like (epi_noiseoffset2,0.75) > to get that darker, high contrast look and (popular,0.65) for a more polished look.

    Thanks to @epinikion and @ntc for these fantastic LoRA's
    https://civarchive.com/models/13941/epinoiseoffset
    https://civarchive.com/models/44529/popular-trained-on-the-most-popular-phrases-from-a-sd-prompt-dataset

    Description

    LyCORIS extraction guide v1.1 (get amazing quality!!!)

    FAQ

    Comments (19)

    omenizerMay 10, 2023
    CivitAI

    Supermerger extension for Auto1111 can do this.

    Also, if you're training, just train your Lora directly?

    technerd
    Author
    May 10, 2023· 2 reactions

    I also trained LoRA directly but this technique produces way better quality and is also simpler. Train Dreambooth and than extract LyCORIS is amazingly good almost like the Dreambooth model itself. Maybe in the near future training the LoRA directly will get the same quality.

    malcolmreyMay 11, 2023· 1 reaction

    here is Nerdy Rodent doing a LORA training and a Dreambooth training and comparing the two: https://www.youtube.com/watch?v=gw2XQ8HKTAI

    I'm not gonna spoil which is better, but you can probably guess :-)

    as @technerd mentioned already, it is also simpler :)

    other differences are:

    if you train LORA, you only have LORA

    if you train Dreambooth, you can extract it to LORA, you can extract it also to LyCORIS for even better quality, and if something else gets discovered/created - you will most likely be able to extract that to it too

    when would I train LORA instead of Dreambooth? only if my machine was not strong enough to train Dreambooth and I didn't want to do colabs/runpods/etc

    ktiseos_nyxMay 12, 2023· 1 reaction

    Supermerger DOES do it but ONLY for Lora, it doesn't support newer Lyco functions - KohyaSS gui is FAR more stable, and i'm sure this guy's gui is just as stable it's just that I don't have windows so I can't use it lol. LORA training is one thing, but lora squishing and extracting are far greater sometimes because you can control what comes out of it - but i can't extract locally because my DAMN COMPUTER WONT LET ME XD

    malcolmreyMay 11, 2023· 1 reaction
    CivitAI

    yay, the tutorial is up again :-)

    technerd
    Author
    May 12, 2023· 1 reaction

    @malcolmrey did you also notice that the eyes are displayed better when you add a few close-ups to the training dataset? Tried it today and it is better but you did far more models. Saw this guy doing it too: https://twitter.com/levelsio/status/1640616716526039040

    roundindustry749May 12, 2023
    CivitAI

    Thank you very much for sharing your experience

    Would like to ask about "extract LyCORIS"

    Is it necessary to convert Safetensor models to ckpt?

    technerd
    Author
    May 12, 2023· 1 reaction

    Only if you want to use NMKD GUI 1.9.1 to do the Dreambooth training, than yes you have to convert it because NMKD can't open safetensor files yet. The new version of NMKD 1.10 can open safetensor files directly, think it will be released next week but you can already download the beta from their Discord.

    roundindustry749May 13, 2023· 1 reaction

    @technerd I see!

    Thank you so much :)

    semaforMay 13, 2023
    CivitAI

    I would be interested in a tutorial, especially the settings, where you can make a dreambooth within kohya. I have a Geforce 3060 with 12GB. it works, unfortunately my result wasn't that good.

    technerd
    Author
    May 13, 2023· 1 reaction

    Thats why I use NMKD GUI for Dreambooth training because I don't want to mess around with settings at all. The presets in NMKD are almost fire and forget. A good and well mixed "dataset" makes a huge difference if it's not good than the training is just shite. I know only this tutorial for Dreambooth training from Olivio but the settings should be almost the same in kohya. Though I don't know if it will work with only 12GB VRAM. Have look: https://www.youtube.com/watch?v=9Nu5tUl2zQw

    AstralNemesisJun 29, 2023
    CivitAI

    I like how simple your guide is but it's asking for me to have 24GB GPU. That simply isn't in my budget. Surely now several months later there must be a way to extract a lycoris from a dreambooth model on a 8GB card?

    Stop_Civvy_TimeAug 24, 2023
    CivitAI

    Try as I might, I am yet to get this lycoris extraction to work. Always get a Missing key(s) in state_dict: "encoder.mid_block.attentions.0.to_q.weight", message

    technerd
    Author
    Aug 24, 2023

    are you sure you're training a Dreambooth with SD.GUI 1.91? Because in their newest version 1.11 Dreambooth was replaced by LoRA training.

    Stop_Civvy_TimeAug 24, 2023

    @technerd Am training in Dreambooth through Automatic1111

    technerd
    Author
    Aug 24, 2023

    @Stop_Civvy_Time hmmmm...I don't use A1111 but check if you are using the same training checkpoint/safetensors from where you want to extract your Lycoris from. It's just (safetensors trained) - (safetensors original) = LyCoris.

    Stop_Civvy_TimeAug 25, 2023

    @technerd Yep, exact same model and checkpoint. Errors with using ckpt or safetensors

    technerd
    Author
    Aug 25, 2023

    @Stop_Civvy_Time then I really don't know what could be wrong. Sry

    SD_AI_2025Apr 27, 2024· 1 reaction
    CivitAI

    So cool. Thanks a lot for those shared settings. I lost soooo much time extracting huge LoRAs when extracting a LyCORIS is impressively less resources heavy and faster ! About 4GB VRAM used compared to 20+GB for a LoRA.

    XYZ tests show a ridiculously tiny difference between a 1.9GB LoRA and a 490MB LyCORIS.

    Thanks mate. Very helpful.

    Other
    SD 1.5

    Details

    Downloads
    768
    Platform
    CivitAI
    Platform Status
    Available
    Created
    5/10/2023
    Updated
    5/13/2026
    Deleted
    -

    Files

    Available On (1 platform)

    Same model published on other platforms. May have additional downloads or version variants.