1. 08 Feb, 2024 2 commits
    • Sayak Paul's avatar
      [IP Adapters] introduce `ip_adapter_image_embeds` in the SD pipeline call (#6868) · aa82df52
      Sayak Paul authored
      
      
      * add: support for passing ip adapter image embeddings
      
      * debugging
      
      * make feature_extractor unloading conditioned on safety_checker
      
      * better condition
      
      * type annotation
      
      * index to look into value slices
      
      * more debugging
      
      * debugging
      
      * serialize embeddings dict
      
      * better conditioning
      
      * remove unnecessary prints.
      
      * Update src/diffusers/loaders/ip_adapter.py
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      
      * make fix-copies and styling.
      
      * styling and further copy fixing.
      
      * fix: check_inputs call in controlnet sdxl img2img pipeline
      
      ---------
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      aa82df52
    • Sayak Paul's avatar
      Remove `torch_dtype` in to() to end deprecation (#6886) · 18355105
      Sayak Paul authored
      * remove torch_dtype from to()
      
      * remove torch_dtype from usage scripts.
      
      * remove old lora backend
      
      * Revert "remove old lora backend"
      
      This reverts commit adcddf6ba421f847e7da2a0ce57b9456cae43356.
      18355105
  2. 07 Feb, 2024 2 commits
  3. 06 Feb, 2024 3 commits
  4. 05 Feb, 2024 6 commits
  5. 04 Feb, 2024 1 commit
  6. 03 Feb, 2024 1 commit
  7. 02 Feb, 2024 1 commit
  8. 01 Feb, 2024 2 commits
  9. 31 Jan, 2024 9 commits
  10. 30 Jan, 2024 2 commits
  11. 29 Jan, 2024 2 commits
  12. 28 Jan, 2024 1 commit
  13. 27 Jan, 2024 1 commit
  14. 26 Jan, 2024 2 commits
  15. 24 Jan, 2024 2 commits
    • Aryan V S's avatar
      AnimateDiff Video to Video (#6328) · a517f665
      Aryan V S authored
      
      
      * begin animatediff img2video and video2video
      
      * revert animatediff to original implementation
      
      * add img2video as pipeline
      
      * update
      
      * add vid2vid pipeline
      
      * update imports
      
      * update
      
      * remove copied from line for check_inputs
      
      * update
      
      * update examples
      
      * add multi-batch support
      
      * fix __init__.py files
      
      * move img2vid to community
      
      * update community readme and examples
      
      * fix
      
      * make fix-copies
      
      * add vid2vid batch params
      
      * apply suggestions from review
      Co-Authored-By: default avatarDhruv Nair <dhruv.nair@gmail.com>
      
      * add test for animatediff vid2vid
      
      * torch.stack -> torch.cat
      Co-Authored-By: default avatarDhruv Nair <dhruv.nair@gmail.com>
      
      * make style
      
      * docs for vid2vid
      
      * update
      
      * fix prepare_latents
      
      * fix docs
      
      * remove img2vid
      
      * update README to :main
      
      * remove slow test
      
      * refactor pipeline output
      
      * update docs
      
      * update docs
      
      * merge community readme from :main
      
      * final fix i promise
      
      * add support for url in animatediff example
      
      * update example
      
      * update callbacks to latest implementation
      
      * Update src/diffusers/pipelines/animatediff/pipeline_animatediff_video2video.py
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * Update src/diffusers/pipelines/animatediff/pipeline_animatediff_video2video.py
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * fix merge
      
      * Apply suggestions from code review
      
      * remove callback and callback_steps as suggested in review
      
      * Update tests/pipelines/animatediff/test_animatediff_video2video.py
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * fix import error caused due to unet refactor in #6630
      
      * fix numpy import error after tensor2vid refactor in #6626
      
      * make fix-copies
      
      * fix numpy error
      
      * fix progress bar test
      
      ---------
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      a517f665
    • Haofan Wang's avatar
      [Fix bugs] pipeline_controlnet_sd_xl.py (#6653) · c9081a8a
      Haofan Wang authored
      * Update pipeline_controlnet_sd_xl.py
      
      * Update pipeline_controlnet_xs_sd_xl.py
      c9081a8a
  16. 23 Jan, 2024 3 commits
    • Dhruv Nair's avatar
      [Refactor] Update from single file (#6428) · fee93c81
      Dhruv Nair authored
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update'
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * up
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * up
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update'
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * clean
      
      * update
      
      * update
      
      * clean up
      
      * clean up
      
      * update
      
      * clean
      
      * clean
      
      * update
      
      * updaet
      
      * clean up
      
      * fix docs
      
      * update
      
      * update
      
      * Revert "update"
      
      This reverts commit dbfb8f1ea9c61a2b4e02f926245be2b3d387e577.
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix controlnet
      
      * fix scheduler
      
      * fix controlnet tests
      fee93c81
    • Dhruv Nair's avatar
      Standardise outputs for video pipelines (#6626) · 6620eda3
      Dhruv Nair authored
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * clean up
      
      * clean up
      6620eda3
    • Sayak Paul's avatar
      [Big refactor] move unets to `unets` module 🦋 (#6630) · 1f0705ad
      Sayak Paul authored
      * move unets to  module 🦋
      
      * parameterize unet-level import.
      
      * fix flax unet2dcondition model import
      
      * models __init__
      
      * mildly depcrecating models.unet_2d_blocks in favor of models.unets.unet_2d_blocks.
      
      * noqa
      
      * correct depcrecation behaviour
      
      * inherit from the actual classes.
      
      * Empty-Commit
      
      * backwards compatibility for unet_2d.py
      
      * backward compatibility for unet_2d_condition
      
      * bc for unet_1d
      
      * bc for unet_1d_blocks
      1f0705ad