comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
56.86k stars 6.03k forks source link

SDXL does not generate when using DDIM with directML backend #1076

Open sleppyrobot opened 1 year ago

sleppyrobot commented 1 year ago

It appears that DDIM does not work with SDXL and direct ML.

I was trying to use someone else's optimized workflow but could not.

Not really a big deal, works with other samplers, just wanted to test out this method.

Output will be ignored 100%|██████████████████████████████████████████████████████████████████████████████████| 24/24 [00:51<00:00, 2.16s/it] 100%|████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:38<00:00, 4.80s/it] Prompt executed in 103.00 seconds got prompt Failed to validate prompt for output 160:

image

aa-parky commented 1 year ago
Windows 11
RX 7900XTX
Python --version 3.10.6
pip 23.2.1
win-pyenv 3.1.1

I have noticed this too, DDIM just hangs.

I'm guessing this comes down to DirectML and Cuda differences, also not a big deal for me too. May be of interest for the devs.

The following samplers fail for me with errors:

The following work, with some artifacts and some warnings in the console:

Happy to post the errors and warning I get if of value.