1. 13 Feb, 2024 1 commit
  2. 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
  3. 23 Aug, 2023 1 commit
  4. 21 Jul, 2023 1 commit
  5. 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
  6. 05 Jun, 2023 1 commit
  7. 02 Jun, 2023 1 commit
  8. 19 May, 2023 1 commit
  9. 17 May, 2023 1 commit
  10. 03 May, 2023 1 commit
  11. 28 Apr, 2023 2 commits
  12. 20 Apr, 2023 1 commit
  13. 27 Jan, 2023 1 commit
  14. 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
  15. 20 Jan, 2023 1 commit
  16. 18 Jan, 2023 1 commit
  17. 16 Jan, 2023 2 commits
  18. 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
  19. 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
  20. 18 Dec, 2022 1 commit
  21. 06 Dec, 2022 2 commits
  22. 05 Dec, 2022 1 commit
  23. 02 Dec, 2022 3 commits
  24. 30 Nov, 2022 1 commit
  25. 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
  26. 22 Nov, 2022 1 commit
  27. 15 Nov, 2022 1 commit
  28. 02 Nov, 2022 1 commit
  29. 27 Oct, 2022 2 commits
  30. 20 Oct, 2022 2 commits
  31. 18 Oct, 2022 1 commit
  32. 14 Oct, 2022 1 commit
  33. 10 Oct, 2022 1 commit