1. 01 Sep, 2023 5 commits
    • Steven Liu's avatar
      [docs] DiffEdit guide (#4722) · 22ea35cf
      Steven Liu authored
      * first draft
      
      * minor edits
      22ea35cf
    • Seongsu Park's avatar
      [Docs] Korean translation update (#4684) · 0c775544
      Seongsu Park authored
      
      
      * Docs kr update 3
      
      controlnet, reproducibility 업로드
      
      generator 그대로 사용
      seamless multi-GPU 그대로 사용
      
      create_dataset 번역 1차
      
      stable_diffusion_jax
      
      new translation
      
      Add coreml, tome
      
      kr docs minor fix
      
      translate training/instructpix2pix
      
      fix training/instructpix2pix.mdx
      
      using-diffusers/weighting_prompts 번역 1차
      
      add SDXL docs
      
      Translate using-diffuers/loading_overview.md
      
      translate using-diffusers/textual_inversion_inference.md
      
      Conditional image generation (#37)
      
      * stable_diffusion_jax
      
      * index_update
      
      * index_update
      
      * condition_image_generation
      
      ---------
      Co-authored-by: default avatarSeongsu Park <tjdtnsu@gmail.com>
      
      jihwan/stable_diffusion.mdx
      
      custom_diffusion 작업 완료
      
      quicktour 작업 완료
      
      distributed inference & control brightness (#40)
      
      * distributed_inference.mdx
      
      * control_brightness
      
      ---------
      Co-authored-by: default avataridra79haza <idra79haza@github.com>
      Co-authored-by: default avatarSeongsu Park <tjdtnsu@gmail.com>
      
      using_safetensors (#41)
      
      * distributed_inference.mdx
      
      * control_brightness
      
      * using_safetensors.mdx
      
      ---------
      Co-authored-by: default avataridra79haza <idra79haza@github.com>
      Co-authored-by: default avatarSeongsu Park <tjdtnsu@gmail.com>
      
      delete safetensor short
      
      * Repace mdx to md
      
      * toctree update
      
      * Add controlling_generation
      
      * toctree fix
      
      * colab link, minor fix
      
      * docs name typo fix
      
      * frontmatter fix
      
      * translation fix
      0c775544
    • Pedro Cuenca's avatar
      Fix link from API to using-diffusers (#4856) · 60d259ad
      Pedro Cuenca authored
      * Fix link from API to using-diffusers
      
      * Fix link
      60d259ad
    • Nguyễn Công Tú Anh's avatar
      Add GLIGEN Text Image implementation (#4777) · 38466c36
      Nguyễn Công Tú Anh authored
      * Add GLIGEN Text Image implementation
      
      * add style transfer from image
      
      * fix check_repository_consistency
      
      * add convert script GLIGEN model to Diffusers
      
      * rename attention type
      
      * fix style code
      
      * remove PositionNetTextImage
      
      * Revert "fix check_repository_consistency"
      
      This reverts commit 15f098c96e00bb9e67b831161615b30a2d28d815.
      
      * change attention type name
      
      * update docs for GLIGEN
      
      * change examples with hf-document-image
      
      * fix style
      
      * add CLIPImageProjection for GLIGEN
      
      * Add new encode_prompt, load project matrix in pipe init
      
      * move CLIPImageProjection to stable_diffusion
      
      * add comment
      38466c36
    • dg845's avatar
      [docs] Add inpainting example for forcing the unmasked area to remain unchanged to the docs (#4536) · 5f740d0f
      dg845 authored
      
      
      * Initial code to add force_unmasked_unchanged argument to StableDiffusionInpaintPipeline.__call__.
      
      * Try to improve StableDiffusionInpaintPipelineFastTests.get_dummy_inputs.
      
      * Use original mask to preserve unmasked pixels in pixel space rather than latent space.
      
      * make style
      
      * start working on note in docs to force unmasked area to be unchanged
      
      * Add example of forcing the unmasked area to remain unchanged.
      
      * Revert "make style"
      
      This reverts commit fa7759293af916c665f683387a52fd789ed10531.
      
      * Revert "Use original mask to preserve unmasked pixels in pixel space rather than latent space."
      
      This reverts commit 092bd0e9e9628f02ff917aafb2a5c9252776b6e9.
      
      * Revert "Try to improve StableDiffusionInpaintPipelineFastTests.get_dummy_inputs."
      
      This reverts commit ff41cf43c5a820057289e0852fb41b3e2074d86d.
      
      * Revert "Initial code to add force_unmasked_unchanged argument to StableDiffusionInpaintPipeline.__call__."
      
      This reverts commit 989979752a1c9e6e16e92d8f1b3d14b70829fbb5.
      
      ---------
      Co-authored-by: default avatarWill Berman <wlbberman@gmail.com>
      5f740d0f
  2. 31 Aug, 2023 1 commit
    • Steven Liu's avatar
      [docs] ControlNet guide (#4640) · aedd7876
      Steven Liu authored
      * first draft
      
      * finish first draft
      
      * feedback and remove sections from API pages
      
      * clean docstrings
      
      * add full code example
      aedd7876
  3. 30 Aug, 2023 2 commits
  4. 29 Aug, 2023 1 commit
    • Chong Mou's avatar
      add models for T2I-Adapter-XL (#4696) · 12358b98
      Chong Mou authored
      
      
      * T2I-Adapter-XL
      
      * update
      
      * update
      
      * add pipeline
      
      * modify pipeline
      
      * modify pipeline
      
      * modify pipeline
      
      * modify pipeline
      
      * modify pipeline
      
      * modify modeling_text_unet
      
      * fix styling.
      
      * fix: copies.
      
      * adapter settings
      
      * new test case
      
      * new test case
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * revert prints.
      
      * new test case
      
      * remove print
      
      * org test case
      
      * add test_pipeline
      
      * styling.
      
      * fix copies.
      
      * modify test parameter
      
      * style.
      
      * add adapter-xl doc
      
      * double quotes in docs
      
      * Fix potential type mismatch
      
      * style.
      
      ---------
      Co-authored-by: default avatarsayakpaul <spsayakpaul@gmail.com>
      12358b98
  5. 28 Aug, 2023 1 commit
    • Shauray Singh's avatar
      [WIP] Add Fabric (#4201) · fd35689f
      Shauray Singh authored
      
      
      * empty PR
      
      * init
      
      * changes
      
      * starting with the pipeline
      
      * stable diff
      
      * prev
      
      * more things, getting started
      
      * more functions
      
      * makeing it more readable
      
      * almost done testing
      
      * var changes
      
      * testing
      
      * device
      
      * device support
      
      * maybe
      
      * device malfunctions
      
      * new new
      
      * register
      
      * testing
      
      * exec does not work
      
      * float
      
      * change info
      
      * change of architecture
      
      * might work
      
      * testing with colab
      
      * more attn atuff
      
      * stupid additions
      
      * documenting and testing
      
      * writing tests
      
      * more docs
      
      * tests and docs
      
      * remove test
      
      * empty PR
      
      * init
      
      * changes
      
      * starting with the pipeline
      
      * stable diff
      
      * prev
      
      * more things, getting started
      
      * more functions
      
      * makeing it more readable
      
      * almost done testing
      
      * var changes
      
      * testing
      
      * device
      
      * device support
      
      * maybe
      
      * device malfunctions
      
      * new new
      
      * register
      
      * testing
      
      * exec does not work
      
      * float
      
      * change info
      
      * change of architecture
      
      * might work
      
      * testing with colab
      
      * more attn atuff
      
      * stupid additions
      
      * documenting and testing
      
      * writing tests
      
      * more docs
      
      * tests and docs
      
      * remove test
      
      * change cross attention
      
      * revert back
      
      * tests
      
      * reverting back to orig
      
      * changes
      
      * test passing
      
      * pipeline changes
      
      * before quality
      
      * quality checks pass
      
      * remove print statements
      
      * doc fixes
      
      * __init__ error something
      
      * update docs, working on dim
      
      * working on encoding
      
      * doc fix
      
      * more fixes
      
      * no more dependent on 512*512
      
      * update docs
      
      * fixes
      
      * test passing
      
      * remove comment
      
      * fixes and migration
      
      * simpler tests
      
      * doc changes
      
      * green CI
      
      * changes
      
      * more docs
      
      * changes
      
      * new images
      
      * to community examples
      
      * selete
      
      * more fixes
      
      * changes
      
      * fix
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      fd35689f
  6. 26 Aug, 2023 2 commits
  7. 25 Aug, 2023 2 commits
  8. 24 Aug, 2023 1 commit
  9. 23 Aug, 2023 2 commits
  10. 22 Aug, 2023 3 commits
  11. 21 Aug, 2023 1 commit
    • Sanchit Gandhi's avatar
      Add AudioLDM 2 (#4549) · 7a24977c
      Sanchit Gandhi authored
      
      
      * from audioldm
      
      * unet down + mid
      
      * vae, clap, flan-t5
      
      * start sequence audio mae
      
      * iterate on audioldm encoder
      
      * finish encoder
      
      * finish weight conversion
      
      * text pre-processing
      
      * gpt2 pre-processing
      
      * fix projection model
      
      * working
      
      * unet equivalence
      
      * finish in base
      
      * add unet cond
      
      * finish unet
      
      * finish custom unet
      
      * start clean-up
      
      * revert base unet changes
      
      * refactor pre-processing
      
      * tests: from audioldm
      
      * fix some tests
      
      * more fixes
      
      * iterate on tests
      
      * make fix copies
      
      * harden fast tests
      
      * slow integration tests
      
      * finish tests
      
      * update checkpoint
      
      * update copyright
      
      * docs
      
      * remove outdated method
      
      * add docstring
      
      * make style
      
      * remove decode latents
      
      * enable cpu offload
      
      * (text_encoder_1, tokenizer_1) -> (text_encoder, tokenizer)
      
      * more clean up
      
      * more refactor
      
      * build pr docs
      
      * Update docs/source/en/api/pipelines/audioldm2.md
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      
      * small clean
      
      * tidy conversion
      
      * update for large checkpoint
      
      * generate -> generate_language_model
      
      * full clap model
      
      * shrink clap-audio in tests
      
      * fix large integration test
      
      * fix fast tests
      
      * use generation config
      
      * make style
      
      * update docs
      
      * finish docs
      
      * finish doc
      
      * update tests
      
      * fix last test
      
      * syntax
      
      * finalise tests
      
      * refactor projection model in prep for TTS
      
      * fix fast tests
      
      * style
      
      ---------
      Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
      7a24977c
  12. 17 Aug, 2023 2 commits
  13. 16 Aug, 2023 4 commits
    • Steven Liu's avatar
      [docs] PushToHubMixin (#4622) · 4ff7264d
      Steven Liu authored
      * push to hub docs
      
      * fix typo
      
      * feedback
      
      * make style
      4ff7264d
    • Sayak Paul's avatar
      Update text2image.md to fix the links (#4626) · 351aab60
      Sayak Paul authored
      351aab60
    • nikhil-masterful's avatar
      Add GLIGEN implementation (#4441) · da5ab51d
      nikhil-masterful authored
      * Add GLIGEN implementation
      
      * GLIGEN: Fix code quality check failures
      
      * GLIGEN: Fix Import block un-sorted or un-formatted failures
      
      * GLIGEN: Fix check_repository_consistency failures
      
      * GLIGEN: Add 'PositionNet' to versatile_diffusion/modeling_text_unet.py
      
      * GLIGEN: check_repository_consistency: fix 'copy does not match' error
      
      * GLIGEN: Fix review comments (1)
      
      * GLIGEN: Fix E721 Do not compare types, use `isinstance()` failures
      
      * GLIGEN : Ensure _encode_prompt() copy matches to StableDiffusionPipeline
      
      * GLIGEN: Fix ruff E721 failure in unidiffuser/test_unidiffuser.py
      
      * GLIGEN: doc_builder: restyle pipeline_stable_diffusion_gligen.py
      
      * GIGLEN: reset files unrelated to gligen
      
      * GLIGEN: Fix documentation comments (1)
      
      * GLIGEN: Fix review comments (2)
      
      * GLIGEN: Added FastTest
      
      * GLIGEN: Fix review comments (3)
      da5ab51d
    • Sayak Paul's avatar
      add: train to text image with sdxl script. (#4505) · 5175d3d7
      Sayak Paul authored
      
      
      * add: train to text image with sdxl script.
      Co-authored-by: default avatarCaptnSeraph <s3raph1m@gmail.com>
      
      * fix: partial func.
      
      * fix: default value of output_dir.
      
      * make style
      
      * set num inference steps to 25.
      
      * remove mentions of LoRA.
      
      * up min version
      
      * add: ema cli arg
      
      * run device placement while running step.
      
      * precompute vae encodings too.
      
      * fix
      
      * debug
      
      * should work now.
      
      * debug
      
      * debug
      
      * goes alright?
      
      * style
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * fix
      
      * reinit scheduler if prediction_type was passed.
      
      * akways cast vae in float32
      
      * better handling of snr.
      Co-authored-by: default avatarbghira <bghira@users.github.com>
      
      * the vae should be also passed
      
      * add: docs.
      
      * add: sdlx t2i tests
      
      * save the pipeline
      
      * autocast.
      
      * fix: save_model_card
      
      * fix: save_model_card.
      
      ---------
      Co-authored-by: default avatarCaptnSeraph <s3raph1m@gmail.com>
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      Co-authored-by: default avatarbghira <bghira@users.github.com>
      5175d3d7
  14. 15 Aug, 2023 3 commits
  15. 14 Aug, 2023 1 commit
  16. 12 Aug, 2023 1 commit
  17. 10 Aug, 2023 6 commits
  18. 09 Aug, 2023 2 commits