Open papuSpartan opened 1 year ago
Looking for ANY sort of update or progress on this from any contributor.
Looking for ANY sort of update or progress on this from any contributor.
I think @d8ahazard's dream-booth extension would probably be the most relevant example to look towards for integrating it. I think there were also a few commits merged in order to support it as well.
I don't know if anyone else is currently working on it. If all you want is concurrent inference though, I made an extension for that.
Is there an existing issue for this?
What would your feature do ?
Migrating to accelerate could alleviate certain problems within the project:
234
3250
2082
3045
While optimizations like
--medvram
and--lowvram
do their job, it would be much more efficient for the end user if this was handled without requiring a restart. Especially when making this change requires editing webui-user.bat/sh (which also can be overwritten by updating/git pull). Accelerate internally uses toma, which does things like automatically lower batch size in the case of an OOM exception.3427
Less time could be spent dealing with hardware specific bugs and more time spent on resolving hardware agnostic ones.
https://pytorch.org/tutorials/intermediate/dist_tuto.html#collective-communication
This would allow users to use physically separate machines working in tandem in order to generate outputs. It could be a game changer for those that have a lower spec device but might still have additional applicable hardware in a separate system. For that reason, I think it may be naive to think that distributed computing is reserved only for large companies or organizations. The average user might be able to appreciate the opportunity to turn their otherwise useless collection of old family computers into a stable diffusion compute cluster.
Regardless
Even if Accelerate doesn't fit this project, I still think that the three subjects I listed above should be addressed.
This is a FR and not a draft for a reason. I do not claim to currently have a very deep understanding of the already existing implementation of some of the project components listed above.
Proposed workflow
Additional information
No response