ishan-modi
577651786f
addressed PR comments
2025-04-09 12:07:50 +05:30
ishan-modi
e6ba267225
update
2025-04-07 20:06:08 +05:30
ishan-modi
dea5de50ae
addressed PR comments
2025-04-07 17:33:21 +05:30
ishan-modi
3d085a2b95
addressed PR comments
2025-04-07 16:20:52 +05:30
ishan-modi
6d01ea077d
code quality
2025-03-21 22:34:38 +05:30
ishan-modi
e59208a08f
Merge branch 'main' into fixes-issue-10772
2025-03-21 22:28:49 +05:30
hlky
a7d53a5939
Don't override torch_dtype and don't use when quantization_config is set ( #11039 )
...
* Don't use `torch_dtype` when `quantization_config` is set
* up
* djkajka
* Apply suggestions from code review
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2025-03-21 21:58:38 +05:30
YiYi Xu
8a63aa5e4f
add sana-sprint ( #11074 )
...
* add sana-sprint
---------
Co-authored-by: Junsong Chen <cjs1020440147@icloud.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Aryan <aryan@huggingface.co >
2025-03-21 06:21:18 -10:00
Aryan
844221ae4e
[core] FasterCache ( #10163 )
...
* init
* update
* update
* update
* make style
* update
* fix
* make it work with guidance distilled models
* update
* make fix-copies
* add tests
* update
* apply_faster_cache -> apply_fastercache
* fix
* reorder
* update
* refactor
* update docs
* add fastercache to CacheMixin
* update tests
* Apply suggestions from code review
* make style
* try to fix partial import error
* Apply style fixes
* raise warning
* update
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-21 09:35:04 +05:30
ishan-modi
4b86649c91
add to docs
2025-03-21 08:32:05 +05:30
CyberVy
9b2c0a7dbe
fix _callback_tensor_inputs of sd controlnet inpaint pipeline missing some elements ( #11073 )
...
* Update pipeline_controlnet_inpaint.py
* Apply style fixes
2025-03-20 23:56:12 -03:00
ishan-modi
a4b701aee8
Forcing update
2025-03-21 07:12:42 +05:30
Parag Ekbote
f424b1b062
Notebooks for Community Scripts-8 ( #11128 )
...
Add 4 Notebooks and update the missing links for the
example README.
2025-03-20 12:24:46 -07:00
YiYi Xu
e9fda3924f
remove F.rms_norm for now ( #11126 )
...
up
2025-03-20 07:55:01 -10:00
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
Dhruv Nair
2c1ed50fc5
Provide option to reduce CPU RAM usage in Group Offload ( #11106 )
...
* update
* update
* clean up
2025-03-20 17:01:09 +05:30
Fanli Lin
15ad97f782
[tests] make cuda only tests device-agnostic ( #11058 )
...
* enable bnb on xpu
* add 2 more cases
* add missing change
* add missing change
* add one more
* enable cuda only tests on xpu
* enable big gpu cases
2025-03-20 10:12:35 +00:00
hlky
9f2d5c9ee9
Flux with Remote Encode ( #11091 )
...
* Flux img2img remote encode
* Flux inpaint
* -copied from
2025-03-20 09:44:08 +00:00
Junsong Chen
dc62e6931e
[fix bug] PixArt inference_steps=1 ( #11079 )
...
* fix bug when pixart-dmd inference with `num_inference_steps=1`
* use return_dict=False and return [1] element for 1-step pixart model, which works for both lcm and dmd
2025-03-20 07:44:30 +00:00
ishan-modi
7f3cbc595b
added dummy objects
2025-03-20 09:35:54 +05:30
Fanli Lin
56f740051d
[tests] enable bnb tests on xpu ( #11001 )
...
* enable bnb on xpu
* add 2 more cases
* add missing change
* add missing change
* add one more
2025-03-19 16:33:11 +00:00
Linoy Tsaban
a34d97cef0
[Wan LoRAs] make T2V LoRAs compatible with Wan I2V ( #11107 )
...
* @hlky t2v->i2v
* Apply style fixes
* try with ones to not nullify layers
* fix method name
* revert to zeros
* add check to state_dict keys
* add comment
* copies fix
* Revert "copies fix"
This reverts commit 051f534d18 .
* remove copied from
* Update src/diffusers/loaders/lora_pipeline.py
Co-authored-by: hlky <hlky@hlky.ac >
* Update src/diffusers/loaders/lora_pipeline.py
Co-authored-by: hlky <hlky@hlky.ac >
* update
* update
* Update src/diffusers/loaders/lora_pipeline.py
Co-authored-by: hlky <hlky@hlky.ac >
* Apply style fixes
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Linoy <linoy@hf.co >
Co-authored-by: hlky <hlky@hlky.ac >
2025-03-19 21:44:19 +05:30
Yuqian Hong
fc28791fc8
[BUG] Fix Autoencoderkl train script ( #11113 )
...
* add disc_optimizer step (not fix)
* support syncbatchnorm in discriminator
2025-03-19 16:49:02 +05:30
Sayak Paul
ae14612673
[CI] uninstall deps properly from pr gpu tests. ( #11102 )
...
uninstall deps properly from pr gpu tests.
2025-03-19 08:58:36 +05:30
ishan-modi
d698d81c22
update
2025-03-19 08:33:28 +05:30
hlky
0ab8fe49bf
Quality options in export_to_video ( #11090 )
...
* Quality options in `export_to_video`
* make style
2025-03-18 10:32:33 -10:00
Aryan
3be6706018
Fix Group offloading behaviour when using streams ( #11097 )
...
* update
* update
2025-03-18 14:44:10 +05:30
Cheng Jin
cb1b8b21b8
Resolve stride mismatch in UNet's ResNet to support Torch DDP ( #11098 )
...
Modify UNet's ResNet implementation to resolve stride mismatch in Torch's DDP
2025-03-18 07:38:13 +00:00
Juan Acevedo
27916822b2
update readme instructions. ( #11096 )
...
Co-authored-by: Juan Acevedo <jfacevedo@google.com >
2025-03-17 20:07:48 -10:00
co63oc
3fe3bc0642
Fix pipeline_flux_controlnet.py ( #11095 )
...
* Fix pipeline_flux_controlnet.py
* Fix style
2025-03-17 19:52:15 -10:00
Aryan
813d42cc96
Group offloading improvements ( #11094 )
...
update
2025-03-18 11:18:00 +05:30
Sayak Paul
b4d7e9c632
make PR GPU tests conditioned on styling. ( #11099 )
2025-03-18 11:15:35 +05:30
Aryan
2e83cbbb6d
LTX 0.9.5 ( #10968 )
...
* update
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: hlky <hlky@hlky.ac >
2025-03-17 16:43:36 -10:00
C
33d10af28f
Fix Wan I2V Quality ( #11087 )
...
* fix_wan_i2v_quality
* Update src/diffusers/pipelines/wan/pipeline_wan_i2v.py
Co-authored-by: YiYi Xu <yixu310@gmail.com >
* Update src/diffusers/pipelines/wan/pipeline_wan_i2v.py
Co-authored-by: YiYi Xu <yixu310@gmail.com >
* Update src/diffusers/pipelines/wan/pipeline_wan_i2v.py
Co-authored-by: YiYi Xu <yixu310@gmail.com >
* Update pipeline_wan_i2v.py
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
Co-authored-by: hlky <hlky@hlky.ac >
2025-03-17 06:24:57 -10:00
Sayak Paul
100142586f
[CI] pin transformers version for benchmarking. ( #11067 )
...
pin transformers version for benchmarking.
2025-03-16 10:27:35 +05:30
Yuxuan Zhang
82188cef04
CogView4 Control Block ( #10809 )
...
* cogview4 control training
---------
Co-authored-by: OleehyO <leehy0357@gmail.com >
Co-authored-by: yiyixuxu <yixu310@gmail.com >
2025-03-15 07:15:56 -10:00
Sayak Paul
cc19726f3d
[Tests] add requires peft decorator. ( #11037 )
...
* add requires peft decorator.
* install peft conditionally.
* conditional deps.
Co-authored-by: DN6 <dhruv.nair@gmail.com >
---------
Co-authored-by: DN6 <dhruv.nair@gmail.com >
2025-03-15 12:56:41 +05:30
Dimitri Barbot
be54a95b93
Fix deterministic issue when getting pipeline dtype and device ( #10696 )
...
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2025-03-15 07:50:58 +05:30
Juan Acevedo
6b9a3334db
reverts accidental change that removes attn_mask in attn. Improves fl… ( #11065 )
...
reverts accidental change that removes attn_mask in attn. Improves flux ptxla by using flash block sizes. Moves encoding outside the for loop.
Co-authored-by: Juan Acevedo <jfacevedo@google.com >
2025-03-14 12:47:01 -10:00
Andreas Jörg
8ead643bb7
[examples/controlnet/train_controlnet_sd3.py] Fixes #11050 - Cast prompt_embeds and pooled_prompt_embeds to weight_dtype to prevent dtype mismatch ( #11051 )
...
Fix: dtype mismatch of prompt embeddings in sd3 controlnet training
Co-authored-by: Andreas Jörg <andreasjoerg@MacBook-Pro-von-Andreas-2.fritz.box >
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2025-03-14 17:33:15 +05:30
Sayak Paul
124ac3e81f
[LoRA] feat: support non-diffusers wan t2v loras. ( #11059 )
...
feat: support non-diffusers wan t2v loras.
2025-03-14 16:01:25 +05:30
Sayak Paul
2f0f281b0d
[Tests] restrict memory tests for quanto for certain schemes. ( #11052 )
...
* restrict memory tests for quanto for certain schemes.
* Apply suggestions from code review
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* fixes
* style
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2025-03-14 10:35:19 +05:30
ZhengKai91
ccc8321651
Fix aclnnRepeatInterleaveIntWithDim error on NPU for get_1d_rotary_pos_embed ( #10820 )
...
* get_1d_rotary_pos_embed support npu
* Update src/diffusers/models/embeddings.py
---------
Co-authored-by: Kai zheng <kaizheng@KaideMacBook-Pro.local >
Co-authored-by: hlky <hlky@hlky.ac >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2025-03-13 09:58:03 -10:00
Yaniv Galron
5e48cd27d4
making ``formatted_images`` initialization compact ( #10801 )
...
compact writing
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2025-03-13 09:27:14 -10:00
hlky
5551506b29
Rename Lumina(2)Text2ImgPipeline -> Lumina(2)Pipeline ( #10827 )
...
* Rename Lumina(2)Text2ImgPipeline -> Lumina(2)Pipeline
---------
Co-authored-by: YiYi Xu <yixu310@gmail.com >
2025-03-13 09:24:21 -10:00
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
Sayak Paul
20e4b6a628
[LoRA] change to warning from info when notifying the users about a LoRA no-op ( #11044 )
...
* move to warning.
* test related changes.
2025-03-12 21:20:48 +05:30
hlky
4ea9f89b8e
Wan Pipeline scaling fix, type hint warning, multi generator fix ( #11007 )
...
* Wan Pipeline scaling fix, type hint warning, multi generator fix
* Apply suggestions from code review
2025-03-12 12:05:52 +00:00