• UmerHA's avatar
    Add Prompt2Prompt pipeline (#4563) · 169fc4ad
    UmerHA authored
    
    
    * Initial commit P2P
    
    * Replaced CrossAttention, added test skeleton
    
    * bug fixes
    
    * Updated docstring
    
    * Removed unused function
    
    * Created tests
    
    * improved tests
    
    - made fast inference tests faster
    - corrected image shape assertions
    
    * Corrected expected output shape in tests
    
    * small fix: test inputs
    
    * Update tests
    
    - used conditional unet2d
    - set expected image slices
    - edit_kwargs are now not popped, so pipe can be run multiple times
    
    * Fixed bug in int tests
    
    * Fixed tests
    
    * Linting
    
    * Create prompt2prompt.md
    
    * Added to docs toc
    
    * Ran make fix-copies
    
    * Fixed code blocks in docs
    
    * Using same interface as StableDiffusionPipeline
    
    * Fixed small test bug
    
    * Added all options SDPipeline.__call_ has
    
    * Fixed docstring; made __call__ like in SD
    
    * Linting
    
    * Added test for multiple prompts
    
    * Improved docs
    
    * Incorporated feedback
    
    * Reverted formatting on unrelated files
    
    * Moved prompt2prompt to community
    
    - Moved prompt2prompt pipeline from main to community
    - Deleted tests
    - Moved documentation to community and shorted it
    
    * Update src/diffusers/utils/dummy_torch_and_transformers_objects.py
    Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
    
    ---------
    Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
    169fc4ad
README.md 108 KB