1. 02 Jun, 2023 2 commits
    • Takuma Mori's avatar
      Support Kohya-ss style LoRA file format (in a limited capacity) (#3437) · 8e552bb4
      Takuma Mori authored
      
      
      * add _convert_kohya_lora_to_diffusers
      
      * make style
      
      * add scaffold
      
      * match result: unet attention only
      
      * fix monkey-patch for text_encoder
      
      * with CLIPAttention
      
      While the terrible images are no longer produced,
      the results do not match those from the hook ver.
      This may be due to not setting the network_alpha value.
      
      * add to support network_alpha
      
      * generate diff image
      
      * fix monkey-patch for text_encoder
      
      * add test_text_encoder_lora_monkey_patch()
      
      * verify that it's okay to release the attn_procs
      
      * fix closure version
      
      * add comment
      
      * Revert "fix monkey-patch for text_encoder"
      
      This reverts commit bb9c61e6faecc1935c9c4319c77065837655d616.
      
      * Fix to reuse utility functions
      
      * make LoRAAttnProcessor targets to self_attn
      
      * fix LoRAAttnProcessor target
      
      * make style
      
      * fix split key
      
      * Update src/diffusers/loaders.py
      
      * remove TEXT_ENCODER_TARGET_MODULES loop
      
      * add print memory usage
      
      * remove test_kohya_loras_scaffold.py
      
      * add: doc on LoRA civitai
      
      * remove print statement and refactor in the doc.
      
      * fix state_dict test for kohya-ss style lora
      
      * Apply suggestions from code review
      Co-authored-by: default avatarTakuma Mori <takuma104@gmail.com>
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      8e552bb4
    • Sayak Paul's avatar
      [Docs] include the instruction-tuning blog link in the InstructPix2Pix docs (#3644) · 55dbfa02
      Sayak Paul authored
      include the instruction-tuning blog link.
      55dbfa02
  2. 26 May, 2023 1 commit
  3. 21 May, 2023 1 commit
  4. 19 May, 2023 2 commits
  5. 10 May, 2023 1 commit
  6. 04 May, 2023 1 commit
  7. 03 May, 2023 1 commit
  8. 28 Apr, 2023 3 commits
  9. 27 Apr, 2023 1 commit
  10. 21 Apr, 2023 3 commits
  11. 20 Apr, 2023 3 commits
  12. 18 Apr, 2023 1 commit
  13. 12 Apr, 2023 1 commit
  14. 06 Apr, 2023 1 commit
  15. 28 Mar, 2023 2 commits
  16. 23 Mar, 2023 2 commits
    • Mishig's avatar
      [doc wip] literalinclude (#2718) · 8e35ef01
      Mishig authored
      8e35ef01
    • Sayak Paul's avatar
      [Examples] InstructPix2Pix instruct training script (#2478) · 9dc84448
      Sayak Paul authored
      
      
      * add: initial implementation of the pix2pix instruct training script.
      
      * shorten cli arg.
      
      * fix: main process check.
      
      * fix: dataset column names.
      
      * simplify tokenization.
      
      * proper placement of null conditions.
      
      * apply styling.
      
      * remove debugging message for conditioning do.
      
      * complete license.
      
      * add: requirements.tzt
      
      * wandb column name order.
      
      * fix: augmentation.
      
      * change: dataset_id.
      
      * fix: convert_to_np() call.
      
      * fix: reshaping.
      
      * fix: final ema copy.
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * address PR comments.
      
      * add: readme details.
      
      * config fix.
      
      * downgrade version.
      
      * reduce image width in the readme.
      
      * note on hyperparameters during generation.
      
      * add: output images.
      
      * update readme.
      
      * minor edits to readme.
      
      * debugging statement.
      
      * explicitly placement of the pipeline.
      
      * bump minimum diffusers version.
      
      * fix: device attribute error.
      
      * weight dtype.
      
      * debugging.
      
      * add dtype inform.
      
      * add seoarate te and vae.
      
      * add: explicit casting/
      
      * remove casting.
      
      * up.
      
      * up 2.
      
      * up 3.
      
      * autocast.
      
      * disable mixed-precision in the final inference.
      
      * debugging information.
      
      * autocasting.
      
      * add: instructpix2pix training section to the docs.
      
      * Empty-Commit
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      9dc84448
  17. 21 Mar, 2023 1 commit
  18. 20 Mar, 2023 2 commits
  19. 08 Mar, 2023 1 commit
  20. 07 Mar, 2023 1 commit
  21. 06 Mar, 2023 3 commits
  22. 01 Mar, 2023 1 commit
  23. 07 Feb, 2023 1 commit
  24. 30 Jan, 2023 1 commit
  25. 25 Jan, 2023 1 commit
  26. 04 Jan, 2023 1 commit
    • Chanran Kim's avatar
      Init for korean docs (#1910) · 75d53cc8
      Chanran Kim authored
      * init for korean docs
      
      * edit build yml file for multi language docs
      
      * edit one more build yml file for multi language docs
      
      * add title for get_frontmatter error
      75d53cc8