Closed camoody1 closed 3 months ago
Follow-up: I just added a single word to the prompt (just to change something earlier in the workflow) and it ran successfully one more time. I tried running it a second time with these same settings, and it failed again. Any ideas on what this error message is indicating?
Hello author, I also encountered the same problem, which has been bothering me for a few days. I found that this error occurred when I selected the TiledRestoreEDMSampler or TiledRestoreDPM2MSampler sampler. The size of the imported image can be 128, 64, 32 Divisible image size, but this error will still appear. When the error is reported, the same error will be reported when switching back to RestoreEDMSampler. Only by changing the large model and re-running it can it run normally. Sometimes it still does not work after changing the large model. Sometimes RestoreEDMSampler runs After the completion, switching to TiledRestoreEDMSampler can succeed again, but this is random and not guaranteed to succeed. After successfully running TiledRestoreEDMSampler once, slightly changing the number of steps or CFG will report an error again, so this problem confused me, completely I haven't found its error reporting pattern, so I hope the author can take a look at the problem. Thank you very much for your efforts. The error is reported as follows: Error occurred when executing SUPIR_sample:
The size of tensor a (84) must match the size of tensor b (44) at non-singleton dimension 2
I, too, am using the TiledRestoreDPM2MSampler if that makes any difference.
Follow-up: I just added a single word to the prompt (just to change something earlier in the workflow) and it ran successfully one more time. I tried running it a second time with these same settings, and it failed again. Any ideas on what this error message is indicating?
I was actually aware of this one, just didn't know what caused it. Looking closer it seems that the tiled sampler modifies the controlnet hint images permanently, so subsequential runs will fail as they are already tiled. Running the conditioner node resets it so it works.
I made it copy the conditions instead now and work on those, might have slight increase in memory use when using Tiled samplers, but it does allow consequential runs now.
Thank you! I appreciate your quick responses.
This is a new error as of today. I ran my workflow once and it was successful. I made a change to the control_scale_start and control_scale_end values, and it failed. I then set the parameters back to their original values, and it still failed. I made no changes in between and ran no other workflows. 🤷🏼