ishan-modi
62aa0a661c
update
2025-03-20 19:50:59 +05:30
ishan-modi
4145f6b044
addressed PR comments
2025-03-20 19:14:22 +05:30
ishan-modi
7f3cbc595b
added dummy objects
2025-03-20 09:35:54 +05:30
ishan-modi
d698d81c22
update
2025-03-19 08:33:28 +05:30
ishan-modi
6a62c3e46c
added test cases
2025-03-13 20:59:56 +05:30
ishan-modi
009937be4b
bug fixes
2025-03-13 18:07:04 +05:30
ishan-modi
dfc396e384
addressed PR comments
2025-03-12 14:09:22 +05:30
ishan-modi
1955579ab7
improve code quality
2025-03-12 12:20:42 +05:30
ishan-modi
321193beb4
added controlnet for sana transformer
2025-03-12 12:16:45 +05:30
Kinam Kim
b38450d5d2
Add STG to community pipelines ( #10960 )
...
* Support STG for video pipelines
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update pipeline_stg_cogvideox.py
* Update pipeline_stg_hunyuan_video.py
* Update pipeline_stg_ltx.py
* Update pipeline_stg_ltx_image2video.py
* Update pipeline_stg_mochi.py
* Update pipeline_stg_hunyuan_video.py
* Update pipeline_stg_ltx.py
* Update pipeline_stg_ltx_image2video.py
* Update pipeline_stg_mochi.py
* update
* remove rescaling
* Apply style fixes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-08 00:28:24 +05:30
Dhruv Nair
1357931d74
[Single File] Add single file support for Wan T2V/I2V ( #10991 )
...
* update
* update
* update
* update
* update
* update
* update
2025-03-07 22:13:25 +05:30
Sayak Paul
a2d3d6af44
[LoRA] remove full key prefix from peft. ( #11004 )
...
remove full key prefix from peft.
2025-03-07 21:51:59 +05:30
hlky
363d1ab7e2
Wan VAE move scaling to pipeline ( #10998 )
2025-03-07 10:42:17 +00:00
C
6a0137eb3b
Fix Graph Breaks When Compiling CogView4 ( #10959 )
...
* Fix Graph Breaks When Compiling CogView4
Eliminate this:
```
t]V0304 10:24:23.421000 3131076 torch/_dynamo/guards.py:2813] [0/4] [__recompiles] Recompiling function forward in /home/zeyi/repos/diffusers/src/diffusers/models/transformers/transformer_cogview4.py:374
V0304 10:24:23.421000 3131076 torch/_dynamo/guards.py:2813] [0/4] [__recompiles] triggered by the following guard failure(s):
V0304 10:24:23.421000 3131076 torch/_dynamo/guards.py:2813] [0/4] [__recompiles] - 0/3: ___check_obj_id(L['self'].rope.freqs_h, 139976127328032)
V0304 10:24:23.421000 3131076 torch/_dynamo/guards.py:2813] [0/4] [__recompiles] - 0/2: ___check_obj_id(L['self'].rope.freqs_h, 139976107780960)
V0304 10:24:23.421000 3131076 torch/_dynamo/guards.py:2813] [0/4] [__recompiles] - 0/1: ___check_obj_id(L['self'].rope.freqs_h, 140022511848960)
V0304 10:24:23.421000 3131076 torch/_dynamo/guards.py:2813] [0/4] [__recompiles] - 0/0: ___check_obj_id(L['self'].rope.freqs_h, 140024081342416)
```
* Update transformer_cogview4.py
* fix cogview4 rotary pos embed
* Apply style fixes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2025-03-06 22:57:17 -10:00
Aryan
2e5203be04
Hunyuan I2V ( #10983 )
...
* update
* update
* update
* add tests
* update
* add model tests
* update docs
* update
* update example
* fix defaults
* update
2025-03-07 12:52:48 +05:30
yupeng1111
d55f41102a
fix wan i2v pipeline bugs ( #10975 )
...
* fix wan i2v pipeline bugs
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2025-03-06 18:57:41 -10:00
LittleNyima
748cb0fab6
Add CogVideoX DDIM Inversion to Community Pipelines ( #10956 )
...
* add cogvideox ddim inversion script
* implement as a pipeline, and add documentation
---------
Co-authored-by: Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com >
2025-03-06 10:46:38 -10:00
Dhruv Nair
790a909b54
[Single File] Add user agent to SF download requests. ( #10979 )
...
update
2025-03-06 10:45:20 -10:00
CyberVy
54ab475391
Fix Flux Controlnet Pipeline _callback_tensor_inputs Missing Some Elements ( #10974 )
...
* Update pipeline_flux_controlnet.py
* Update pipeline_flux_controlnet_image_to_image.py
* Update pipeline_flux_controlnet_inpainting.py
* Update pipeline_flux_controlnet_inpainting.py
* Update pipeline_flux_controlnet_inpainting.py
2025-03-06 14:26:20 -03:00
dependabot[bot]
f103993094
Bump jinja2 from 3.1.5 to 3.1.6 in /examples/research_projects/realfill ( #10984 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 11:59:51 +00:00
Sayak Paul
1be0202502
[CI] remove synchornized. ( #10980 )
...
removed synchornized.
2025-03-06 17:03:19 +05:30
Pierre Chapuis
ea81a4228d
fix default values of Flux guidance_scale in docstrings ( #10982 )
2025-03-06 16:37:45 +05:30
hlky
b15027636a
Fix loading OneTrainer Flux LoRA ( #10978 )
...
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2025-03-06 13:53:36 +05:30
Sayak Paul
6e2a93de70
[tests] fix tests for save load components ( #10977 )
...
fix tests
2025-03-06 12:30:37 +05:30
Jun Yeop Na
37b8edfb86
[train_dreambooth_lora.py] Fix the LR Schedulers when num_train_epochs is passed in a distributed training env ( #10973 )
...
* updated train_dreambooth_lora to fix the LR schedulers for `num_train_epochs` in distributed training env
* fixed formatting
* remove trailing newlines
* fixed style error
2025-03-06 10:06:24 +05:30
Célina
fbf6b856cc
use style bot GH Action from huggingface_hub ( #10970 )
...
use style bot GH action from hfh
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2025-03-05 23:39:50 +05:30
Linoy Tsaban
e031caf4ea
[flux lora training] fix t5 training bug ( #10845 )
...
* fix t5 training bug
* Apply style fixes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-05 13:47:01 +02:00
hlky
08f74a8b92
Add VAE Decode endpoint slow test ( #10946 )
2025-03-05 11:28:06 +00:00
YiYi Xu
24c062aaa1
update check_input for cogview4 ( #10966 )
...
fix
2025-03-04 12:12:54 -10:00
Yuxuan Zhang
a74f02fb40
[Docs] CogView4 comment fix ( #10957 )
...
* Update pipeline_cogview4.py
* Use GLM instead of T5 in doc
2025-03-04 11:25:43 -10:00
Eliseu Silva
66bf7ea5be
feat: add Mixture-of-Diffusers ControlNet Tile upscaler Pipeline for SDXL ( #10951 )
...
* feat: add Mixture-of-Diffusers ControlNet Tile upscaler Pipeline for SDXL
* make style make quality
2025-03-04 17:17:36 -03:00
Alexey Zolotenkov
b8215b1c06
Fix incorrect seed initialization when args.seed is 0 ( #10964 )
...
* Fix seed initialization to handle args.seed = 0 correctly
* Apply style fixes
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-04 10:09:52 -10:00
Aryan
3ee899fa0c
[LoRA] Support Wan ( #10943 )
...
* update
* refactor image-to-video pipeline
* update
* fix copied from
* use FP32LayerNorm
2025-03-05 01:27:34 +05:30
CyberVy
dcd77ce222
Fix the missing parentheses when calling is_torchao_available in quantization_config.py. ( #10961 )
...
Update quantization_config.py
2025-03-04 09:52:41 -03:00
a120092009
11d8e3ce2c
[Quantization] support pass MappingType for TorchAoConfig ( #10927 )
...
* [Quantization] support pass MappingType for TorchAoConfig
* Apply style fixes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-04 16:40:50 +05:30
Sayak Paul
97fda1b75c
[LoRA] feat: support non-diffusers lumina2 LoRAs. ( #10909 )
...
* feat: support non-diffusers lumina2 LoRAs.
* revert ipynb changes (but I don't know why this is required ☹️ )
* empty
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2025-03-04 14:40:55 +05:30
Sayak Paul
cc22058324
Update evaluation.md ( #10938 )
...
* Update evaluation.md
* Update docs/source/en/conceptual/evaluation.md
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
---------
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com >
2025-03-04 13:58:16 +05:30
Fanli Lin
7855ac597e
[tests] make tests device-agnostic (part 4) ( #10508 )
...
* initial comit
* fix empty cache
* fix one more
* fix style
* update device functions
* update
* update
* Update src/diffusers/utils/testing_utils.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update src/diffusers/utils/testing_utils.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update src/diffusers/utils/testing_utils.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update tests/pipelines/controlnet/test_controlnet.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update src/diffusers/utils/testing_utils.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update src/diffusers/utils/testing_utils.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update tests/pipelines/controlnet/test_controlnet.py
Co-authored-by: hlky <hlky@hlky.ac >
* with gc.collect
* update
* make style
* check_torch_dependencies
* add mps empty cache
* add changes
* bug fix
* enable on xpu
* update more cases
* revert
* revert back
* Update test_stable_diffusion_xl.py
* Update tests/pipelines/stable_diffusion/test_stable_diffusion.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update tests/pipelines/stable_diffusion/test_stable_diffusion.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update tests/pipelines/stable_diffusion/test_stable_diffusion_img2img.py
Co-authored-by: hlky <hlky@hlky.ac >
* Apply suggestions from code review
Co-authored-by: hlky <hlky@hlky.ac >
* add test marker
---------
Co-authored-by: hlky <hlky@hlky.ac >
2025-03-04 08:26:06 +00:00
CyberVy
30cef6bff3
Improve load_ip_adapter RAM Usage ( #10948 )
...
* Update ip_adapter.py
* Update ip_adapter.py
* Update ip_adapter.py
* Update ip_adapter.py
* Update ip_adapter.py
* Apply style fixes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: hlky <hlky@hlky.ac >
2025-03-04 07:21:23 +00:00
Ahmed Belgacem
8f15be169f
Fix redundant prev_output_channel assignment in UNet2DModel ( #10945 )
2025-03-03 11:43:15 -10:00
Yuxuan Zhang
f92e599c70
Update pipeline_cogview4.py ( #10944 )
2025-03-03 09:42:01 -10:00
Parag Ekbote
982f9b38d6
Add Example of IPAdapterScaleCutoffCallback to Docs ( #10934 )
...
* Add example of Ip-Adapter-Callback.
* Add image links from HF Hub.
2025-03-03 08:32:45 -08:00
fancydaddy
c9a219b323
add from_single_file to animatediff ( #10924 )
...
* Update pipeline_animatediff.py
* Update pipeline_animatediff_controlnet.py
* Update pipeline_animatediff_sparsectrl.py
* Update pipeline_animatediff_video2video.py
* Update pipeline_animatediff_video2video_controlnet.py
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2025-03-03 19:11:54 +05:30
Teriks
9e910c4633
Fix SD2.X clip single file load projection_dim ( #10770 )
...
* Fix SD2.X clip single file load projection_dim
Infer projection_dim from the checkpoint before loading
from pretrained, override any incorrect hub config.
Hub configuration for SD2.X specifies projection_dim=512
which is incorrect for SD2.X checkpoints loaded from civitai
and similar.
Exception was previously thrown upon attempting to
load_model_dict_into_meta for SD2.X single file checkpoints.
Such LDM models usually require projection_dim=1024
* convert_open_clip_checkpoint use hidden_size for text_proj_dim
* convert_open_clip_checkpoint, revert checkpoint[text_proj_key].shape[1] -> [0]
values are identical
---------
Co-authored-by: Teriks <Teriks@users.noreply.github.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2025-03-03 19:00:39 +05:30
Bubbliiiing
5e3b7d2d8a
Add EasyAnimateV5.1 text-to-video, image-to-video, control-to-video generation model ( #10626 )
...
* Update EasyAnimate V5.1
* Add docs && add tests && Fix comments problems in transformer3d and vae
* delete comments and remove useless import
* delete process
* Update EXAMPLE_DOC_STRING
* rename transformer file
* make fix-copies
* make style
* refactor pt. 1
* update toctree.yml
* add model tests
* Update layer_norm for norm_added_q and norm_added_k in Attention
* Fix processor problem
* refactor vae
* Fix problem in comments
* refactor tiling; remove einops dependency
* fix docs path
* make fix-copies
* Update src/diffusers/pipelines/easyanimate/pipeline_easyanimate_control.py
* update _toctree.yml
* fix test
* update
* update
* update
* make fix-copies
* fix tests
---------
Co-authored-by: Aryan <aryan@huggingface.co >
Co-authored-by: Aryan <contact.aryanvs@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2025-03-03 18:37:19 +05:30
Sayak Paul
7513162b8b
[Tests] Remove more encode prompts tests ( #10942 )
...
* fix-copies went uncaught it seems.
* remove more unneeded encode_prompt() tests
* Revert "fix-copies went uncaught it seems."
This reverts commit eefb302791 .
* empty
2025-03-03 16:55:01 +05:30
Sayak Paul
4aaa0d21ba
[chore] fix-copies to flux pipelines ( #10941 )
...
fix-copies went uncaught it seems.
2025-03-03 11:21:57 +05:30
hlky
54043c3e2e
Update VAE Decode endpoints ( #10939 )
2025-03-02 18:29:53 +00:00
hlky
fc4229a0c3
Add remote_decode to remote_utils ( #10898 )
...
* Add `remote_decode` to `remote_utils`
* test dependency
* test dependency
* dependency
* dependency
* dependency
* docstrings
* changes
* make style
* apply
* revert, add new options
* Apply style fixes
* deprecate base64, headers not needed
* address comments
* add license header
* init test_remote_decode
* more
* more test
* more test
* skeleton for xl, flux
* more test
* flux test
* flux packed
* no scaling
* -save
* hunyuanvideo test
* Apply style fixes
* init docs
* Update src/diffusers/utils/remote_utils.py
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
* comments
* Apply style fixes
* comments
* hybrid_inference/vae_decode
* fix
* tip?
* tip
* api reference autodoc
* install tip
---------
Co-authored-by: sayakpaul <spsayakpaul@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-02 17:10:01 +00:00
hlky
694f9658c1
Support IPAdapter for more Flux pipelines ( #10708 )
...
* Support IPAdapter for more Flux pipelines
* -copied from
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2025-03-02 15:04:12 +00:00