1. 20 Nov, 2024 1 commit
  2. 21 Oct, 2024 1 commit
  3. 09 Oct, 2024 1 commit
  4. 03 Aug, 2024 1 commit
  5. 26 Jul, 2024 1 commit
    • Sayak Paul's avatar
      [Chore] add `LoraLoaderMixin` to the inits (#8981) · d87fe95f
      Sayak Paul authored
      
      
      * introduce  to promote reusability.
      
      * up
      
      * add more tests
      
      * up
      
      * remove comments.
      
      * fix fuse_nan test
      
      * clarify the scope of fuse_lora and unfuse_lora
      
      * remove space
      
      * rewrite fuse_lora a bit.
      
      * feedback
      
      * copy over load_lora_into_text_encoder.
      
      * address dhruv's feedback.
      
      * fix-copies
      
      * fix issubclass.
      
      * num_fused_loras
      
      * fix
      
      * fix
      
      * remove mapping
      
      * up
      
      * fix
      
      * style
      
      * fix-copies
      
      * change to SD3TransformerLoRALoadersMixin
      
      * Apply suggestions from code review
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      
      * up
      
      * handle wuerstchen
      
      * up
      
      * move lora to lora_pipeline.py
      
      * up
      
      * fix-copies
      
      * fix documentation.
      
      * comment set_adapters().
      
      * fix-copies
      
      * fix set_adapters() at the model level.
      
      * fix?
      
      * fix
      
      * loraloadermixin.
      
      ---------
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      d87fe95f
  6. 25 Jul, 2024 2 commits
    • YiYi Xu's avatar
      Revert "[LoRA] introduce LoraBaseMixin to promote reusability." (#8976) · 62863bb1
      YiYi Xu authored
      Revert "[LoRA] introduce LoraBaseMixin to promote reusability. (#8774)"
      
      This reverts commit 527430d0.
      62863bb1
    • Sayak Paul's avatar
      [LoRA] introduce LoraBaseMixin to promote reusability. (#8774) · 527430d0
      Sayak Paul authored
      
      
      * introduce  to promote reusability.
      
      * up
      
      * add more tests
      
      * up
      
      * remove comments.
      
      * fix fuse_nan test
      
      * clarify the scope of fuse_lora and unfuse_lora
      
      * remove space
      
      * rewrite fuse_lora a bit.
      
      * feedback
      
      * copy over load_lora_into_text_encoder.
      
      * address dhruv's feedback.
      
      * fix-copies
      
      * fix issubclass.
      
      * num_fused_loras
      
      * fix
      
      * fix
      
      * remove mapping
      
      * up
      
      * fix
      
      * style
      
      * fix-copies
      
      * change to SD3TransformerLoRALoadersMixin
      
      * Apply suggestions from code review
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      
      * up
      
      * handle wuerstchen
      
      * up
      
      * move lora to lora_pipeline.py
      
      * up
      
      * fix-copies
      
      * fix documentation.
      
      * comment set_adapters().
      
      * fix-copies
      
      * fix set_adapters() at the model level.
      
      * fix?
      
      * fix
      
      ---------
      Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
      527430d0
  7. 25 Jun, 2024 1 commit
  8. 29 May, 2024 1 commit
  9. 13 May, 2024 1 commit
  10. 10 May, 2024 1 commit
    • Mark Van Aken's avatar
      #7535 Update FloatTensor type hints to Tensor (#7883) · be4afa0b
      Mark Van Aken authored
      * find & replace all FloatTensors to Tensor
      
      * apply formatting
      
      * Update torch.FloatTensor to torch.Tensor in the remaining files
      
      * formatting
      
      * Fix the rest of the places where FloatTensor is used as well as in documentation
      
      * formatting
      
      * Update new file from FloatTensor to Tensor
      be4afa0b
  11. 09 May, 2024 1 commit
  12. 19 Apr, 2024 1 commit
  13. 02 Apr, 2024 1 commit
    • Sayak Paul's avatar
      add: utility to format our docs too 📜 (#7314) · 4a343077
      Sayak Paul authored
      * add: utility to format our docs too 📜
      
      * debugging saga
      
      * fix: message
      
      * checking
      
      * should be fixed.
      
      * revert pipeline_fixture
      
      * remove empty line
      
      * make style
      
      * fix: setup.py
      
      * style.
      4a343077
  14. 28 Mar, 2024 1 commit
  15. 25 Mar, 2024 1 commit
  16. 14 Mar, 2024 1 commit
    • M. Tolga Cangöz's avatar
      [`Tests`] Update a deprecated parameter in test files and fix several typos (#7277) · 5d848ec0
      M. Tolga Cangöz authored
      * Add properties and `IPAdapterTesterMixin` tests for `StableDiffusionPanoramaPipeline`
      
      * Fix variable name typo and update comments
      
      * Update deprecated `output_type="numpy"` to "np" in test files
      
      * Discard changes to src/diffusers/pipelines/stable_diffusion_panorama/pipeline_stable_diffusion_panorama.py
      
      * Update test_stable_diffusion_panorama.py
      
      * Update numbers in README.md
      
      * Update get_guidance_scale_embedding method to use timesteps instead of w
      
      * Update number of checkpoints in README.md
      
      * Add type hints and fix var name
      
      * Fix PyTorch's convention for inplace functions
      
      * Fix a typo
      
      * Revert "Fix PyTorch's convention for inplace functions"
      
      This reverts commit 74350cf65b2c9aa77f08bec7937d7a8b13edb509.
      
      * Fix typos
      
      * Indent
      
      * Refactor get_guidance_scale_embedding method in LEditsPPPipelineStableDiffusionXL class
      5d848ec0
  17. 03 Mar, 2024 1 commit
  18. 01 Mar, 2024 1 commit
  19. 28 Feb, 2024 1 commit
  20. 23 Feb, 2024 1 commit
  21. 16 Feb, 2024 1 commit
  22. 08 Feb, 2024 2 commits
  23. 31 Jan, 2024 1 commit
  24. 16 Jan, 2024 1 commit
    • Celestial Phineas's avatar
      [Fix] Multiple image conditionings in a single batch for... · 1040dfd9
      Celestial Phineas authored
      
      [Fix] Multiple image conditionings in a single batch for `StableDiffusionControlNetPipeline` (#6334)
      
      * [Fix] Multiple image conditionings in a single batch for `StableDiffusionControlNetPipeline`.
      
      * Refactor `check_inputs` in `StableDiffusionControlNetPipeline` to avoid redundant codes.
      
      * Make the behavior of MultiControlNetModel to be the same to the original ControlNetModel
      
      * Keep the code change minimum for nested list support
      
      * Add fast test `test_inference_nested_image_input`
      
      * Remove redundant check for nested image condition in `check_inputs`
      
      Remove `len(image) == len(prompt)` check out of `check_image()`
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      
      * Better `ValueError` message for incompatible nested image list size
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      
      * Fix syntax error in `check_inputs`
      
      * Remove warning message for multi-ControlNets with multiple prompts
      
      * Fix a typo in test_controlnet.py
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      
      * Add test case for multiple prompts, single image conditioning in `StableDiffusionMultiControlNetPipelineFastTests`
      
      * Improved `ValueError` message for nested `controlnet_conditioning_scale`
      
      * Documenting the behavior of image list as `StableDiffusionControlNetPipeline` input
      
      ---------
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      1040dfd9
  25. 24 Dec, 2023 1 commit
  26. 19 Dec, 2023 1 commit
  27. 14 Dec, 2023 1 commit
  28. 04 Dec, 2023 1 commit
    • takuoko's avatar
      [Feature] Support IP-Adapter Plus (#5915) · 0a08d419
      takuoko authored
      
      
      * Support IP-Adapter Plus
      
      * fix format
      
      * restore before black format
      
      * restore before black format
      
      * generic
      
      * Refactor PerceiverAttention
      
      * format
      
      * fix test and refactor PerceiverAttention
      
      * generic encode_image
      
      * keep attention implementation
      
      * merge tests
      
      * encode_image backward compatible
      
      * code quality
      
      * fix controlnet inpaint pipeline
      
      * refactor FFN
      
      * refactor FFN
      
      ---------
      Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
      0a08d419
  29. 27 Nov, 2023 1 commit
    • dg845's avatar
      Add Custom Timesteps Support to LCMScheduler and Supported Pipelines (#5874) · 67d07074
      dg845 authored
      * Add custom timesteps support to LCMScheduler.
      
      * Add custom timesteps support to StableDiffusionPipeline.
      
      * Add custom timesteps support to StableDiffusionXLPipeline.
      
      * Add custom timesteps support to remaining Stable Diffusion pipelines which support LCMScheduler (img2img, inpaint).
      
      * Add custom timesteps support to remaining Stable Diffusion XL pipelines which support LCMScheduler (img2img, inpaint).
      
      * Add custom timesteps support to StableDiffusionControlNetPipeline.
      
      * Add custom timesteps support to T21 Stable Diffusion (XL) Adapters.
      
      * Clean up Stable Diffusion inpaint tests.
      
      * Manually add support for custom timesteps to AltDiffusion pipelines since make fix-copies doesn't appear to work correctly (it deletes the whole pipeline).
      
      * make style
      
      * Refactor pipeline timestep handling into the retrieve_timesteps function.
      67d07074
  30. 21 Nov, 2023 2 commits
  31. 20 Nov, 2023 1 commit
  32. 16 Nov, 2023 1 commit
  33. 09 Nov, 2023 1 commit
  34. 23 Oct, 2023 1 commit
    • Sayak Paul's avatar
      [torch.compile] fix graph break problems partially (#5453) · 48ce118d
      Sayak Paul authored
      * fix: controlnet graph?
      
      * fix: sample
      
      * fix:
      
      * remove print
      
      * styling
      
      * fix-copies
      
      * prevent more graph breaks?
      
      * prevent more graph breaks?
      
      * see?
      
      * revert.
      
      * compilation.
      
      * rpopagate changes to controlnet sdxl pipeline too.
      
      * add: clean version checking.
      48ce118d
  35. 21 Oct, 2023 1 commit
  36. 13 Oct, 2023 2 commits