• Sayak Paul's avatar
    [Chore] add `LoraLoaderMixin` to the inits (#8981) · d87fe95f
    Sayak Paul authored
    
    
    * introduce  to promote reusability.
    
    * up
    
    * add more tests
    
    * up
    
    * remove comments.
    
    * fix fuse_nan test
    
    * clarify the scope of fuse_lora and unfuse_lora
    
    * remove space
    
    * rewrite fuse_lora a bit.
    
    * feedback
    
    * copy over load_lora_into_text_encoder.
    
    * address dhruv's feedback.
    
    * fix-copies
    
    * fix issubclass.
    
    * num_fused_loras
    
    * fix
    
    * fix
    
    * remove mapping
    
    * up
    
    * fix
    
    * style
    
    * fix-copies
    
    * change to SD3TransformerLoRALoadersMixin
    
    * Apply suggestions from code review
    Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
    
    * up
    
    * handle wuerstchen
    
    * up
    
    * move lora to lora_pipeline.py
    
    * up
    
    * fix-copies
    
    * fix documentation.
    
    * comment set_adapters().
    
    * fix-copies
    
    * fix set_adapters() at the model level.
    
    * fix?
    
    * fix
    
    * loraloadermixin.
    
    ---------
    Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
    d87fe95f
instaflow_one_step.py 35.3 KB