Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new DPM-Solver++ samplers added to k-diffusion inside AUTOMATIC1111 / stable-diffusion-webui #201

Closed
Corshi opened this issue Nov 6, 2022 · 2 comments · Fixed by #205
Closed
Labels
bug Something isn't working

Comments

@Corshi
Copy link

Corshi commented Nov 6, 2022

New samplers ware added to the auto repo but they do not work within docker's webui
AUTOMATIC1111/stable-diffusion-webui#4304

In the final release the naming is different then in pull req
modules/sd_samplers.py
position 27 and 28

    ('DPM++ 2S a', 'sample_dpmpp_2s_ancestral', ['k_dpmpp_2s_a'], {}),
    ('DPM++ 2M', 'sample_dpmpp_2m', ['k_dpmpp_2m'], {}),

position 34 and 35

    ('DPM++ 2S a Karras', 'sample_dpmpp_2s_ancestral', ['k_dpmpp_2s_a_ka'], {'scheduler': 'karras'}),
    ('DPM++ 2M Karras', 'sample_dpmpp_2m', ['k_dpmpp_2m_ka'], {'scheduler': 'karras'}),

WEBUI AUTOMATIC1111 (auto)

Hardware / Software
OS: Windows 11
OS version: 2aH2 22000.652
Docker&compose version: Latest
RAM: 32GB
GPU/VRAM: 8GB

@Corshi Corshi added the bug Something isn't working label Nov 6, 2022
@kelvie
Copy link

kelvie commented Nov 6, 2022

You just need to update k-diffusion in the Dockerfile manually to workaround this:

diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile
index ca6f40f..7122995 100644
--- a/services/AUTOMATIC1111/Dockerfile
+++ b/services/AUTOMATIC1111/Dockerfile
@@ -20,7 +20,7 @@ RUN . /clone.sh CodeFormer https://github.com/sczhou/CodeFormer.git c5b4593074ba
   && rm -rf assets inputs
 
 RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 48211a1594f1321b00f14c9f7a5b4813144b2fb9
-RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git f4e99857772fc3a126ba886aadf795a332774878
+RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git 60e5042ca0da89c14d1dd59d73883280f8fce991
 RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2486589f24165c8e3b303f84e9dbbea318df83e8
 
 

@AbdBarho AbdBarho mentioned this issue Nov 7, 2022
@AbdBarho
Copy link
Owner

AbdBarho commented Nov 7, 2022

Added in #205

cloudaxes pushed a commit to cloudaxes/stable-diffusion-webui-docker that referenced this issue Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants