CivArchive
    Preview 1864577
    Preview 1864578
    Preview 1864579
    Preview 1864580

    Hey guys,

    I was trying SDXL 1.0 but my laptop with a RTX 3050 Laptop 4GB vRAM was not able to generate in less than 3 minutes, so I spent some time to get a good configuration in ComfyUI, now I get can generate in 55s (batch images) - 70s (new prompt detected) getting a great images after the refiner kicks in.

    Is the best balanced I could find between image size (1024x720), models, steps (10+5 refiner), samplers/schedulers, so we can use SDXL on our laptops without those expensive/bulky desktop GPUs.

    I wanted to share my configuration for ComfyUI, since many of us are using our laptops most of the time. I think this is the best balanced I could find.

    Add params in "run_nvidia_gpu.bat" --normalvram --fp16-vae

    Face fix fast version?:

    SDXL has many problems for faces when the face is away from the "camera" (small faces), so this version fixes faces detected and takes 5 extra steps only for the face.

    Face fix no fast version?:
    For fix face (no fast version), faces will be fixed after the upscaler, better results, specially for very small faces, but adds 20 seconds compared to fast version.

    If the face fix output does not generate a different image (maybe you are using a 4x upscaler), and console prints "segment skip [determined upscale factor=0.9875809267424535]" , in module "FaceDetailer" increase "guide_size" from 1280 to 1408 or more until it activates the FaceDetailer.

    Difference between LORA and LORA fast?:

    If you choose LORA fast, you can save 20-30 seconds.

    The LORA fast does not have 3 extra steps after refiner to retouch the LORA effect, refiner dims the effect of the LORAs, in some cases for LORA with custom styles is needed the last 3 steps to add again the effect. Not needed in most cases, recommended for LORAs with custom styles were styles changes a lot the image.

    Generation time (after first image):

    No LORA: 55-60 seconds

    With LORA: 85-115 seconds

    With LORA Fast: 75-80 seconds

    With face fix: 80 seconds (fix faces FAST) - 110 seconds (Fix faces slow version)


    Files to Download:



    Description

    This version is faster, fixes faces before upscale.

    FAQ

    Comments (25)

    ethandaovnAug 4, 2023· 3 reactions
    CivitAI

    thank you for sharing your work

    Pechista
    Author
    Aug 4, 2023

    You're welcome, enjoy :D

    hejok63509Aug 6, 2023
    CivitAI

    Do you have any workflows for img to img?

    johnsmitAug 7, 2023
    CivitAI

    for face fix, I am getting force inpaint. idk why, how do I get rid of it?

    RabbittFoottAug 11, 2023

    same issue for me, hopefully we get a response

    Pavan_GAug 7, 2023· 1 reaction
    CivitAI

    It's amazing! Thank you so much
    I add loras and inpaint
    Now it's fantastic setup

    Beast01Sep 24, 2023

    can you share inpainting workflow. plzzzz

    Artificial_RyanAug 7, 2023
    CivitAI

    I recently just installed ComfyUI since Automatic1111 won't run SDXL on 4gb vram, but I'm not seeing a bat file for it. Just the main.py. Am I missing something?

    Pechista
    Author
    Aug 8, 2023· 1 reaction

    ComfyUI or many other UIs does not interfere between each other.

    smokewAug 10, 2023· 1 reaction

    You can create a bat file, make it automatically activate Auto1111's virtual environment and run main.py, and also optionally a git pull.

    DarkCoverAug 13, 2023· 1 reaction

    I think you probably downloaded the COmfyUI masters. Instead download the releases-Portable version.

    mk1321984721Oct 14, 2023

    you can install it as an extension, and run within the diffusion gui

    drpr12345Aug 16, 2023
    CivitAI

    Is there an img2img version

    pentimusoctem810Aug 18, 2023
    CivitAI

    With better prompts, you wouldn't need the face fix.

    Pechista
    Author
    Aug 22, 2023

    Suggestions?

    SiyonomiconAug 22, 2023· 1 reaction
    CivitAI

    it's working, thanks!

    luochen1234Aug 25, 2023
    CivitAI

    Where is it installed please

    Pechista
    Author
    Aug 26, 2023

    You do not need to install this config, just load config from ComfyUI interfaces and select json file.

    978658Sep 18, 2023· 1 reaction
    CivitAI

    Although I've been only using ComfyUI for the last 48 hours, this has been the most outstanding workflow for speed that I've encountered. Thank you so much for posting this workflow!

    Beast01Sep 24, 2023
    CivitAI

    Bro we also need image2image & image 2 inpainting & image 3 outpainting workflow. Can you share above three type workflow.

    please we need that.

    thebigheadone753Nov 25, 2023· 1 reaction
    CivitAI

    Have you tried tweaking this workflow with LCM and SSD-1B?

    Pechista
    Author
    Nov 28, 2023· 1 reaction

    There you go, v3 has support for LCM using the LORA, all SDXL models compatible.

    camowayNov 28, 2023

    SSD-1B???

    thebigheadone753Nov 28, 2023

    @camoway Distilled version of SDXL https://civitai.com/models/188863/segmind-ssd-1b I personally don't use it (I'm using mainly Fooocus for SDXL these days), but I think it's a good option for those wanting to get the most out of a lowend hardware.

    thebigheadone753Nov 28, 2023· 1 reaction

    @Pechista Thank you! 

    Other
    SDXL 1.0

    Details

    Downloads
    3,342
    Platform
    CivitAI
    Platform Status
    Available
    Created
    8/4/2023
    Updated
    5/12/2026
    Deleted
    -

    Files

    sdxlConfigComfyuiFast_v20FaceFixFAST.zip

    Available On (1 platform)

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