1. 05 Sep, 2023 5 commits
  2. 04 Sep, 2023 6 commits
    • dg845's avatar
      Add dropout parameter to UNet2DModel/UNet2DConditionModel (#4882) · 55e17907
      dg845 authored
      * Add dropout param to get_down_block/get_up_block and UNet2DModel/UNet2DConditionModel.
      
      * Add dropout param to Versatile Diffusion modeling, which has a copy of UNet2DConditionModel and its own get_down_block/get_up_block functions.
      55e17907
    • Sayak Paul's avatar
      [Core] LoRA improvements pt. 3 (#4842) · c81a88b2
      Sayak Paul authored
      
      
      * throw warning when more than one lora is attempted to be fused.
      
      * introduce support of lora scale during fusion.
      
      * change test name
      
      * changes
      
      * change to _lora_scale
      
      * lora_scale to call whenever applicable.
      
      * debugging
      
      * lora_scale additional.
      
      * cross_attention_kwargs
      
      * lora_scale -> scale.
      
      * lora_scale fix
      
      * lora_scale in patched projection.
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * styling.
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * remove unneeded prints.
      
      * remove unneeded prints.
      
      * assign cross_attention_kwargs.
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * debugging
      
      * clean up.
      
      * refactor scale retrieval logic a bit.
      
      * fix nonetypw
      
      * fix: tests
      
      * add more tests
      
      * more fixes.
      
      * figure out a way to pass lora_scale.
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * unify the retrieval logic of lora_scale.
      
      * move adjust_lora_scale_text_encoder to lora.py.
      
      * introduce dynamic adjustment lora scale support to sd
      
      * fix up copies
      
      * Empty-Commit
      
      * add: test to check fusion equivalence on different scales.
      
      * handle lora fusion warning.
      
      * make lora smaller
      
      * make lora smaller
      
      * make lora smaller
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      c81a88b2
    • YiYi Xu's avatar
      allow passing components to connected pipelines when use the combined pipeline (#4883) · 2c1677ee
      YiYi Xu authored
      
      
      * fix
      
      * add test
      
      ---------
      Co-authored-by: default avataryiyixuxu <yixu310@gmail,com>
      2c1677ee
    • dg845's avatar
      Fix get_dummy_inputs for Stable Diffusion Inpaint Tests (#4845) · c73e609a
      dg845 authored
      
      
      * Change StableDiffusionInpaintPipelineFastTests.get_dummy_inputs to produce a random image and a white mask_image.
      
      * Add dummy expected slices for the test_stable_diffusion_inpaint tests.
      
      * Remove print statement
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      c73e609a
    • Erwann Millon's avatar
      check for unet_lora_layers in sdxl pipeline's save_lora_weights method (#4821) · 2fa4b3ff
      Erwann Millon authored
      run make fix-copies and make style
      2fa4b3ff
    • Isamu Isozaki's avatar
      Retrieval Augmented Diffusion Models (#3297) · 3201903d
      Isamu Isozaki authored
      
      
      * Resetting rdm pr
      
      * Fixed styles
      
      * Fixed style
      
      * Moved to rdm folder+fixed slight errors
      
      * Removed config diff
      
      * Started adding tests
      
      * Adding retrieved images
      
      * Fixed faiss import
      
      * Fixed import errors
      
      * Fixing tests
      
      * Added require_faiss
      
      * Updated dependency table
      
      * Attempt solving consistency test
      
      * Fixed truncation and vocab size issue
      
      * Passed common tests
      
      * Finished up cpu testing on pipeline
      
      * Passed all tests locally
      
      * Removed some slow tests
      
      * Removed diffs from test_pipeline_common
      
      * Remove logs
      
      * Removed diffs from test_pipelines_common
      
      * Fixed style
      
      * Fully fixed styles on diffs
      
      * Fixed name
      
      * Proper rename
      
      * Fixed dummies
      
      * Fixed issue with dummyonnx
      
      * Fixed black style
      
      * Fixed dummies
      
      * Changed ordering
      
      * Fixed logging
      
      * Fixing
      
      * Fixing
      
      * quality
      
      * Debugging regex
      
      * Fix dummies with guess
      
      * Fixed typo
      
      * Attempt fix dummies
      
      * black
      
      * ruff
      
      * fixed ordering
      
      * Logging
      
      * Attempt fix
      
      * Attempt fix dummy
      
      * Attempt fixing styles
      
      * Fixed faiss dependency
      
      * Removed unnecessary deprecations
      
      * Finished up main changes
      
      * Added doc
      
      * Passed tests
      
      * Fixed tests
      
      * Remove invisible watermark
      
      * Fixed ruff errors
      
      * Added prompt embed to tests
      
      * Added tests and made retriever an optional component
      
      * Fixed styles
      
      * Made faiss a dependency of pipeline
      
      * Logging
      
      * Fixed dummies
      
      * Make pipeline test work
      
      * Fixed style
      
      * Moved to research projects
      
      * Remove diff
      
      * Fixed style error
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      3201903d
  3. 02 Sep, 2023 3 commits
  4. 01 Sep, 2023 10 commits
  5. 31 Aug, 2023 5 commits
  6. 30 Aug, 2023 7 commits
  7. 29 Aug, 2023 4 commits