1. 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
  2. 03 Oct, 2022 1 commit
  3. 21 Sep, 2022 1 commit
  4. 08 Sep, 2022 1 commit
  5. 05 Sep, 2022 1 commit
  6. 01 Sep, 2022 1 commit
  7. 22 Aug, 2022 2 commits
  8. 17 Aug, 2022 1 commit
  9. 16 Aug, 2022 1 commit
  10. 21 Jul, 2022 1 commit
  11. 27 Jun, 2022 1 commit
  12. 22 Jun, 2022 1 commit
  13. 20 Jun, 2022 1 commit
  14. 17 Jun, 2022 2 commits
  15. 09 Jun, 2022 3 commits