1. 28 Jul, 2023 2 commits
  2. 26 Jul, 2023 2 commits
  3. 25 Jul, 2023 4 commits
    • Patrick von Platen's avatar
      Fix all missing optional import statements from pipeline folders (#4272) · b37dc3b3
      Patrick von Platen authored
      * fix circular import
      
      * fix imports when watermark not specified
      
      * fix all pipelines
      b37dc3b3
    • Harutatsu Akiyama's avatar
      [SDXL and IP2P]: instruction pix2pix XL training and pipeline (#4079) · 428dbfec
      Harutatsu Akiyama authored
      
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * [Community] Implementation of the IADB community pipeline (#3996)
      
      * community pipeline: implementation of iadb
      
      * iadb.py: reformat using black
      
      * iadb.py: linting update
      
      * add kandinsky to readme table (#4081)
      Co-authored-by: default avataryiyixuxu <yixu310@gmail,com>
      
      * [From Single File] Force accelerate to be installed (#4078)
      
      force accelerate to be installed
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Support instruction pix2pix sdxl
      
      * Clean up IP2P SDXL code
      
      * Clean up IP2P SDXL code
      
      * [IP2P and SDXL] clean up code
      
      * [IP2P and SDXL] clean up code
      
      * [IP2P and SDXL] clean up code
      
      * [IP2P SDXL] Address code reviews
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews, add docs, tests
      
      * [IP2P SDXL] Address code reviews
      
      * [IP2P SDXL] Address code reviews
      
      * [IP2P SDXL] Add README_SDXL
      
      * [IP2P SDXL] Address code reviews
      
      * [IP2P SDXL] Address code reviews
      
      * [IP2P SDXL] Fix the copy problems
      
      * [IP2P SDXL] Add license
      
      * [IP2P SDXL] Add license
      
      * [IP2P SDXL] Add license
      
      * [IP2P SDXL] Address code reivew for selecting VAE andd others
      
      * [IP2P SDXL] Update README_sdxl
      
      * [IP2P SDXL] Update __init__
      
      * [IP2P SDXL] Update dummy_torch_and_transformers_and_invisible_watermark_objects
      
      * address patrick's comments and some additions to readmes.
      
      ---------
      Co-authored-by: default avatarHarutatsu Akiyama <kf.zy.qin@gmail.com>
      Co-authored-by: default avatarThomas Chambon <36728882+tchambon@users.noreply.github.com>
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      Co-authored-by: default avataryiyixuxu <yixu310@gmail,com>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      428dbfec
    • Patrick von Platen's avatar
      [SDXL] Improve docs (#4196) · d74561da
      Patrick von Platen authored
      
      
      * Improve docs
      
      * Correct docs
      
      * Add better example inpaint
      
      * make style
      
      * Apply suggestions from code review
      Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>
      
      * fix
      
      ---------
      Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>
      d74561da
    • Sayak Paul's avatar
      [SDXL DreamBooth LoRA] add support for text encoder fine-tuning (#4097) · 365e8461
      Sayak Paul authored
      
      
      * Allow low precision sd xl
      
      * finish
      
      * finish
      
      * feat: initial draft for supporting text encoder lora finetuning for SDXL DreamBooth
      
      * fix: variable assignments.
      
      * add: autocast block.
      
      * add debugging
      
      * vae dtype hell
      
      * fix: vae dtype hell.
      
      * fix: vae dtype hell 3.
      
      * clean up
      
      * lora text encoder loader.
      
      * fix: unwrapping models.
      
      * add: tests.
      
      * docs.
      
      * handle unexpected keys.
      
      * fix vae dtype in the final inference.
      
      * fix scope problem.
      
      * fix: save_model_card args.
      
      * initialize: prefix to None.
      
      * fix: dtype issues.
      
      * apply gixes.
      
      * debgging.
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * add: fast tests.
      
      * pre-tokenize.
      
      * address: will's comments.
      
      * fix: loader and tests.
      
      * fix: dataloader.
      
      * simplify dataloader.
      
      * length.
      
      * simplification.
      
      * make style && make quality
      
      * simplify state_dict munging
      
      * fix: tests.
      
      * fix: state_dict packing.
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      365e8461
  4. 24 Jul, 2023 4 commits
    • 39th president of the United States, probably's avatar
      Allow specifying denoising_start and denoising_end as integers representing... · e98fabc5
      Allow specifying denoising_start and denoising_end as integers representing the discrete timesteps, fixing the XL ensemble not working for many schedulers (#4115)
      
      * Fix the XL ensemble not working for any kerras scheduler sigmas and having an off by one bug
      
      * Update src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl.py
      
      * make sytle
      
      ---------
      
      Co-authored-by: Jimmy <39@🇺🇸
      
      .com>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      e98fabc5
    • Patrick von Platen's avatar
      [SDXL] Fix sd xl encode prompt (#4237) · b288684d
      Patrick von Platen authored
      * [SDXL] Fix sd xl encode prompt
      
      * add tests
      b288684d
    • Hu Ye's avatar
      fix a bug of `prompt embeds` in sdxl (#4099) · 8e5921ca
      Hu Ye authored
      
      
      * fix bug in sdxl
      
      * Update pipeline_stable_diffusion_xl_img2img.py
      
      * Update pipeline_stable_diffusion_xl.py
      
      * Update pipeline_stable_diffusion_xl_img2img.py
      
      * Update pipeline_stable_diffusion_xl_inpaint.py
      
      * Update pipeline_stable_diffusion_xl.py
      
      * Update pipeline_stable_diffusion_xl_img2img.py
      
      * Update pipeline_stable_diffusion_xl_inpaint.py
      
      * Update pipeline_stable_diffusion_xl_img2img.py
      
      * Update pipeline_controlnet_sd_xl.py
      
      * Update pipeline_controlnet_sd_xl.py
      
      * Update pipeline_stable_diffusion_xl.py
      
      * Update pipeline_stable_diffusion_xl_img2img.py
      
      * Update pipeline_stable_diffusion_xl_inpaint.py
      
      * Update test_stable_diffusion_xl.py
      
      * Update test_stable_diffusion_xl.py
      
      * Update test_stable_diffusion_xl.py
      
      add test on prompt_embeds
      
      * add test on prompt_embeds
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      8e5921ca
    • YiYi Xu's avatar
      fix no CFG for kandinsky pipelines (#4193) · 8e8954bd
      YiYi Xu authored
      
      
      * fix bug when no cfg
      
      * style
      
      * fix no cfg for shap-e and cycle
      
      * style
      
      * fix no cfg for sdxl
      
      * fix copies
      
      ---------
      Co-authored-by: default avataryiyixuxu <yixu310@gmail,com>
      8e8954bd
  5. 21 Jul, 2023 2 commits
  6. 18 Jul, 2023 1 commit
  7. 15 Jul, 2023 1 commit
  8. 14 Jul, 2023 2 commits
  9. 12 Jul, 2023 1 commit
  10. 11 Jul, 2023 1 commit
    • Sayak Paul's avatar
      [Examples] Add a training script for SDXL DreamBooth LoRA (#4016) · 3d74dc2a
      Sayak Paul authored
      
      
      * add dreambooth lora script for SDXL incorporating latest changes.
      
      * remove use_auth_token=True.
      
      * add: documentation
      
      * remove unneeded cli.
      
      * increase the number of training steps in the readme.
      
      * add LoraLoaderMixin to the subclassing mix.
      
      * add sdxl lora dreambooth test.
      
      * add: inference code sample.
      
      * add: refiner output.
      
      * add LoraLoaderMixin to the mix of classes of StableDiffusionXLImg2ImgPipeline.
      
      * change default resolution of DreamBoothDataset.
      
      * better sdxl report path.
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      
      ---------
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      3d74dc2a
  11. 10 Jul, 2023 2 commits
  12. 09 Jul, 2023 1 commit
  13. 07 Jul, 2023 2 commits
  14. 06 Jul, 2023 2 commits
    • Patrick von Platen's avatar
      Improve SD XL (#3968) · 187ea539
      Patrick von Platen authored
      * improve sd xl
      
      * correct more
      
      * finish
      
      * make style
      
      * fix more
      187ea539
    • Patrick von Platen's avatar
      [SD-XL] Add new pipelines (#3859) · bc9a8cef
      Patrick von Platen authored
      
      
      * Add new text encoder
      
      * add transformers depth
      
      * More
      
      * Correct conversion script
      
      * Fix more
      
      * Fix more
      
      * Correct more
      
      * correct text encoder
      
      * Finish all
      
      * proof that in works in run local xl
      
      * clean up
      
      * Get refiner to work
      
      * Add red castle
      
      * Fix batch size
      
      * Improve pipelines more
      
      * Finish text2image tests
      
      * Add img2img test
      
      * Fix more
      
      * fix import
      
      * Fix embeddings for classic models (#3888)
      
      Fix embeddings for classic SD models.
      
      * Allow multiple prompts to be passed to the refiner (#3895)
      
      * finish more
      
      * Apply suggestions from code review
      
      * add watermarker
      
      * Model offload (#3889)
      
      * Model offload.
      
      * Model offload for refiner / img2img
      
      * Hardcode encoder offload on img2img vae encode
      
      Saves some GPU RAM in img2img / refiner tasks so it remains below 8 GB.
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * correct
      
      * fix
      
      * clean print
      
      * Update install warning for `invisible-watermark`
      
      * add: missing docstrings.
      
      * fix and simplify the usage example in img2img.
      
      * fix setup for watermarking.
      
      * Revert "fix setup for watermarking."
      
      This reverts commit 491bc9f5a640bbf46a97a8e52d6eff7e70eb8e4b.
      
      * fix: watermarking setup.
      
      * fix: op.
      
      * run make fix-copies.
      
      * make sure tests pass
      
      * improve convert
      
      * make tests pass
      
      * make tests pass
      
      * better error message
      
      * fiinsh
      
      * finish
      
      * Fix final test
      
      ---------
      Co-authored-by: default avatarPedro Cuenca <pedro@huggingface.co>
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      bc9a8cef