"tests/vscode:/vscode.git/clone" did not exist on "5d2d14538a87e45891609d172d7aa05a1b756068"
  1. 01 May, 2023 3 commits
  2. 28 Apr, 2023 5 commits
    • Will Berman's avatar
      temp disable spectogram diffusion tests (#3278) · 384c83aa
      Will Berman authored
      The note-seq package throws an error on import because the default installed version of Ipython
      is not compatible with python 3.8 which we run in the CI.
      https://github.com/huggingface/diffusers/actions/runs/4830121056/jobs/8605954838#step:7:9
      384c83aa
    • Patrick von Platen's avatar
      Allow disabling torch 2_0 attention (#3273) · 4d35d7fe
      Patrick von Platen authored
      * Allow disabling torch 2_0 attention
      
      * make style
      
      * Update src/diffusers/models/attention.py
      4d35d7fe
    • Jason Kuan's avatar
      add constant learning rate with custom rule (#3133) · a7b0671c
      Jason Kuan authored
      * add constant lr with rules
      
      * add constant with rules in TYPE_TO_SCHEDULER_FUNCTION
      
      * add constant lr rate with rule
      
      * hotfix code quality
      
      * fix doc style
      
      * change name constant_with_rules to piecewise constant
      a7b0671c
    • clarencechen's avatar
      Diffedit Zero-Shot Inpainting Pipeline (#2837) · be0bfcec
      clarencechen authored
      * Update Pix2PixZero Auto-correlation Loss
      
      * Add Stable Diffusion DiffEdit pipeline
      
      * Add draft documentation and import code
      
      * Bugfixes and refactoring
      
      * Add option to not decode latents in the inversion process
      
      * Harmonize preprocessing
      
      * Revert "Update Pix2PixZero Auto-correlation Loss"
      
      This reverts commit b218062fed08d6cc164206d6cb852b2b7b00847a.
      
      * Update annotations
      
      * rename `compute_mask` to `generate_mask`
      
      * Update documentation
      
      * Update docs
      
      * Update Docs
      
      * Fix copy
      
      * Change shape of output latents to batch first
      
      * Update docs
      
      * Add first draft for tests
      
      * Bugfix and update tests
      
      * Add `cross_attention_kwargs` support for all pipeline methods
      
      * Fix Copies
      
      * Add support for PIL image latents
      
      Add support for mask broadcasting
      
      Update docs and tests
      
      Align `mask` argument to `mask_image`
      
      Remove height and width arguments
      
      * Enable MPS Tests
      
      * Move example docstrings
      
      * Fix test
      
      * Fix test
      
      * fix pipeline inheritance
      
      * Harmonize `prepare_image_latents` with StableDiffusionPix2PixZeroPipeline
      
      * Register modules set to `None` in config for `test_save_load_optional_components`
      
      * Move fixed logic to specific test class
      
      * Clean changes to other pipelines
      
      * Update new tests to coordinate with #2953
      
      * Update slow tests for better results
      
      * Safety to avoid potential problems with torch.inference_mode
      
      * Add reference in SD Pipeline Overview
      
      * Fix tests again
      
      * Enforce determinism in noise for generate_mask
      
      * Fix copies
      
      * Widen test tolerance for fp16 based on `test_stable_diffusion_upscale_pipeline_fp16`
      
      * Add LoraLoaderMixin and update `prepare_image_latents`
      
      * clean up repeat and reg
      
      * bugfix
      
      * Remove invalid args from docs
      
      Suppress spurious warning by repeating image before latent to mask gen
      be0bfcec
    • Sayak Paul's avatar
      [LoRA] quality of life improvements in the loading semantics and docs (#3180) · 71de5b70
      Sayak Paul authored
      * 👽
      
       qol improvements for LoRA.
      
      * better function name?
      
      * fix: LoRA weight loading with the new format.
      
      * address Patrick's comments.
      
      * Apply suggestions from code review
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      
      * change wording around encouraging the use of load_lora_weights().
      
      * fix: function name.
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      71de5b70
  3. 27 Apr, 2023 6 commits
  4. 26 Apr, 2023 4 commits
  5. 25 Apr, 2023 5 commits
    • Patrick von Platen's avatar
      add model (#3230) · e51f19ae
      Patrick von Platen authored
      
      
      * add
      
      * clean
      
      * up
      
      * clean up more
      
      * fix more tests
      
      * Improve docs further
      
      * improve
      
      * more fixes docs
      
      * Improve docs more
      
      * Update src/diffusers/models/unet_2d_condition.py
      
      * fix
      
      * up
      
      * update doc links
      
      * make fix-copies
      
      * add safety checker and watermarker to stage 3 doc page code snippets
      
      * speed optimizations docs
      
      * memory optimization docs
      
      * make style
      
      * add watermarking snippets to doc string examples
      
      * make style
      
      * use pt_to_pil helper functions in doc strings
      
      * skip mps tests
      
      * Improve safety
      
      * make style
      
      * new logic
      
      * fix
      
      * fix bad onnx design
      
      * make new stable diffusion upscale pipeline model arguments optional
      
      * define has_nsfw_concept when non-pil output type
      
      * lowercase linked to notebook name
      
      ---------
      Co-authored-by: default avatarWilliam Berman <WLBberman@gmail.com>
      e51f19ae
    • Patrick von Platen's avatar
      Fix docs text inversion (#3166) · 1ffcc924
      Patrick von Platen authored
      * Fix docs text inversion
      
      * Apply suggestions from code review
      1ffcc924
    • Yuchen Fan's avatar
      Sync cache version check from transformers (#3179) · 730e01ec
      Yuchen Fan authored
      sync cache version check from transformers
      730e01ec
    • pdoane's avatar
      Fix issue in maybe_convert_prompt (#3188) · 0d196f9f
      pdoane authored
      When the token used for textual inversion does not have any special symbols (e.g. it is not surrounded by <>), the tokenizer does not properly split the replacement tokens.  Adding a space for the padding tokens fixes this.
      0d196f9f
    • Isaac's avatar
      adding enable_vae_tiling and disable_vae_tiling functions (#3225) · e9edbfc2
      Isaac authored
      adding enable_vae_tiling and disable_val_tiling functions
      e9edbfc2
  6. 24 Apr, 2023 1 commit
  7. 22 Apr, 2023 1 commit
  8. 21 Apr, 2023 4 commits
  9. 20 Apr, 2023 3 commits
  10. 19 Apr, 2023 5 commits
    • superhero-7's avatar
      Modified altdiffusion pipline to support altdiffusion-m18 (#2993) · a4c91be7
      superhero-7 authored
      
      
      * Modified altdiffusion pipline to support altdiffusion-m18
      
      * Modified altdiffusion pipline to support altdiffusion-m18
      
      * Modified altdiffusion pipline to support altdiffusion-m18
      
      * Modified altdiffusion pipline to support altdiffusion-m18
      
      * Modified altdiffusion pipline to support altdiffusion-m18
      
      * Modified altdiffusion pipline to support altdiffusion-m18
      
      * Modified altdiffusion pipline to support altdiffusion-m18
      
      ---------
      Co-authored-by: default avatarroot <fulong_ye@163.com>
      a4c91be7
    • hwuebben's avatar
      Update pipeline_stable_diffusion_inpaint_legacy.py (#2903) · 3becd368
      hwuebben authored
      
      
      * Update pipeline_stable_diffusion_inpaint_legacy.py
      
      * fix preprocessing of Pil images with adequate batch size
      
      * revert map
      
      * add tests
      
      * reformat
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      * next try to fix the style
      
      * wth is this
      
      * Update testing_utils.py
      
      * Update testing_utils.py
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      * Update test_stable_diffusion_inpaint_legacy.py
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      3becd368
    • Chanchana Sornsoontorn's avatar
      Correct `Transformer2DModel.forward` docstring (#3074) · c8fdfe45
      Chanchana Sornsoontorn authored
      ️chore(transformer_2d) update function signature for encoder_hidden_states
      c8fdfe45
    • 1lint's avatar
      add from_ckpt method as Mixin (#2318) · 86ecd4b7
      1lint authored
      
      
      * add mixin class for pipeline from original sd ckpt
      
      * Improve
      
      * make style
      
      * merge main into
      
      * Improve more
      
      * fix more
      
      * up
      
      * Apply suggestions from code review
      
      * finish docs
      
      * rename
      
      * make style
      
      ---------
      Co-authored-by: default avatarPatrick von Platen <patrick.v.platen@gmail.com>
      86ecd4b7
    • cmdr2's avatar
      [ckpt loader] Allow loading the Inpaint and Img2Img pipelines, while loading a ckpt model (#2705) · bdeff4d6
      cmdr2 authored
      * [ckpt loader] Allow loading the Inpaint and Img2Img pipelines, while loading a ckpt model
      
      * Address review comment from PR
      
      * PyLint formatting
      
      * Some more pylint fixes, unrelated to our change
      
      * Another pylint fix
      
      * Styling fix
      bdeff4d6
  11. 18 Apr, 2023 2 commits
  12. 17 Apr, 2023 1 commit