1. 07 Feb, 2023 1 commit
  2. 01 Feb, 2023 1 commit
  3. 24 Jan, 2023 1 commit
  4. 19 Jan, 2023 1 commit
  5. 18 Jan, 2023 1 commit
  6. 12 Jan, 2023 1 commit
  7. 30 Dec, 2022 1 commit
  8. 29 Dec, 2022 1 commit
  9. 20 Dec, 2022 1 commit
  10. 14 Dec, 2022 1 commit
  11. 09 Dec, 2022 1 commit
  12. 07 Dec, 2022 1 commit
  13. 02 Dec, 2022 1 commit
    • Matthieu Bizien's avatar
      [Proposal] Support saving to safetensors (#1494) · ae368e42
      Matthieu Bizien authored
      * Add parameter safe_serialization to DiffusionPipeline.save_pretrained
      
      * Add option safe_serialization on ModelMixin.save_pretrained
      
      * Add test test_save_safe_serialization
      
      * Black
      
      * Re-trigger the CI
      
      * Fix doc-builder
      
      * Validate files are saved as safetensor in test_save_safe_serialization
      ae368e42
  14. 30 Nov, 2022 2 commits
  15. 28 Nov, 2022 1 commit
  16. 24 Nov, 2022 1 commit
  17. 22 Nov, 2022 1 commit
  18. 04 Nov, 2022 1 commit
  19. 03 Nov, 2022 2 commits
  20. 12 Oct, 2022 3 commits
  21. 05 Oct, 2022 1 commit
  22. 04 Oct, 2022 1 commit
    • Pi Esposito's avatar
      add accelerate to load models with smaller memory footprint (#361) · 4d1cce2f
      Pi Esposito authored
      
      
      * add accelerate to load models with smaller memory footprint
      
      * remove low_cpu_mem_usage as it is reduntant
      
      * move accelerate init weights context to modelling utils
      
      * add test to ensure results are the same when loading with accelerate
      
      * add tests to ensure ram usage gets lower when using accelerate
      
      * move accelerate logic to single snippet under modelling utils and remove it from configuration utils
      
      * format code using to pass quality check
      
      * fix imports with isor
      
      * add accelerate to test extra deps
      
      * only import accelerate if device_map is set to auto
      
      * move accelerate availability check to diffusers import utils
      
      * format code
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      4d1cce2f
  23. 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
  24. 21 Sep, 2022 1 commit
  25. 16 Sep, 2022 1 commit
  26. 13 Sep, 2022 1 commit
  27. 08 Sep, 2022 2 commits
  28. 01 Sep, 2022 1 commit
  29. 25 Aug, 2022 1 commit
  30. 22 Aug, 2022 2 commits
  31. 17 Aug, 2022 1 commit
  32. 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
  33. 19 Jul, 2022 1 commit
  34. 15 Jul, 2022 1 commit