CivArchive
    DPM++ 2M alt Karras [ Sampler ] - Automatic v1.6.0
    NSFW
    Preview 2425248
    Preview 2425057
    Preview 2425046
    Preview 2425052
    Preview 2425048
    Preview 2425056
    Preview 2425047
    Preview 2425149
    Preview 2425058
    Preview 2425054
    Preview 2425083
    Preview 2425051

    This is alternative version of DPM++ 2M Karras sampler.

    I don't claim that this sampler ultimate or best, but I use it on a regular basis, cause I realy like the cleanliness and soft colors of the images that this sampler generates.

    The results may not be obvious at first glance, examine the details in full resolution to see the difference (especially in dark areas, backgrounds and eyes).

    I have nothing to do with the creation or modification of this sampler. All material and info was taken from Reddit.
    All credits go to hallatore.
    Original github page.

    More examples:

    IMPORTANT! Before installing, back up the original file.

    To install this sampler, download the file, unzip it and put it in a folder stable-diffusion-webui/modules/ and rename to sd_samplers_kdiffusion.py if necessary.

    Then you should reload (whole SD not only UI) and you will see this:

    Description

    FAQ

    Comments (18)

    qoot123Sep 16, 2023· 10 reactions
    CivitAI

    Change the name of sd_samplers_kdiffusion.py originally in C:\Users\user\Desktop\stable-diffusion-webui-1.6.0\stable-diffusion-webui-1.6.0\modules to sd_samplers_kdiffusion1.py, and then download the Copy and paste sd_samplers_kdiffusion.py into the C:\Users\user\Desktop\stable-diffusion-webui-1.6.0\stable-diffusion-webui-1.6.0\modules folder to support stable-diffusion-webui-1.6. 0

    將原來在C:\Users\user\Desktop\stable-diffusion-webui-1.6.0\stable-diffusion-webui-1.6.0\modules裡面的sd_samplers_kdiffusion.py名稱改成sd_samplers_kdiffusion1.py,然後在把下載的sd_samplers_kdiffusion.py複製貼到C:\Users\user\Desktop\stable-diffusion-webui-1.6.0\stable-diffusion-webui-1.6.0\modules資料夾裡面就可以支援stable-diffusion-webui-1.6.0

    舊的sd_samplers_kdiffusion檔案不能刪除或是覆蓋,必須保留,會再度使用到舊的sd_samplers_kdiffusion檔案

    vivo50Sep 26, 2023

    谢谢,我现在能在1.6中使用它了

    undeadxOct 6, 2023
    CivitAI

    still not working in 1.6 .. i work with controlnet.

    StarryGamesOct 13, 2023
    CivitAI

    如果使用comfyUI,该如何使用这个采样器,没有找到modules这个文件夹

    StarryGamesOct 13, 2023· 9 reactions
    CivitAI

    If you are using ComfyUI, here's how to use this sampler. However, I couldn't find the "modules" folder.

    zzoysia610Dec 5, 2023
    CivitAI

    This is my favorite sampler! It "blends in" with adetailer super well. Now that DPM 3M is out, any plans to update it...? :)

    IIKXIIJan 6, 2024· 18 reactions
    CivitAI

    for anyone that wants to use this in comfyui you can try my method
    1- open the downloaded "sd_samplers_kdiffusion.py" file and copy the section that starts with "def sample_dpmpp_2m_alt" all the way to the return node from line 50 to line 75
    2- go to "ComfyUI\comfy\k_diffusion" folder and open the "sampling.py" and paste it under the "def sample_dpmpp_2m" section under the return node should be from line 595 to line 620 (DONT FORGET THE "@torch.no_grad()" LINE)
    3- go to "ComfyUI\comfy" folder and open "samplers.py" file then add "dpmpp_2m_alt," to the variable named "KSAMPLER_NAMES" at line 530

    this method worked for me but i have no idea if what i did is the right way of doing it im just winging it as i go along so do this to your own acorde

    EntroPreakJan 10, 2024· 1 reaction

    line 523 for variable name for me but worked, thank you couldnt find any info anywhere on how to

    IIKXIIJan 10, 2024

    @EntroPreak good to know incase other miss it and i forgot to mention that i am using the unstable version of comfyui just in case someone else comes across this post

    NanyutingJan 16, 2024· 10 reactions
    CivitAI

    May I know how it should be used in comfyUI? Thank you very much.

    BushRangerRXTAiOct 25, 2024

    pudiste hacerlo?

    ShokitsunAIJul 9, 2024· 8 reactions
    CivitAI

    📂💾🗃️🖼️🎨️📐✨

    AttributeError: 'Options' object has no attribute 'k_sched_type'

    nothing works anymore x.x

    AnnaaaaaaaaJul 29, 2024

    same issue

    inobleJul 31, 2024

    same issue here also

    ShokitsunAIAug 2, 2024

    I just had to remove it. no two ways about it.

    AnnaaaaaaaaJul 29, 2024· 7 reactions
    CivitAI

    I get this error when I use this: AttributeError: 'Options' object has no attribute 'k_sched_type'

    YangproAug 2, 2024

    I had the same symptoms.
    The 1.30 version works well.

    bigtitslover518169Jan 31, 2025
    CivitAI

    update?

    Other
    SD 1.5

    Details

    Downloads
    23,604
    Platform
    CivitAI
    Platform Status
    Available
    Created
    9/9/2023
    Updated
    5/13/2026
    Deleted
    -

    Files

    dpm2MAltKarrasSampler_automaticV160.zip

    Mirrors

    Available On (1 platform)

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