"docs/vscode:/vscode.git/clone" did not exist on "e70fa279bc2c3e44da94edc81affec60b9681e52"
  1. 29 Oct, 2022 1 commit
  2. 28 Oct, 2022 1 commit
  3. 27 Oct, 2022 2 commits
  4. 26 Oct, 2022 2 commits
    • Hu Ye's avatar
      bd06dd02
    • Pi Esposito's avatar
      minimal stable diffusion GPU memory usage with accelerate hooks (#850) · b2e2d141
      Pi Esposito authored
      * add method to enable cuda with minimal gpu usage to stable diffusion
      
      * add test to minimal cuda memory usage
      
      * ensure all models but unet are onn torch.float32
      
      * move to cpu_offload along with minor internal changes to make it work
      
      * make it test against accelerate master branch
      
      * coming back, its official: I don't know how to make it test againt the master branch from accelerate
      
      * make it install accelerate from master on tests
      
      * go back to accelerate>=0.11
      
      * undo prettier formatting on yml files
      
      * undo prettier formatting on yml files againn
      b2e2d141
  5. 25 Oct, 2022 6 commits
  6. 24 Oct, 2022 2 commits
  7. 21 Oct, 2022 1 commit
    • mkshing's avatar
      Support LMSDiscreteScheduler in LDMPipeline (#891) · 31af4d17
      mkshing authored
      
      
      * Support LMSDiscreteScheduler in LDMPipeline
      
      This is a small change to support all schedulers such as LMSDiscreteScheduler in LDMPipeline.
      
      What's changed
      -------
      * Add the `scale_model_input` function before `step` to ensure correct denoising (L77)
      
      * Add "scale the initial noise by the standard deviation required by the scheduler"
      
      * run `make style`
      Co-authored-by: default avatarAnton Lozhkov <anton@huggingface.co>
      31af4d17
  8. 19 Oct, 2022 5 commits
  9. 18 Oct, 2022 2 commits
  10. 14 Oct, 2022 1 commit
  11. 13 Oct, 2022 7 commits
  12. 12 Oct, 2022 1 commit
  13. 11 Oct, 2022 2 commits
  14. 10 Oct, 2022 1 commit
    • Patrick von Platen's avatar
      [Low CPU memory] + device map (#772) · fab17528
      Patrick von Platen 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
      
      * add device map to pipeline abstraction
      
      * lint it to pass PR quality check
      
      * fix class check to use accelerate when using diffusers ModelMixin subclasses
      
      * use low_cpu_mem_usage in transformers if device_map is not available
      
      * NoModuleLayer
      
      * comment out tests
      
      * up
      
      * uP
      
      * finish
      
      * Update src/diffusers/pipelines/stable_diffusion/safety_checker.py
      
      * finish
      
      * uP
      
      * make style
      Co-authored-by: default avatarPi Esposito <piero.skywalker@gmail.com>
      fab17528
  15. 07 Oct, 2022 1 commit
    • Suraj Patil's avatar
      [img2img, inpainting] fix fp16 inference (#769) · 92d70863
      Suraj Patil authored
      * handle dtype in vae and image2image pipeline
      
      * fix inpaint in fp16
      
      * dtype should be handled in add_noise
      
      * style
      
      * address review comments
      
      * add simple fast tests to check fp16
      
      * fix test name
      
      * put mask in fp16
      92d70863
  16. 06 Oct, 2022 3 commits
  17. 05 Oct, 2022 2 commits