Closed Tillerz closed 6 months ago
SVD is a large standalone model that is loaded as any other model - its not using separate placeholder purely because of its size.
I cannot place standard loaded model "aside" and restore pipeline once SVD is done as that would be extremely slow. Also, how would I know ahead of time if next run is going to be with SVD again or not? Imagine if I restore a pipeline on SVD completion, but then you want to run another SVD generate so I'd have to load it again?
So once you're done with SVD and you want to go back to SD15 or SDXL or whatever, you need to load whatever model you want to use.
I'm not sure how to better handle it - if there is actual proposal, let me know. And in either case, that would be a feature request, not an issue.
Ok, totally understood. Problem is that the video model doesn't automatically show up on the model dropdown box. So knowing that it changed (and just didn't update the ui) is good enough for a manual workaround. I guess just selecting a different 1.5 model and then back to the 1.5 I usually use should fix it without a full restart. :)
unfortunately it's not really possible to update model UI element from that code - Gradio just doesn't see it as updated.
Not fixable due to gradio.
Issue Description
After rendering Stable Video Diffusion in Image tab, that pipeline gets stuck, meaning: you can select "None" in the Script dropdown box and click Process again, it still will render as video again.
If you go to Text tab, no image will get rendered here anymore, because it throws an error:
StableVideoDiffusionPipeline.call() missing 1 required positional argument: 'image'
Looks like it is carrying over the old "Script" settings from the Image tab even if you did set Script to "None".It also doesn't matter if you manually set the "Diffusers pipeline" manually to "Autodetect" or "Stable Diffusion", it stays stuck in Stable Video Diffusion pipeline.
Even a plain server restart does not fix it automatically: the video model used now shows in the "Base Model" select box. Changing that back to an SD 1.5 model etc fixed the pipeline back to where you want it. Apparently, when switching to video via 'Script' dropdown box, it changes the model for you, but it doesn't update the 'Base model' select box accordingly, so you do not see the model has changed.
Version Platform Description
Version 070ae614, WSL2, Chrome
Relevant log output
Backend
Diffusers
Branch
Dev
Model
SD 1.5
Acknowledgements