1. 27 Sep, 2024 2 commits
    • PromeAI's avatar
      [examples] add train flux-controlnet scripts in example. (#9324) · 534848c3
      PromeAI authored
      
      
      * add train flux-controlnet scripts in example.
      
      * fix error
      
      * fix subfolder error
      
      * fix preprocess error
      
      * Update examples/controlnet/README_flux.md
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * Update examples/controlnet/README_flux.md
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * fix readme
      
      * fix note error
      
      * add some Tutorial for deepspeed
      
      * fix some Format Error
      
      * add dataset_path example
      
      * remove print, add guidance_scale CLI, readable apply
      
      * Update examples/controlnet/README_flux.md
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * update,push_to_hub,save_weight_dtype,static method,clear_objs_and_retain_memory,report_to=wandb
      
      * add push to hub in readme
      
      * apply weighting schemes
      
      * add note
      
      * Update examples/controlnet/README_flux.md
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * make code style and quality
      
      * fix some unnoticed error
      
      * make code style and quality
      
      * add example controlnet in readme
      
      * add test controlnet
      
      * rm Remove duplicate notes
      
      * Fix formatting errors
      
      * add new control image
      
      * add model cpu offload
      
      * update help for adafactor
      
      * make quality & style
      
      * make quality and style
      
      * rename flux_controlnet_model_name_or_path
      
      * fix back src/diffusers/pipelines/flux/pipeline_flux_controlnet.py
      
      * fix dtype error by pre calculate text emb
      
      * rm image save
      
      * quality fix
      
      * fix test
      
      * fix tiny flux train error
      
      * change report to to tensorboard
      
      * fix save name error when test
      
      * Fix shrinking errors
      
      ---------
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      Co-authored-by: default avatarYour Name <you@example.com>
      534848c3
    • Sayak Paul's avatar
      [LoRA] make set_adapters() method more robust. (#9535) · 2daedc0a
      Sayak Paul authored
      
      
      * make set_adapters() method more robust.
      
      * remove patch
      
      * better and concise code.
      
      * Update src/diffusers/loaders/lora_base.py
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      
      ---------
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      2daedc0a
  2. 26 Sep, 2024 3 commits
  3. 25 Sep, 2024 7 commits
  4. 24 Sep, 2024 2 commits
  5. 23 Sep, 2024 8 commits
  6. 21 Sep, 2024 2 commits
    • Sayak Paul's avatar
      [CI] fix nightly model tests (#9483) · aa73072f
      Sayak Paul authored
      * check if default attn procs fix it.
      
      * print
      
      * print
      
      * replace
      
      * style./
      
      * replace revision with variant.
      
      * replace with stable-diffusion-v1-5/stable-diffusion-inpainting.
      
      * replace with stable-diffusion-v1-5/stable-diffusion-v1-5.
      
      * fix
      aa73072f
    • Aryan's avatar
      [refactor] LoRA tests (#9481) · e5d0a328
      Aryan authored
      * refactor scheduler class usage
      
      * reorder to make tests more readable
      
      * remove pipeline specific checks and skip tests directly
      
      * rewrite denoiser conditions cleaner
      
      * bump tolerance for cog test
      e5d0a328
  7. 20 Sep, 2024 1 commit
  8. 19 Sep, 2024 2 commits
    • Aryan's avatar
      [training] CogVideoX Lora (#9302) · 2b443a5d
      Aryan authored
      
      
      * cogvideox lora training draft
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * make fix-copies
      
      * update
      
      * update
      
      * apply suggestions from review
      
      * apply suggestions from reveiw
      
      * fix typo
      
      * Update examples/cogvideo/train_cogvideox_lora.py
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      
      * fix lora alpha
      
      * use correct lora scaling for final test pipeline
      
      * Update examples/cogvideo/train_cogvideox_lora.py
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      
      * apply suggestions from review; prodigy optimizer
      
      YiYi Xu <yixu310@gmail.com>
      
      * add tests
      
      * make style
      
      * add README
      
      * update
      
      * update
      
      * make style
      
      * fix
      
      * update
      
      * add test skeleton
      
      * revert lora utils changes
      
      * add cleaner modifications to lora testing utils
      
      * update lora tests
      
      * deepspeed stuff
      
      * add requirements.txt
      
      * deepspeed refactor
      
      * add lora stuff to img2vid pipeline to fix tests
      
      * fight tests
      
      * add co-authors
      Co-Authored-By: default avatarFu-Yun Wang <1697256461@qq.com>
      Co-Authored-By: default avatarzR <2448370773@qq.com>
      
      * fight lora runner tests
      
      * import Dummy optim and scheduler only wheh required
      
      * update docs
      
      * add coauthors
      Co-Authored-By: default avatarFu-Yun Wang <1697256461@qq.com>
      
      * remove option to train text encoder
      Co-Authored-By: default avatarbghira <bghira@users.github.com>
      
      * update tests
      
      * fight more tests
      
      * update
      
      * fix vid2vid
      
      * fix typo
      
      * remove lora tests; todo in follow-up PR
      
      * undo img2vid changes
      
      * remove text encoder related changes in lora loader mixin
      
      * Revert "remove text encoder related changes in lora loader mixin"
      
      This reverts commit f8a8444487db27859be812866db4e8cec7f25691.
      
      * update
      
      * round 1 of fighting tests
      
      * round 2 of fighting tests
      
      * fix copied from comment
      
      * fix typo in lora test
      
      * update styling
      Co-Authored-By: default avatarYiYi Xu <yixu310@gmail.com>
      
      ---------
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      Co-authored-by: default avatarzR <2448370773@qq.com>
      Co-authored-by: default avatarFu-Yun Wang <1697256461@qq.com>
      Co-authored-by: default avatarbghira <bghira@users.github.com>
      2b443a5d
    • Sayak Paul's avatar
      [Flux] add lora integration tests. (#9353) · d13b0d63
      Sayak Paul authored
      * add lora integration tests.
      
      * internal note
      
      * add a skip marker.
      d13b0d63
  9. 18 Sep, 2024 1 commit
  10. 17 Sep, 2024 3 commits
  11. 16 Sep, 2024 6 commits
  12. 15 Sep, 2024 1 commit
  13. 14 Sep, 2024 1 commit
  14. 13 Sep, 2024 1 commit