1. 01 Nov, 2023 9 commits
  2. 31 Oct, 2023 5 commits
  3. 30 Oct, 2023 7 commits
  4. 27 Oct, 2023 5 commits
  5. 26 Oct, 2023 5 commits
  6. 25 Oct, 2023 9 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
    • Steven Liu's avatar
      [docs] Loader docs (#5473) · bc8a08f6
      Steven Liu authored
      * first draft
      
      * make fix-copies
      
      * add peft section
      
      * manual fix
      
      * make fix-copies again
      
      * manually revert changes to other files
      bc8a08f6
    • Yi-Xuan XU's avatar
      dbce14da
    • RampagingSloth's avatar
      Fix missing punctuation in PHILOSOPHY.md (#5530) · 71ad0260
      RampagingSloth authored
      Fix missing punctuation.
      71ad0260
    • Patrick von Platen's avatar
      make fix-copies · dd981256
      Patrick von Platen authored
      dd981256
    • Aryan V S's avatar
      Improve typehints and docs in `diffusers/models` (#5391) · 0c9f174d
      Aryan V S authored
      
      
      * improvement: add typehints and docs to src/diffusers/models/attention_processor.py
      
      * improvement: add typehints and docs to src/diffusers/models/vae.py
      
      * improvement: add missing docs in src/diffusers/models/vq_model.py
      
      * improvement: add typehints and docs to src/diffusers/models/transformer_temporal.py
      
      * improvement: add typehints and docs to src/diffusers/models/t5_film_transformer.py
      
      * improvement: add type hints to src/diffusers/models/unet_1d_blocks.py
      
      * improvement: add missing type hints to src/diffusers/models/unet_2d_blocks.py
      
      * fix: CI error (make fix-copies required)
      
      * fix: CI error (make fix-copies required again)
      
      ---------
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      0c9f174d
    • 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
    • Patrick von Platen's avatar
      [Schedulers] Fix 2nd order other than heun (#5526) · dc943eb9
      Patrick von Platen authored
      * [Schedulers] Fix 2nd order other than heun
      
      * Apply suggestions from code review
      dc943eb9