1. 01 Mar, 2023 1 commit
  2. 16 Feb, 2023 1 commit
    • Pedro Cuenca's avatar
      `enable_model_cpu_offload` (#2285) · 2777264e
      Pedro Cuenca authored
      * enable_model_offload PoC
      
      It's surprisingly more involved than expected, see comments in the PR.
      
      * Rename final_offload_hook
      
      * Invoke the vae forward hook manually.
      
      * Completely remove decoder.
      
      * Style
      
      * apply_forward_hook decorator
      
      * Rename method.
      
      * Style
      
      * Copy enable_model_cpu_offload
      
      * Fix copies.
      
      * Remove comment.
      
      * Fix copies
      
      * Missing import
      
      * Fix doc-builder style.
      
      * Merge main and fix again.
      
      * Add docs
      
      * Fix docs.
      
      * Add a couple of tests.
      
      * style
      2777264e
  3. 07 Feb, 2023 1 commit
  4. 27 Jan, 2023 1 commit
  5. 25 Jan, 2023 2 commits
  6. 19 Dec, 2022 1 commit
  7. 16 Dec, 2022 1 commit
  8. 06 Dec, 2022 1 commit
    • Anton Lozhkov's avatar
      Standardize fast pipeline tests with PipelineTestMixin (#1526) · 02d83c9f
      Anton Lozhkov authored
      
      
      * [WIP] Standardize fast pipeline tests with PipelineTestMixin
      
      * refactor the sd tests a bit
      
      * add more common tests
      
      * add xformers
      
      * add progressbar test
      
      * cleanup
      
      * upd fp16
      
      * CycleDiffusionPipelineFastTests
      
      * DanceDiffusionPipelineFastTests
      
      * AltDiffusionPipelineFastTests
      
      * StableDiffusion2PipelineFastTests
      
      * StableDiffusion2InpaintPipelineFastTests
      
      * StableDiffusionImageVariationPipelineFastTests
      
      * StableDiffusionImg2ImgPipelineFastTests
      
      * StableDiffusionInpaintPipelineFastTests
      
      * remove unused mixins
      
      * quality
      
      * add missing inits
      
      * try to fix mps tests
      
      * fix mps tests
      
      * add mps warmups
      
      * skip for some pipelines
      
      * style
      
      * Update tests/test_pipelines_common.py
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      02d83c9f
  9. 29 Nov, 2022 1 commit
    • Ilmari Heikkinen's avatar
      StableDiffusion: Decode latents separately to run larger batches (#1150) · c28d3c82
      Ilmari Heikkinen authored
      
      
      * StableDiffusion: Decode latents separately to run larger batches
      
      * Move VAE sliced decode under enable_vae_sliced_decode and vae.enable_sliced_decode
      
      * Rename sliced_decode to slicing
      
      * fix whitespace
      
      * fix quality check and repository consistency
      
      * VAE slicing tests and documentation
      
      * API doc hooks for VAE slicing
      
      * reformat vae slicing tests
      
      * Skip VAE slicing for one-image batches
      
      * Documentation tweaks for VAE slicing
      Co-authored-by: default avatarIlmari Heikkinen <ilmari@fhtr.org>
      c28d3c82
  10. 28 Nov, 2022 2 commits
  11. 25 Nov, 2022 1 commit
  12. 24 Nov, 2022 3 commits
  13. 15 Nov, 2022 1 commit
  14. 13 Nov, 2022 1 commit
  15. 09 Nov, 2022 2 commits
  16. 04 Nov, 2022 2 commits
  17. 03 Nov, 2022 3 commits
  18. 31 Oct, 2022 3 commits
  19. 28 Oct, 2022 2 commits
  20. 27 Oct, 2022 1 commit
  21. 24 Oct, 2022 1 commit
  22. 21 Oct, 2022 1 commit