1. 02 Nov, 2022 1 commit
    • MatthieuTPHR's avatar
      Up to 2x speedup on GPUs using memory efficient attention (#532) · 98c42134
      MatthieuTPHR authored
      
      
      * 2x speedup using memory efficient attention
      
      * remove einops dependency
      
      * Swap K, M in op instantiation
      
      * Simplify code, remove unnecessary maybe_init call and function, remove unused self.scale parameter
      
      * make xformers a soft dependency
      
      * remove one-liner functions
      
      * change one letter variable to appropriate names
      
      * Remove Env variable dependency, remove MemoryEfficientCrossAttention class and use enable_xformers_memory_efficient_attention method
      
      * Add memory efficient attention toggle to img2img and inpaint pipelines
      
      * Clearer management of xformers' availability
      
      * update optimizations markdown to add info about memory efficient attention
      
      * add benchmarks for TITAN RTX
      
      * More detailed explanation of how the mem eff benchmark were ran
      
      * Removing autocast from optimization markdown
      
      * import_utils: import torch only if is available
      Co-authored-by: default avatarNouamane Tazi <nouamane98@gmail.com>
      98c42134
  2. 31 Oct, 2022 1 commit
  3. 25 Oct, 2022 1 commit
  4. 12 Oct, 2022 1 commit
  5. 30 Sep, 2022 1 commit
  6. 22 Sep, 2022 1 commit
    • Suraj Patil's avatar
      [UNet2DConditionModel] add gradient checkpointing (#461) · e7120bae
      Suraj Patil authored
      * add grad ckpt to downsample blocks
      
      * make it work
      
      * don't pass gradient_checkpointing to upsample block
      
      * add tests for UNet2DConditionModel
      
      * add test_gradient_checkpointing
      
      * add gradient_checkpointing for up and down blocks
      
      * add functions to enable and disable grad ckpt
      
      * remove the forward argument
      
      * better naming
      
      * make supports_gradient_checkpointing private
      e7120bae
  7. 16 Sep, 2022 1 commit
  8. 15 Sep, 2022 1 commit
  9. 08 Sep, 2022 1 commit
  10. 06 Sep, 2022 1 commit
  11. 04 Sep, 2022 1 commit
  12. 25 Aug, 2022 1 commit
  13. 10 Aug, 2022 1 commit
  14. 05 Aug, 2022 1 commit
  15. 28 Jul, 2022 1 commit
  16. 20 Jul, 2022 1 commit
    • Patrick von Platen's avatar
      Big Model Renaming (#109) · 9c3820d0
      Patrick von Platen authored
      * up
      
      * change model name
      
      * renaming
      
      * more changes
      
      * up
      
      * up
      
      * up
      
      * save checkpoint
      
      * finish api / naming
      
      * finish config renaming
      
      * rename all weights
      
      * finish really
      9c3820d0
  17. 19 Jul, 2022 2 commits
  18. 18 Jul, 2022 1 commit
  19. 14 Jul, 2022 2 commits
  20. 13 Jul, 2022 1 commit
  21. 12 Jul, 2022 1 commit
  22. 05 Jul, 2022 1 commit
  23. 04 Jul, 2022 2 commits