1. 21 Mar, 2024 1 commit
  2. 09 Mar, 2024 2 commits
  3. 04 Mar, 2024 1 commit
  4. 26 Feb, 2024 1 commit
  5. 20 Feb, 2024 1 commit
  6. 19 Feb, 2024 1 commit
  7. 16 Feb, 2024 1 commit
  8. 26 Jan, 2024 2 commits
  9. 23 Jan, 2024 2 commits
  10. 19 Jan, 2024 1 commit
  11. 15 Jan, 2024 2 commits
  12. 11 Jan, 2024 1 commit
  13. 09 Jan, 2024 1 commit
  14. 05 Jan, 2024 2 commits
  15. 22 Dec, 2023 1 commit
  16. 18 Dec, 2023 1 commit
  17. 14 Dec, 2023 1 commit
  18. 11 Dec, 2023 1 commit
  19. 07 Dec, 2023 1 commit
  20. 06 Dec, 2023 1 commit
  21. 05 Dec, 2023 1 commit
  22. 04 Dec, 2023 1 commit
  23. 01 Dec, 2023 2 commits
  24. 28 Nov, 2023 1 commit
  25. 27 Nov, 2023 1 commit
  26. 21 Nov, 2023 2 commits
  27. 20 Nov, 2023 1 commit
  28. 14 Nov, 2023 1 commit
  29. 11 Nov, 2023 1 commit
  30. 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
  31. 23 Oct, 2023 1 commit
  32. 18 Oct, 2023 1 commit
  33. 17 Oct, 2023 1 commit