1. 01 Dec, 2023 1 commit
  2. 28 Nov, 2023 1 commit
  3. 27 Nov, 2023 1 commit
  4. 21 Nov, 2023 2 commits
  5. 20 Nov, 2023 1 commit
  6. 14 Nov, 2023 1 commit
  7. 11 Nov, 2023 1 commit
  8. 25 Oct, 2023 1 commit
    • Logan's avatar
      Add a new community pipeline (#5477) · a1fad828
      Logan authored
      
      
      * Add a new community pipeline
      
      examples/community/latent_consistency_img2img.py
      
      which can be called like this
      
      import torch
      from diffusers import DiffusionPipeline
      
      pipe = DiffusionPipeline.from_pretrained(
                      "SimianLuo/LCM_Dreamshaper_v7", custom_pipeline="latent_consistency_txt2img", custom_revision="main")
      
                  # To save GPU memory, torch.float16 can be used, but it may compromise image quality.
      pipe.to(torch_device="cuda", torch_dtype=torch.float32)
      
      img2img=LatentConsistencyModelPipeline_img2img(
          vae=pipe.vae,
          text_encoder=pipe.text_encoder,
          tokenizer=pipe.tokenizer,
          unet=pipe.unet,
          #scheduler=pipe.scheduler,
          scheduler=None,
          safety_checker=None,
          feature_extractor=pipe.feature_extractor,
          requires_safety_checker=False,
      )
      
      img = Image.open("thisismyimage.png")
      
      result = img2img(prompt,img,strength,num_inference_steps=4)
      
      * Apply suggestions from code review
      
      Fix name formatting for scheduler
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * update readme (and run formatter on latent_consistency_img2img.py)
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      a1fad828
  9. 23 Oct, 2023 1 commit
  10. 18 Oct, 2023 1 commit
  11. 17 Oct, 2023 1 commit
  12. 14 Sep, 2023 1 commit
    • 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
  13. 30 Aug, 2023 1 commit
  14. 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
  15. 22 Aug, 2023 1 commit
  16. 18 Aug, 2023 1 commit
  17. 04 Aug, 2023 1 commit
  18. 02 Aug, 2023 1 commit
  19. 13 Jul, 2023 1 commit
  20. 07 Jun, 2023 1 commit
    • Kadir Nar's avatar
      [Community] Support StableDiffusionCanvasPipeline (#3590) · cd618690
      Kadir Nar authored
      * added StableDiffusionCanvasPipeline pipeline
      
      * Added utils codes to pipe_utils file.
      
      * make style
      
      * delete mixture.py and Text2ImageRegion class
      
      * make style
      
      * Added the codes to the readme.md file.
      
      * Moved functions from pipeline_utils to mix_canvas
      cd618690
  21. 02 Jun, 2023 2 commits
  22. 30 May, 2023 3 commits
  23. 23 May, 2023 2 commits
  24. 22 May, 2023 1 commit
    • takuoko's avatar
      [Community] reference only control (#3435) · c4359d63
      takuoko authored
      * add reference only control
      
      * add reference only control
      
      * add reference only control
      
      * fix lint
      
      * fix lint
      
      * reference adain
      
      * bugfix EulerAncestralDiscreteScheduler
      
      * fix style fidelity rule
      
      * fix default output size
      
      * del unused line
      
      * fix deterministic
      c4359d63
  25. 16 May, 2023 1 commit
  26. 06 May, 2023 1 commit
  27. 03 May, 2023 1 commit
    • Markus Pobitzer's avatar
      Add Stable Diffusion RePaint to community pipelines (#3320) · 2dd40850
      Markus Pobitzer authored
      * Add Stable Diffsuion RePaint to community pipelines
      
      - Adds Stable Diffsuion RePaint to community pipelines
      - Add Readme enty for pipeline
      
      * Fix: Remove wrong import
      
      - Remove wrong import
      - Minor change in comments
      
      * Fix: Code formatting of stable_diffusion_repaint
      
      * Fix: ruff errors in stable_diffusion_repaint
      2dd40850
  28. 28 Apr, 2023 1 commit
  29. 19 Apr, 2023 1 commit
  30. 23 Mar, 2023 1 commit
  31. 21 Mar, 2023 1 commit
  32. 14 Mar, 2023 1 commit
  33. 06 Mar, 2023 1 commit
  34. 13 Feb, 2023 1 commit
  35. 22 Jan, 2023 1 commit