Skip to content

DPM solver ++ third order with SDE #8288

Open

Activity

  1. self-assigned this
    on May 28, 2024
  2. yiyixuxu commented on May 28, 2024

    @yiyixuxu
    Collaborator

    cc @asomoza, is this popular in the community? worth it to add this in?

  3. asomoza commented on May 28, 2024

    @asomoza
    Member

    It's not that popular, almost all the good images I see don't use it, but there's some people that had claimed it's better.

    I don't think the comparison done in that post it's really good, first, to really see if the result is good or not, you shouldn't use a lora and the same image and composition all the time. I get it that he needs to self promote but I don't think it's really scientific to put himself on all the images to do this.

    My experience with it is not good so I don't use it anymore, there's a couple of issues with it that I don't like.

    • It burns a lot faster and needs more steps or lower cfg.
    • When you get a good result it's almost the same as the 2M

    For example, what I like to use to compare them is to use plain color backgrounds over a subject, so we can see the colors and if it has artifacts.

    I'll use comfyui and a couple of examples where I know it fails the most, both images use the same seed.

    20 steps, 6.5 cfg, karras

    dpmpp_2m_sde_gpu dpmpp_3m_sde_gpu
    ComfyUI_dpm2_00003_ ComfyUI_dpm3_00003_

    Here the color spills more, the cat is more blueish in the 3M version.

    20 steps, 8 cfg, karras

    dpmpp_2m_sde_gpu dpmpp_3m_sde_gpu
    ComfyUI_dpm2_00007_ ComfyUI_dpm3_00007_

    in this one the 3M adds a little more contrast and more details, it fails with the background since I asked a plain pink background.

    30 steps, 8 cfg, karras

    dpmpp_2m_sde_gpu dpmpp_3m_sde_gpu
    ComfyUI_dpm2_00014_ ComfyUI_dpm3_00014_

    Here we can see that the 3M its burned, too much brightness and loses a lot of details. So to fix it we need to do a lot more steps.

    50 steps, 8 cfg, karras

    dpmpp_2m_sde_gpu dpmpp_3m_sde_gpu
    ComfyUI_dpm2_00012_ ComfyUI_dpm3_00012_

    now it's fixed but almost the same as the 2M, and why bother if we get a good result with 2M at half the steps. You can also lower the CFG to fix it:

    25 steps, 6 cfg, karras

    dpmpp_2m_sde_gpu dpmpp_3m_sde_gpu
    ComfyUI_dpm2_00016_ ComfyUI_dpm3_00016_

    Overall it's a lot more finicky and most of the time I don't really see the difference when they're both good, so I just stay with the 2M or other samplers.

    I would also like the opinion of people that have good eyes like @bghira for this, since I don't consider myself that much of an expert evaluating samplers.

  4. christopher5106 commented on May 29, 2024

    @christopher5106
    ContributorAuthor

    @asomoza can you confirm your tests are not under current regression AUTOMATIC1111/stable-diffusion-webui#15519

  5. asomoza commented on May 29, 2024

    @asomoza
    Member

    Oh I need to clarify that, I don't use automatic1111 anymore, I used comfyui for the examples. Also I don't really use SD 1.5 that much so I'm not qualified to test it with those models, because in my eyes I see them all bad. For example in that thread, people said that it lost "realistic textures" but honestly, I see all of them as plastic and fake.

    I read some people that wrote that it's better with hands, so I'll test that later with both models, at least I can tell in SD 1.5 if the hands are bad.

    Lastly I didn't test with anime because I'm not that good generating anime images and also I think that SD 1.5 and SDXL are mostly perfect at generating them with most samplers.

    I encourage some more people to do some tests and post their findings here with high res images, don't use posts from other people and don't use LoRAs because the training of the LoRAs can make the results bad even if the sampler it's good.

  6. christopher5106 commented on May 29, 2024

    @christopher5106
    ContributorAuthor

    Thanks :) very interesting points
    Originally I want this 3M SDE option for an upscaler with SD1.5.

  7. bghira commented on May 29, 2024

    @bghira
    Contributor

    i took a look and i'm wondering if there's a use case that isn't just still frames where this works better. if it works for upscaling, that's nice to have options, but the colour bleed seems substantial. has it been tested on eg. SV3D or SVD? controlnet commonly uses UniPC, maybe could work there too. but we're negating the benefits of UniPC by switching to a slower sampler if not

  8. github-actions commented on Sep 14, 2024

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

    Please note that issues that do not follow the contributing guidelines are likely to be ignored.

  9. added
    stale
    on Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stale

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions