diffusers
diffusers copied to clipboard
[Community Pipeline] Checkpoint Merger based on Automatic1111
The checkpoint merger pipeline based on the discussion at #877.
Tested the checkpoint merger for the case with two checkpoints.
The documentation is not available anymore as the PR was closed or merged.
@patrickvonplaten could you have a look at this once you're free ?
This looks very cool! Could you add an entry to the table here and also add a section of how to use your community pipeline? :-)
https://github.com/huggingface/diffusers/blob/main/examples/community/README.md#community-examples
@Abhinay1997 is this a clean redevelopment, or does it use code from the Automatic1111 repository?
Unfortunately Automatic1111 (deliberately) does not have a license for his code, and it can't be legally used in other projects.
@hafriedlander, only the interpolation functions are from Automatic1111 but they are originally from Wikipedia. Last I checked, Automatic1111 had changed their code in the current version.
I was using https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/fdecb636855748e03efc40c846a0043800aadfcc/modules/extras.py as reference. Basic interpolation functions are strictly math equations right ? Everything else i.e loading the checkpoints, comparing the attributes and running the merged pipeline is all a clean rewrite.
What do you think @patrickvonplaten ?
Meanwhile, I have added the docs in the README as suggested Patrick.
Thanks!