-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
KSampler slowing down when processing is interrupted #5471
Comments
I had the same problem |
Is there no performance degradation if you let the workflow complete fully without interrupting it? |
not on my end, no, not consistently. Only when interrupting the workflow and starting it again is it consistently reproduce-able. Could be a caching issue? I'm running pretty close to my max VRAM. I'm hesitant to download the latest of ComfyUI and try again simply because I have made edits to some files to fix issues found in #5427 and #3539 pertaining to AMD cards running under DirectML. when I let it run to completion, the run times of the workflows seems to be most consistent with only slight variations here and there. |
It seems to be exhibiting this behavior more consistently when I am using multiple monitors. I think it's literally just a VRAM issue at this point. |
Just updating to say that the issue has gotten worse and now I can barely generate a 512x512 image more than a few times before getting allocation errors. Is a VRAM cache not clearing properly? Stopping the Comfy process in Powershell and restarting it usually fixes it, but I cannot generate more than 2 sometimes 3 images without having to restart. |
I downgraded the code several time to a copy from October and the issue still persists, so I think I have a hardware issue. |
Your question
screenshot of my console. I was interrupting it because I could tell from the preview that it wasn't going to be the image I wanted and I have a pretty large workflow that would take a long time to finish processing.
It started out pretty fast (for my hardware) and then got slower with each interruption.
I haven't noted this behavior until just recently. I think it has something to do with interrupting the workflow.
Logs
No response
Other
OS: Windows 10 Professional
Hardware: CPU Ryzen 7 3700x, GPU Powercolor Radeon 6600xt
Not sure what else is needed. Happy to provide information to help diagnose this issue.
The text was updated successfully, but these errors were encountered: