1. 03 May, 2023 1 commit
  2. 28 Apr, 2023 2 commits
  3. 20 Apr, 2023 1 commit
  4. 27 Jan, 2023 1 commit
  5. 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
  6. 20 Jan, 2023 1 commit
  7. 18 Jan, 2023 1 commit
  8. 16 Jan, 2023 2 commits
  9. 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
  10. 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
  11. 18 Dec, 2022 1 commit
  12. 06 Dec, 2022 2 commits
  13. 05 Dec, 2022 1 commit
  14. 02 Dec, 2022 3 commits
  15. 30 Nov, 2022 1 commit
  16. 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
  17. 22 Nov, 2022 1 commit
  18. 15 Nov, 2022 1 commit
  19. 02 Nov, 2022 1 commit
  20. 27 Oct, 2022 2 commits
  21. 20 Oct, 2022 2 commits
  22. 18 Oct, 2022 1 commit
  23. 14 Oct, 2022 1 commit
  24. 10 Oct, 2022 1 commit
  25. 05 Oct, 2022 2 commits
  26. 04 Oct, 2022 1 commit
  27. 29 Sep, 2022 1 commit
  28. 27 Sep, 2022 2 commits
    • Suraj Patil's avatar
      [dreambooth] update install section (#650) · e5eed523
      Suraj Patil authored
      update install section
      e5eed523
    • Zhenhuan Liu's avatar
      Add training example for DreamBooth. (#554) · 3b747de8
      Zhenhuan Liu authored
      
      
      * Add training example for DreamBooth.
      
      * Fix bugs.
      
      * Update readme and default hyperparameters.
      
      * Reformatting code with black.
      
      * Update for multi-gpu trianing.
      
      * Apply suggestions from code review
      
      * improgve sampling
      
      * fix autocast
      
      * improve sampling more
      
      * fix saving
      
      * actuallu fix saving
      
      * fix saving
      
      * improve dataset
      
      * fix collate fun
      
      * fix collate_fn
      
      * fix collate fn
      
      * fix key name
      
      * fix dataset
      
      * fix collate fn
      
      * concat batch in collate fn
      
      * add grad ckpt
      
      * add option for 8bit adam
      
      * do two forward passes for prior preservation
      
      * Revert "do two forward passes for prior preservation"
      
      This reverts commit 661ca4677e6dccc4ad596c2ee6ca4baad4159e95.
      
      * add option for prior_loss_weight
      
      * add option for clip grad norm
      
      * add more comments
      
      * update readme
      
      * update readme
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * add docstr for dataset
      
      * update the saving logic
      
      * Update examples/dreambooth/README.md
      
      * remove unused imports
      Co-authored-by: default avatarSuraj Patil <surajp815@gmail.com>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      3b747de8