1. 23 Oct, 2023 7 commits
  2. 21 Oct, 2023 1 commit
  3. 20 Oct, 2023 2 commits
    • Vishnu V Jaddipal's avatar
      Added support to create asymmetrical U-Net structures (#5400) · 8dba1808
      Vishnu V Jaddipal authored
      
      
      * Added args, kwargs to ```U
      
      * Add UNetMidBlock2D as a supported mid block type
      
      * Fix extra init input for UNetMidBlock2D, change allowed types for Mid-block init
      
      * Update unet_2d_condition.py
      
      * Update unet_2d_condition.py
      
      * Update unet_2d_condition.py
      
      * Update unet_2d_condition.py
      
      * Update unet_2d_condition.py
      
      * Update unet_2d_condition.py
      
      * Update unet_2d_condition.py
      
      * Update unet_2d_condition.py
      
      * Update unet_2d_blocks.py
      
      * Update unet_2d_blocks.py
      
      * Update unet_2d_blocks.py
      
      * Update unet_2d_condition.py
      
      * Update unet_2d_blocks.py
      
      * Updated docstring, increased check strictness
      
      Updated the docstring for ```UNet2DConditionModel``` to include ```reverse_transformer_layers_per_block``` and updated checking for nested list type ```transformer_layers_per_block```
      
      * Add basic shape-check test for asymmetrical unets
      
      * Update src/diffusers/models/unet_2d_blocks.py
      
      Removed blank line
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * Update unet_2d_condition.py
      
      Remove blank space
      
      * Update unet_2d_condition.py
      
      Changed docstring for `mid_block_type`
      
      * Fixed docstring and wrong default value
      
      * Reformat with black
      
      * Reformat with necessary commands
      
      * Add UNetMidBlockFlat to versatile_diffusion/modeling_text_unet.py to ensure consistency
      
      * Removed args, kwargs, use on mid-block type
      
      * Make fix-copies
      
      * Update src/diffusers/models/unet_2d_condition.py
      
      Wrap into single line
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * make fix-copies
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      8dba1808
    • kesimeg's avatar
      fix une2td ignoring class_labels (#5401) · 5366db5d
      kesimeg authored
      
      
      * fix une2td ignoring class_labels
      
      * unet2.py error message updated
      
      * style and quality changes
      
      ---------
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      5366db5d
  4. 18 Oct, 2023 10 commits
  5. 17 Oct, 2023 6 commits
  6. 16 Oct, 2023 7 commits
  7. 15 Oct, 2023 1 commit
  8. 13 Oct, 2023 2 commits
    • Younes Belkada's avatar
      [`core` / `PEFT` / `LoRA`] Integrate PEFT into Unet (#5151) · 2bfa55f4
      Younes Belkada authored
      
      
      * v1
      
      * add tests and fix previous failing tests
      
      * fix CI
      
      * add tests + v1 `PeftLayerScaler`
      
      * style
      
      * add scale retrieving mechanism system
      
      * fix CI
      
      * up
      
      * up
      
      * simple approach --> not same results for some reason
      
      * fix issues
      
      * fix copies
      
      * remove unneeded method
      
      * active adapters!
      
      * fix merge conflicts
      
      * up
      
      * up
      
      * kohya - test-1
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * fix scale
      
      * fix copies
      
      * add comment
      
      * multi adapters
      
      * fix tests
      
      * oops
      
      * v1 faster loading - in progress
      
      * Revert "v1 faster loading - in progress"
      
      This reverts commit ac925f81321e95fc8168184c3346bf3d75404d5a.
      
      * kohya same generation
      
      * fix some slow tests
      
      * peft integration features for unet lora
      
      1. Support for Multiple ranks/alphas
      2. Support for Multiple active adapters
      3. Support for enabling/disabling LoRAs
      
      * fix ...
      2bfa55f4
    • Sayak Paul's avatar
      [Core] Add FreeU to all the core pipelines and their (mostly-used) derivatives (#5376) · 9bc55e8b
      Sayak Paul authored
      * add: freeu to the core sdxl pipeline.
      
      * add: freeu to video2video
      
      * add: freeu to the core SD pipelines.
      
      * add: freeu to image variation for sdxl.
      
      * add: freeu to SD ControlNet pipelines.
      
      * add: freeu to SDXL controlnet pipelines.
      
      * add: freu to t2i adapter pipelines.
      
      * make fix-copies.
      9bc55e8b
  9. 12 Oct, 2023 2 commits
  10. 11 Oct, 2023 2 commits
    • Patrick von Platen's avatar
      make style · 5313aa62
      Patrick von Platen authored
      5313aa62
    • Chi's avatar
      I Added Doc-String Into The class. (#5293) · ea8364e5
      Chi authored
      
      
      * I added a new doc string to the class. This is more flexible to understanding other developers what are doing and where it's using.
      
      * Update src/diffusers/models/unet_2d_blocks.py
      
      This changes suggest by maintener.
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * Update src/diffusers/models/unet_2d_blocks.py
      
      Add suggested text
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * Update unet_2d_blocks.py
      
      I changed the Parameter to Args text.
      
      * Update unet_2d_blocks.py
      
      proper indentation set in this file.
      
      * Update unet_2d_blocks.py
      
      a little bit of change in the act_fun argument line.
      
      * I run the black command to reformat style in the code
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      ea8364e5