1. 17 Nov, 2023 1 commit
  2. 15 Nov, 2023 1 commit
  3. 14 Nov, 2023 4 commits
  4. 13 Nov, 2023 5 commits
  5. 11 Nov, 2023 1 commit
  6. 10 Nov, 2023 2 commits
  7. 09 Nov, 2023 1 commit
  8. 06 Nov, 2023 1 commit
  9. 01 Nov, 2023 1 commit
  10. 31 Oct, 2023 3 commits
  11. 30 Oct, 2023 1 commit
  12. 27 Oct, 2023 1 commit
  13. 26 Oct, 2023 1 commit
  14. 25 Oct, 2023 3 commits
    • Ran Ran's avatar
      Add from_pt flag to enable model from PT (#5501) · 8959c5b9
      Ran Ran authored
      * Add from_pt flag to enable model from PT
      
      * Format the file
      
      * Reformat the file
      8959c5b9
    • Patrick von Platen's avatar
      make style · d420d713
      Patrick von Platen authored
      d420d713
    • 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
  15. 23 Oct, 2023 3 commits
  16. 18 Oct, 2023 3 commits
  17. 17 Oct, 2023 1 commit
  18. 16 Oct, 2023 4 commits
  19. 11 Oct, 2023 2 commits
  20. 10 Oct, 2023 1 commit