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 (23)
Thanks! Another great acquisition :)
I'm glad to be helpful)
Nice idea to share it here too. But incase I would prefer to inform users and author, that this sampler is not an actual alternative version of the DPM++ 2M Karras, but an actual bug fix that was implemented by hallatore and tested by community
https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/8457
the fix affects both:
DPM++ 2M
DPM++ 2M Karras
And will be pulled into main branch one automatic wakes from sleep
Yeah, totally correct. Thank for info! I just tested it for about a month and really liked it, but i noticed that there is not so many people who using it, so decided to share ready-to-go file so everyone who interested may play with it.
I think it's dependent on another github and not auto1111 tho
This one: https://github.com/crowsonkb/k-diffusion
Does anyone converse with Auto1111 on any regular basis? Seems his steam as run out for the project.
@MoreAI I've seen him post on 4chan a few times.. Nobody is stopping you from forking the repo and taking the PR's you want.
Unless you want A111 himself to write code.. you kinda don't need him for anything.
@DreamExplorer I don't need to fork it, I think the build before the massive Gradio transition works perfectly fine. I was just wondering if he's actually done or what.
YMMV on this one in terms of quality. I actually prefer the original, as the bug-fix version here has felt washed out in comparison when I've used it. Good to have options though
TypeError: CFGDenoiserParams.__init__() takes 6 positional arguments but 8 were given《what this problem?
Probably you have outdated SD. Try to update it before applying this sampler. Helped for me
@ALXLight this might seem like a weird question. but how do i update my SD? I have an AMD video card and installing SD was a nightmare to begin with.
@JC811 looks like it may be late a bit, but there is should be answer for a question)
If you're downloaded it by command line, it's just a command "git pull" it webui root folder, BUT
any manually modifiyed files will be rewritten or gone conflict. So i will recommend to back it up. It's most likely the webui-user.but/.sh and maybe others, if you edited/replaced any. And there's a chance that you will need to update torch and x-formers, if it's installed.
If you just downloaded archive from github, than replace all the files. Backup still should be done, but I don't know what else could be broken by this way
you error.that does not work for that. They made a mistake.
modules\sd_samplers.py", line 1, in <module>
from modules import sd_samplers_compvis, sd_samplers_kdiffusion, shared
same here
I added and just changed old one's name but i never see 2m alt karras.. or my DPM++2m Karras changed auto?
the code is different (the author is developing a sampler) https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/8457
any update?
Surely you have eyes if you are using these various tools and such. Right up top of the page, under the title of the thing upon which you are commenting, is text "Updated:", as with all resources here on Civit.
Automatic1111 made changes to this file in the last update, an update including the changes would be nice
Details
Files
Available On (1 platform)
Same model published on other platforms. May have additional downloads or version variants.









