1. 19 Oct, 2022 3 commits
  2. 18 Oct, 2022 3 commits
  3. 17 Oct, 2022 1 commit
  4. 16 Oct, 2022 1 commit
  5. 14 Oct, 2022 2 commits
  6. 13 Oct, 2022 9 commits
  7. 12 Oct, 2022 6 commits
  8. 11 Oct, 2022 3 commits
  9. 10 Oct, 2022 5 commits
    • Nathan Lambert's avatar
      fix typo docstring in unet2d (#798) · 71ca10c6
      Nathan Lambert authored
      fix typo docstring
      71ca10c6
    • 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
    • Nathan Lambert's avatar
      add sigmoid betas (#777) · feaa7324
      Nathan Lambert authored
      * add sigmoid betas
      
      * convert to torch
      
      * add comment on source
      feaa7324
    • Nathan Lambert's avatar
      Clean up resnet.py file (#780) · a73f8b72
      Nathan Lambert authored
      * clean up resnet.py
      
      * make style and quality
      
      * minor formatting
      a73f8b72
    • lowinli's avatar
      debug an exception (#638) · 5af6eed9
      lowinli authored
      
      
      * debug an exception
      
      if dst_path is not a file, it will raise Exception in the function src_path.samefile:
      FileNotFoundError: [Errno 2] No such file or directory: '/home/lilongwei/notebook/onnx_diffusion/vae_decoder/model.onnx'
      
      * Update src/diffusers/onnx_utils.py
      Co-authored-by: default avatarAnton Lozhkov <aglozhkov@gmail.com>
      5af6eed9
  10. 07 Oct, 2022 6 commits
  11. 06 Oct, 2022 1 commit