1. 28 Aug, 2024 1 commit
    • Aryan's avatar
      AnimateDiff prompt travel (#9231) · cbc2ec8f
      Aryan authored
      * update
      
      * implement prompt interpolation
      
      * make style
      
      * resnet memory optimizations
      
      * more memory optimizations; todo: refactor
      
      * update
      
      * update animatediff controlnet with latest changes
      
      * refactor chunked inference changes
      
      * remove print statements
      
      * undo memory optimization changes
      
      * update docstrings
      
      * fix tests
      
      * fix pia tests
      
      * apply suggestions from review
      
      * add tests
      
      * update comment
      cbc2ec8f
  2. 27 Aug, 2024 2 commits
  3. 25 Aug, 2024 2 commits
  4. 23 Aug, 2024 3 commits
  5. 22 Aug, 2024 2 commits
    • YiYi Xu's avatar
      fix _identify_model_variants (#9247) · dc07fc29
      YiYi Xu authored
      merge now, will add/fix test next 
      dc07fc29
    • Sayak Paul's avatar
      [Core] Tear apart `from_pretrained()` of `DiffusionPipeline` (#8967) · 32d6492c
      Sayak Paul authored
      * break from_pretrained part i.
      
      * part ii.
      
      * init_kwargs
      
      * remove _fetch_init_kwargs
      
      * type annotation
      
      * dtyle
      
      * switch to _check_and_update_init_kwargs_for_missing_modules.
      
      * remove _check_and_update_init_kwargs_for_missing_modules.
      
      * use pipeline_loading_kwargs.
      
      * remove _determine_current_device_map.
      
      * remove _filter_null_components.
      
      * device_map fix.
      
      * fix _update_init_kwargs_with_connected_pipeline.
      
      * better handle custom pipeline.
      
      * explain _maybe_raise_warning_for_inpainting.
      
      * add example for model variant.
      
      * fix
      32d6492c
  6. 21 Aug, 2024 4 commits
  7. 20 Aug, 2024 2 commits
  8. 19 Aug, 2024 3 commits
  9. 18 Aug, 2024 1 commit
  10. 17 Aug, 2024 2 commits
  11. 16 Aug, 2024 1 commit
  12. 13 Aug, 2024 3 commits
  13. 07 Aug, 2024 4 commits
    • zR's avatar
      Add CogVideoX text-to-video generation model (#9082) · 2dad462d
      zR authored
      
      
      * add CogVideoX
      
      ---------
      Co-authored-by: default avatarAryan <aryan@huggingface.co>
      Co-authored-by: default avatarsayakpaul <spsayakpaul@gmail.com>
      Co-authored-by: default avatarAryan <contact.aryanvs@gmail.com>
      Co-authored-by: default avataryiyixuxu <yixu310@gmail.com>
      Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>
      2dad462d
    • Dhruv Nair's avatar
      Freenoise change `vae_batch_size` to `decode_chunk_size` (#9110) · e3568d14
      Dhruv Nair authored
      * update
      
      * update
      e3568d14
    • Aryan's avatar
      [core] FreeNoise (#8948) · 16a93f1a
      Aryan authored
      
      
      * initial work draft for freenoise; needs massive cleanup
      
      * fix freeinit bug
      
      * add animatediff controlnet implementation
      
      * revert attention changes
      
      * add freenoise
      
      * remove old helper functions
      
      * add decode batch size param to all pipelines
      
      * make style
      
      * fix copied from comments
      
      * make fix-copies
      
      * make style
      
      * copy animatediff controlnet implementation from #8972
      
      * add experimental support for num_frames not perfectly fitting context length, ocntext stride
      
      * make unet motion model lora work again based on #8995
      
      * copy load video utils from #8972
      
      * copied from AnimateDiff::prepare_latents
      
      * address the case where last batch of frames does not match length of indices in prepare latents
      
      * decode_batch_size->vae_batch_size; batch vae encode support in animatediff vid2vid
      
      * revert sparsectrl and sdxl freenoise changes
      
      * revert pia
      
      * add freenoise tests
      
      * make fix-copies
      
      * improve docstrings
      
      * add freenoise tests to animatediff controlnet
      
      * update tests
      
      * Update src/diffusers/models/unets/unet_motion_model.py
      
      * add freenoise to animatediff pag
      
      * address review comments
      
      * make style
      
      * update tests
      
      * make fix-copies
      
      * fix error message
      
      * remove copied from comment
      
      * fix imports in tests
      
      * update
      
      ---------
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      16a93f1a
    • Álvaro Somoza's avatar
      [Kolors] Add PAG (#8934) · 39e1f7ea
      Álvaro Somoza authored
      
      
      * txt2img pag added
      
      * autopipe added, fixed case
      
      * style
      
      * apply suggestions
      
      * added fast tests, added todo tests
      
      * revert dummy objects for kolors
      
      * fix pag dummies
      
      * fix test imports
      
      * update pag tests
      
      * add kolor pag to docs
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      39e1f7ea
  14. 06 Aug, 2024 1 commit
  15. 05 Aug, 2024 4 commits
    • Tolga Cangöz's avatar
      Update `CLIPFeatureExtractor` to `CLIPImageProcessor` and... · 3dc97bd1
      Tolga Cangöz authored
      
      Update `CLIPFeatureExtractor` to `CLIPImageProcessor` and `DPTFeatureExtractor` to `DPTImageProcessor` (#9002)
      
      * fix: update `CLIPFeatureExtractor` to `CLIPImageProcessor` in codebase
      
      * `make style && make quality`
      
      * Update `DPTFeatureExtractor` to `DPTImageProcessor` in codebase
      
      * `make style`
      
      ---------
      Co-authored-by: default avatarAryan <aryan@huggingface.co>
      3dc97bd1
    • YiYi Xu's avatar
      add sentencepiece as a soft dependency (#9065) · bc3c73ad
      YiYi Xu authored
      
      
      * add sentencepiece as  soft dependency for kolors
      
      * up
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      bc3c73ad
    • Aryan's avatar
      PAG variant for HunyuanDiT, PAG refactor (#8936) · b7058d14
      Aryan authored
      
      
      * copy hunyuandit pipeline
      
      * pag variant of hunyuan dit
      
      * add tests
      
      * update docs
      
      * make style
      
      * make fix-copies
      
      * Update src/diffusers/pipelines/pag/pag_utils.py
      
      * remove incorrect copied from
      
      * remove pag hunyuan attn procs to resolve conflicts
      
      * add pag attn procs again
      
      * new implementation for pag_utils
      
      * revert pag changes
      
      * add pag refactor back; update pixart sigma
      
      * update pixart pag tests
      
      * apply suggestions from review
      
      Co-Authored-By: yixu310@gmail.com
      
      * make style
      
      * update docs, fix tests
      
      * fix tests
      
      * fix test_components_function since list not accepted as valid __init__ param
      
      * apply patch to fix broken tests
      Co-Authored-By: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * make style
      
      * fix hunyuan tests
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      b7058d14
    • Sayak Paul's avatar
      [FLUX] support LoRA (#9057) · fc6a91e3
      Sayak Paul authored
      * feat: lora support for Flux.
      
      add tests
      
      fix imports
      
      major fixes.
      
      * fix
      
      fixes
      
      final fixes?
      
      * fix
      
      * remove is_peft_available.
      fc6a91e3
  16. 04 Aug, 2024 1 commit
  17. 03 Aug, 2024 1 commit
  18. 02 Aug, 2024 2 commits
    • Sayak Paul's avatar
      [Flux] allow tests to run (#9050) · 0e460675
      Sayak Paul authored
      * fix tests
      
      * fix
      
      * float64 skip
      
      * remove sample_size.
      
      * remove
      
      * remove more
      
      * default_sample_size.
      
      * credit black forest for flux model.
      
      * skip
      
      * fix: tests
      
      * remove OriginalModelMixin
      
      * add transformer model test
      
      * add: transformer model tests
      0e460675
    • Sayak Paul's avatar
      [Core] Add PAG support for PixArtSigma (#8921) · 7b98c4cc
      Sayak Paul authored
      * feat: add pixart sigma pag.
      
      * inits.
      
      * fixes
      
      * fix
      
      * remove print.
      
      * copy paste methods to the pixart pag mixin
      
      * fix-copies
      
      * add documentation.
      
      * add tests.
      
      * remove correction file.
      
      * remove pag_applied_layers
      
      * empty
      7b98c4cc
  19. 01 Aug, 2024 1 commit