lshqqytiger / stable-diffusion-webui-amdgpu

Stable Diffusion web UI
GNU Affero General Public License v3.0
1.68k stars 175 forks source link

[Bug]: DDIM hangs #299

Open OperationTwelve opened 9 months ago

OperationTwelve commented 9 months ago

Is there an existing issue for this?

What happened?

This is an issue I have had for a while. DDIM has never worked for me. I tried to use it with infinite zoom just to see if maybe through all the updates in the past months maybe it works now. But nope. I switched live preview methods and added --no-half-vae bc I found some vaguely simular issues to mine and those things fixed it for them. It did not help in my case. Most other samplers I use work.. I havent used all of them. SDE, 2M, 3M Karras, DPM++... all those work fine.

Steps to reproduce the problem

  1. Switch sampling method to DDIM
  2. Press generate
  3. Profit

What should have happened?

normal image generation

Sysinfo

sysinfo-2023-10-07-16-27.txt

What browsers do you use to access the UI ?

No response

Console logs

Already up to date.
venv "F:\SD\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.6.0
Commit hash: 6197993f573b91f8b06889fcd09efd5353dc2cb9
Installing Miaoshou assistant requirement: gpt_index==0.4.24
Installing Miaoshou assistant requirement: langchain==0.0.132
Installing Miaoshou assistant requirement: gradio_client==0.5.0
Faceswaplab : Use GPU requirements
Checking faceswaplab requirements
0.00936720000004243
Launching Web UI with arguments: --api --lowvram --no-half --no-half-vae --skip-torch-cuda-test --upcast-sampling
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
[-] ADetailer initialized. version: 23.10.0, num models: 9
logs_location: F:\SD\stable-diffusion-webui-directml\extensions\miaoshouai-assistant\logs
2023-10-07 23:05:09,216 - ControlNet - INFO - ControlNet v1.1.410
ControlNet preprocessor location: F:\SD\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\annotator\downloads
2023-10-07 23:05:09,534 - ControlNet - INFO - ControlNet v1.1.410
Loading weights [caa95002a1] from F:\SD\stable-diffusion-webui-directml\models\Stable-diffusion\epicrealism_pureEvolutionV5-inpainting.safetensors
Creating model from config: F:\SD\stable-diffusion-webui-directml\configs\v1-inpainting-inference.yaml
*Deforum ControlNet support: enabled*
a
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 36.7s (prepare environment: 15.8s, import torch: 3.6s, import gradio: 1.9s, setup paths: 1.6s, initialize shared: 2.7s, other imports: 0.4s, list SD models: 0.1s, load scripts: 6.8s, create ui: 3.1s, gradio launch: 0.6s).
Loading VAE weights specified in settings: F:\SD\stable-diffusion-webui-directml\models\VAE\vae-ft-mse-840000-ema-pruned.safetensors
Applying attention optimization: sub-quadratic... done.
Model loaded in 5.6s (load weights from disk: 0.6s, create model: 2.3s, apply weights to model: 1.3s, apply float(): 0.6s, load VAE: 0.2s, load textual inversion embeddings: 0.3s, calculate empty prompt: 0.3s).
Batch 1/1
100%|███████████████████████████████████████████████████████████████████████████████████████████████| 19/19 [00:42<00:00,  2.24s/it]
Outpaint step: 1 / 5 Seed: -1███████████████████████████████████████████████████████████████████    | 19/20 [00:39<00:02,  2.18s/it]

Additional information

thats where it hangs at... I have to completely close out. Ctrl+C doesnt work.. its frozen frozen. Clicking the interupt button doesnt work either.