1. 27 Jan, 2025 1 commit
  2. 16 Sep, 2024 1 commit
  3. 26 Jul, 2024 1 commit
    • 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
  4. 25 Jul, 2024 2 commits
    • YiYi Xu's avatar
      Revert "[LoRA] introduce LoraBaseMixin to promote reusability." (#8976) · 62863bb1
      YiYi Xu authored
      Revert "[LoRA] introduce LoraBaseMixin to promote reusability. (#8774)"
      
      This reverts commit 527430d0.
      62863bb1
    • Sayak Paul's avatar
      [LoRA] introduce LoraBaseMixin to promote reusability. (#8774) · 527430d0
      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
      
      ---------
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      527430d0
  5. 05 Jun, 2024 1 commit
    • Tolga Cangöz's avatar
      Errata (#8322) · 98730c5d
      Tolga Cangöz authored
      * Fix typos
      
      * Trim trailing whitespaces
      
      * Remove a trailing whitespace
      
      * chore: Update MarigoldDepthPipeline checkpoint to prs-eth/marigold-lcm-v1-0
      
      * Revert "chore: Update MarigoldDepthPipeline checkpoint to prs-eth/marigold-lcm-v1-0"
      
      This reverts commit fd742b30b4258106008a6af4d0dd4664904f8595.
      
      * pokemon -> naruto
      
      * `DPMSolverMultistep` -> `DPMSolverMultistepScheduler`
      
      * Improve Markdown stylization
      
      * Improve style
      
      * Improve style
      
      * Refactor pipeline variable names for consistency
      
      * up style
      98730c5d
  6. 13 Feb, 2024 1 commit
  7. 07 Dec, 2023 1 commit
    • Younes Belkada's avatar
      [`PEFT`] Adapt example scripts to use PEFT (#5388) · c2717317
      Younes Belkada authored
      
      
      * adapt example scripts to use PEFT
      
      * Update examples/text_to_image/train_text_to_image_lora.py
      
      * fix
      
      * add for SDXL
      
      * oops
      
      * make sure to install peft
      
      * fix
      
      * fix
      
      * fix dreambooth and lora
      
      * more fixes
      
      * add peft to requirements.txt
      
      * fix
      
      * final fix
      
      * add peft version in requirements
      
      * remove comment
      
      * change variable names
      
      * add few lines in readme
      
      * add to reqs
      
      * style
      
      * fix issues
      
      * fix lora dreambooth xl tests
      
      * init_lora_weights to gaussian and add out proj where missing
      
      * ammend requirements.
      
      * ammend requirements.txt
      
      * add correct peft versions
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      c2717317
  8. 23 Aug, 2023 1 commit
  9. 21 Jul, 2023 1 commit
  10. 11 Jul, 2023 1 commit
    • Sayak Paul's avatar
      [Examples] Add a training script for SDXL DreamBooth LoRA (#4016) · 3d74dc2a
      Sayak Paul authored
      
      
      * add dreambooth lora script for SDXL incorporating latest changes.
      
      * remove use_auth_token=True.
      
      * add: documentation
      
      * remove unneeded cli.
      
      * increase the number of training steps in the readme.
      
      * add LoraLoaderMixin to the subclassing mix.
      
      * add sdxl lora dreambooth test.
      
      * add: inference code sample.
      
      * add: refiner output.
      
      * add LoraLoaderMixin to the mix of classes of StableDiffusionXLImg2ImgPipeline.
      
      * change default resolution of DreamBoothDataset.
      
      * better sdxl report path.
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      ---------
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      3d74dc2a
  11. 05 Jun, 2023 1 commit
  12. 02 Jun, 2023 1 commit
  13. 19 May, 2023 1 commit
  14. 17 May, 2023 1 commit
  15. 03 May, 2023 1 commit
  16. 28 Apr, 2023 2 commits
  17. 20 Apr, 2023 1 commit
  18. 27 Jan, 2023 1 commit
  19. 23 Jan, 2023 1 commit
    • Gleb Akhmerov's avatar
      Dreambooth: reduce VRAM usage (#2039) · a66f2bae
      Gleb Akhmerov authored
      * Dreambooth: use `optimizer.zero_grad(set_to_none=True)` to reduce VRAM usage
      
      * Allow the user to control `optimizer.zero_grad(set_to_none=True)` with --set_grads_to_none
      
      * Update Dreambooth readme
      
      * Fix link in readme
      
      * Fix header size in readme
      a66f2bae
  20. 20 Jan, 2023 1 commit
  21. 18 Jan, 2023 1 commit
  22. 16 Jan, 2023 2 commits
  23. 27 Dec, 2022 1 commit
    • Katsuya's avatar
      Make xformers optional even if it is available (#1753) · 8874027e
      Katsuya authored
      * Make xformers optional even if it is available
      
      * Raise exception if xformers is used but not available
      
      * Rename use_xformers to enable_xformers_memory_efficient_attention
      
      * Add a note about xformers in README
      
      * Reformat code style
      8874027e
  24. 20 Dec, 2022 1 commit
    • Pedro Cuenca's avatar
      Dreambooth docs: minor fixes (#1758) · a6fb9407
      Pedro Cuenca authored
      * Section header for in-painting, inference from checkpoint.
      
      * Inference: link to section to perform inference from checkpoint.
      
      * Move Dreambooth in-painting instructions to the proper place.
      a6fb9407
  25. 18 Dec, 2022 1 commit
  26. 06 Dec, 2022 2 commits
  27. 05 Dec, 2022 1 commit
  28. 02 Dec, 2022 3 commits
  29. 30 Nov, 2022 1 commit
  30. 28 Nov, 2022 1 commit
    • Suraj Patil's avatar
      v-prediction training support (#1455) · 6c56f050
      Suraj Patil authored
      * add get_velocity
      
      * add v prediction for training
      
      * fix saving
      
      * add revision arg
      
      * fix saving
      
      * save checkpoints dreambooth
      
      * fix saving embeds
      
      * add instruction in readme
      
      * quality
      
      * noise_pred -> model_pred
      6c56f050
  31. 22 Nov, 2022 1 commit
  32. 15 Nov, 2022 1 commit
  33. 02 Nov, 2022 1 commit
  34. 27 Oct, 2022 1 commit