AI-Casanova
AI-Casanova
Might not be very soon, but I might just do that.
Hello, a dev from SDNext here, `FromSingleFileMixin` refers to `download_from_original_stable_diffusion_ckpt` but the former does not accept a `state_dict` and the later does. While you are redesigning this workflow, would there...
@sayakpaul `FromSingleFileMixin` breaks the ability to pass a `state_dict` here https://github.com/huggingface/diffusers/blob/e0f349c2b07975810b7c4faeeafe2f4124f3cfc9/src/diffusers/loaders/single_file.py#L234 Whereas the downstream function https://github.com/huggingface/diffusers/blob/e0f349c2b07975810b7c4faeeafe2f4124f3cfc9/src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py#L1134 can recieve a `state_dict`
I haven't fully worked through the implications but it appears that the pathing and downloading might be bypassed by `if isinstance(pretrained_model_link_or_path, dict)` and that keyword overrides for `vae` etc should...
Maybe check out #7077 ?
@bosbrand Just remembered that thread and thought it might give you a bit of extra info in your search. Cheers!
I believe you are experiencing #6898
The newest commit seemed to fix that problem, perhaps give it a shot?
@DarkVamprism I believe it's all in progress.py
@BootsofLagrangian Would you be able to fork the repo and commit your changes so it would be easier for plebs like me to follow your changes?