1. 18 Sep, 2023 2 commits
    • Ruoxi's avatar
      Implement `CustomDiffusionAttnProcessor2_0`. (#4604) · 16b9a57d
      Ruoxi authored
      * Implement `CustomDiffusionAttnProcessor2_0`
      
      * Doc-strings and type annotations for `CustomDiffusionAttnProcessor2_0`. (#1)
      
      * Update attnprocessor.md
      
      * Update attention_processor.py
      
      * Interops for `CustomDiffusionAttnProcessor2_0`.
      
      * Formatted `attention_processor.py`.
      
      * Formatted doc-string in `attention_processor.py`
      
      * Conditional CustomDiffusion2_0 for training example.
      
      * Remove unnecessary reference impl in comments.
      
      * Fix `save_attn_procs`.
      16b9a57d
    • Lee Dong Joo's avatar
      fix guidance_rescale docstring (#5063) · b089102a
      Lee Dong Joo authored
      b089102a
  2. 16 Sep, 2023 1 commit
  3. 15 Sep, 2023 3 commits
  4. 14 Sep, 2023 3 commits
  5. 12 Sep, 2023 2 commits
  6. 11 Sep, 2023 1 commit
    • Dhruv Nair's avatar
      Lazy Import for Diffusers (#4829) · b6e0b016
      Dhruv Nair authored
      
      
      * initial commit
      
      * move modules to import struct
      
      * add dummy objects and _LazyModule
      
      * add lazy import to schedulers
      
      * clean up unused imports
      
      * lazy import on models module
      
      * lazy import for schedulers module
      
      * add lazy import to pipelines module
      
      * lazy import altdiffusion
      
      * lazy import audio diffusion
      
      * lazy import audioldm
      
      * lazy import consistency model
      
      * lazy import controlnet
      
      * lazy import dance diffusion ddim ddpm
      
      * lazy import deepfloyd
      
      * lazy import kandinksy
      
      * lazy imports
      
      * lazy import semantic diffusion
      
      * lazy imports
      
      * lazy import stable diffusion
      
      * move sd output to its own module
      
      * clean up
      
      * lazy import t2iadapter
      
      * lazy import unclip
      
      * lazy import versatile and vq diffsuion
      
      * lazy import vq diffusion
      
      * helper to fetch objects from modules
      
      * lazy import sdxl
      
      * lazy import txt2vid
      
      * lazy import stochastic karras
      
      * fix model imports
      
      * fix bug
      
      * lazy import
      
      * clean up
      
      * clean up
      
      * fixes for tests
      
      * fixes for tests
      
      * clean up
      
      * remove import of torch_utils from utils module
      
      * clean up
      
      * clean up
      
      * fix mistake import statement
      
      * dedicated modules for exporting and loading
      
      * remove testing utils from utils module
      
      * fixes from  merge conflicts
      
      * Update src/diffusers/pipelines/kandinsky2_2/__init__.py
      
      * fix docs
      
      * fix alt diffusion copied from
      
      * fix check dummies
      
      * fix more docs
      
      * remove accelerate import from utils module
      
      * add type checking
      
      * make style
      
      * fix check dummies
      
      * remove torch import from xformers check
      
      * clean up error message
      
      * fixes after upstream merges
      
      * dummy objects fix
      
      * fix tests
      
      * remove unused module import
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      b6e0b016
  7. 08 Sep, 2023 3 commits
  8. 05 Sep, 2023 1 commit
  9. 04 Sep, 2023 1 commit
    • 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
  10. 31 Aug, 2023 1 commit
  11. 30 Aug, 2023 2 commits
  12. 28 Aug, 2023 4 commits
    • Mario Namtao Shianti Larcher's avatar
      [Examples] Save SDXL LoRA weights with chosen precision (#4791) · 87ae3300
      Mario Namtao Shianti Larcher authored
      * Increase min accelerate ver to avoid OOM when mixed precision
      
      * Rm re-instantiation of VAE
      
      * Rm casting to float32
      
      * Del unused models and free GPU
      
      * Fix style
      87ae3300
    • Patrick von Platen's avatar
      make style · 1b46c661
      Patrick von Platen authored
      1b46c661
    • Yead's avatar
      Fix save_path bug in textual inversion training script (#4710) · 03135898
      Yead authored
      
      
      * Update textual_inversion.py
      
      fixed safe_path bug in textual inversion training
      
      * Update test_examples.py
      
      update test_textual_inversion for updating saved file's name
      
      * Update textual_inversion.py
      
      fixed some formatting issues
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      03135898
    • 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
  13. 26 Aug, 2023 1 commit
    • Canberk Kandemir's avatar
      Unet fix (#4769) · 0d81e543
      Canberk Kandemir authored
      * Optional images variable train_custom_diffusion.py
      
      * Fixed train_custom_diffusion.py
      
      * Revert accidental changes to unet_2d_condition.py
      
      * "Format code with black"
      0d81e543
  14. 25 Aug, 2023 5 commits
  15. 23 Aug, 2023 2 commits
  16. 22 Aug, 2023 2 commits
  17. 18 Aug, 2023 1 commit
  18. 17 Aug, 2023 2 commits
  19. 16 Aug, 2023 3 commits