1. 09 May, 2023 1 commit
  2. 01 May, 2023 1 commit
    • Patrick von Platen's avatar
      Torch compile graph fix (#3286) · 0e82fb19
      Patrick von Platen authored
      * fix more
      
      * Fix more
      
      * fix more
      
      * Apply suggestions from code review
      
      * fix
      
      * make style
      
      * make fix-copies
      
      * fix
      
      * make sure torch compile
      
      * Clean
      
      * fix test
      0e82fb19
  3. 25 Apr, 2023 1 commit
    • Patrick von Platen's avatar
      add model (#3230) · e51f19ae
      Patrick von Platen authored
      
      
      * add
      
      * clean
      
      * up
      
      * clean up more
      
      * fix more tests
      
      * Improve docs further
      
      * improve
      
      * more fixes docs
      
      * Improve docs more
      
      * Update src/diffusers/models/unet_2d_condition.py
      
      * fix
      
      * up
      
      * update doc links
      
      * make fix-copies
      
      * add safety checker and watermarker to stage 3 doc page code snippets
      
      * speed optimizations docs
      
      * memory optimization docs
      
      * make style
      
      * add watermarking snippets to doc string examples
      
      * make style
      
      * use pt_to_pil helper functions in doc strings
      
      * skip mps tests
      
      * Improve safety
      
      * make style
      
      * new logic
      
      * fix
      
      * fix bad onnx design
      
      * make new stable diffusion upscale pipeline model arguments optional
      
      * define has_nsfw_concept when non-pil output type
      
      * lowercase linked to notebook name
      
      ---------
      Co-authored-by: default avatarWilliam Berman <WLBberman@gmail.com>
      e51f19ae
  4. 17 Apr, 2023 1 commit
  5. 30 Mar, 2023 1 commit
  6. 28 Mar, 2023 1 commit
  7. 27 Mar, 2023 1 commit
  8. 21 Mar, 2023 1 commit
  9. 16 Mar, 2023 1 commit
  10. 10 Mar, 2023 1 commit
  11. 09 Mar, 2023 1 commit
  12. 01 Mar, 2023 1 commit
  13. 27 Feb, 2023 1 commit
  14. 16 Feb, 2023 1 commit
  15. 07 Feb, 2023 1 commit
  16. 01 Feb, 2023 1 commit
  17. 24 Jan, 2023 1 commit
  18. 19 Jan, 2023 1 commit
  19. 18 Jan, 2023 1 commit
  20. 12 Jan, 2023 1 commit
  21. 30 Dec, 2022 1 commit
  22. 29 Dec, 2022 1 commit
  23. 20 Dec, 2022 1 commit
  24. 14 Dec, 2022 1 commit
  25. 09 Dec, 2022 1 commit
  26. 07 Dec, 2022 1 commit
  27. 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
  28. 30 Nov, 2022 2 commits
  29. 28 Nov, 2022 1 commit
  30. 24 Nov, 2022 1 commit
  31. 22 Nov, 2022 1 commit
  32. 04 Nov, 2022 1 commit
  33. 03 Nov, 2022 2 commits
  34. 12 Oct, 2022 3 commits
  35. 05 Oct, 2022 1 commit
  36. 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