1. 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
  2. 28 Nov, 2022 4 commits
  3. 25 Nov, 2022 4 commits
  4. 24 Nov, 2022 5 commits
  5. 23 Nov, 2022 4 commits
    • Patrick von Platen's avatar
      trailing . fix · 9f476388
      Patrick von Platen authored
      9f476388
    • Patrick von Platen's avatar
      fix trailing . dep object · 9479052d
      Patrick von Platen authored
      9479052d
    • Patrick von Platen's avatar
      [Bad dependencies] Fix imports (#1382) · 35d81861
      Patrick von Platen authored
      * fix imports
      
      * better error
      
      * up
      
      * finish
      35d81861
    • Suraj Patil's avatar
      StableDiffusionImageVariationPipeline (#1365) · 0eb507f2
      Suraj Patil authored
      
      
      * add StableDiffusionImageVariationPipeline
      
      * add ini init
      
      * use CLIPVisionModelWithProjection
      
      * fix _encode_image
      
      * add copied from
      
      * fix copies
      
      * add doc
      
      * handle tensor in _encode_image
      
      * add tests
      
      * correct model_id
      
      * remove copied from in enable_sequential_cpu_offload
      
      * fix tests
      
      * make slow tests pass
      
      * update slow tests
      
      * use temp model for now
      
      * fix test_stable_diffusion_img_variation_intermediate_state
      
      * fix test_stable_diffusion_img_variation_intermediate_state
      
      * check for torch.Tensor
      
      * quality
      
      * fix name
      
      * fix slow tests
      
      * install transformers from source
      
      * fix install
      
      * fix install
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      * input_image -> image
      
      * remove deprication warnings
      
      * fix test_stable_diffusion_img_variation_multiple_images
      
      * make flake happy
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      0eb507f2
  6. 22 Nov, 2022 1 commit
  7. 20 Nov, 2022 2 commits
    • Patrick von Platen's avatar
      make style · ab1f01e6
      Patrick von Platen authored
      ab1f01e6
    • Victor Schmidt's avatar
      Handle batches and Tensors in... · 3bec90ff
      Victor Schmidt authored
      
      Handle batches and Tensors in `pipeline_stable_diffusion_inpaint.py:prepare_mask_and_masked_image` (#1003)
      
      * Handle batches and Tensors in `prepare_mask_and_masked_image`
      
      * `blackfy`
      upgrade `black`
      
      * handle mask as `np.array`
      
      * add docstring
      
      * revert `black` changes with smaller line length
      
      * missing ValueError in docstring
      
      * raise `TypeError` for image as tensor but not mask
      
      * typo in mask shape selection
      
      * check for batch dim
      
      * fix: wrong indentation
      
      * add tests
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      3bec90ff
  8. 19 Nov, 2022 1 commit
  9. 18 Nov, 2022 3 commits
  10. 17 Nov, 2022 3 commits
  11. 16 Nov, 2022 2 commits
  12. 15 Nov, 2022 2 commits
  13. 14 Nov, 2022 1 commit
  14. 13 Nov, 2022 2 commits
  15. 09 Nov, 2022 5 commits