1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
Commit Graph

5420 Commits

Author SHA1 Message Date
yiyixuxu
45ca4309b1 ModularPipeline -> ModularLoader 2025-04-30 06:56:56 +02:00
yiyixuxu
cdb31dfccd more merge fix 2025-04-30 06:47:51 +02:00
YiYi Xu
9bfddfe65d Apply suggestions from code review 2025-04-29 18:43:46 -10:00
yiyixuxu
c1084b8cb8 more merge fix 2025-04-30 06:39:00 +02:00
yiyixuxu
aaab69c8f3 fix merge 2025-04-30 06:30:57 +02:00
yiyixuxu
40c7d2b621 merge conflict 2025-04-30 05:15:44 +02:00
yiyixuxu
911361379e component manager update get and get_one 2025-04-30 04:47:16 +02:00
yiyixuxu
de8ce52743 up 2025-04-30 01:09:33 +02:00
yiyixuxu
1952941a9c up! 2025-04-29 11:02:47 +02:00
yiyixuxu
e8b5cde376 up! 2025-04-28 09:22:11 +02:00
Aryan
b863bdd6ca Modular Diffusers Guiders (#11311)
* cfg; slg; pag; sdxl without controlnet

* support sdxl controlnet

* support controlnet union

* update

* update

* cfg zero*

* use unwrap_module for torch compiled modules

* remove guider kwargs

* remove commented code

* remove old guider

* fix slg bug

* remove debug print

* autoguidance

* smoothed energy guidance

* add note about seg

* tangential cfg

* cfg plus plus

* support cfgpp in ddim

* apply review suggestions

* refactor

* rename enable/disable

* remove cfg++ for now

* rename do_classifier_free_guidance->prepare_unconditional_embeds

* remove unused
2025-04-26 03:42:42 +05:30
yiyixuxu
3e4a772ead fix 2025-04-25 19:43:38 +02:00
yiyixuxu
267a1af6ab up 2025-04-25 16:08:43 +02:00
yiyixuxu
e2dcf9a5e4 update ModularLarder, add save/from_pretrained, proper register_components, update 2025-04-24 12:32:40 +02:00
yiyixuxu
a1eb9ee951 make component spec loadable: add load/create method 2025-04-24 12:31:29 +02:00
yiyixuxu
d456a97420 update components manager, allow loading with spec 2025-04-24 06:44:26 +02:00
yiyixuxu
3b30e794d0 modularpipeloine -> modularpipelineloader, setup_loader, make loader configmixin etc 2025-04-23 19:45:13 +02:00
yiyixuxu
2571c00054 move componentspec, configspec, input output param to utils 2025-04-23 19:43:34 +02:00
yiyixuxu
e38f09ba97 update components manageer: add -collection arg, allow subfoldeer arg in from_pretrained 2025-04-23 19:42:21 +02:00
yiyixuxu
170a3c5736 attemp to break ModularPipeline base into componentstate and a pipelineblock mixin 2025-04-22 18:48:20 +02:00
yiyixuxu
01e9a5a941 move formating utilitys to modular_pipeline_util.py 2025-04-22 10:37:45 +02:00
yiyixuxu
19555e95cc update doc & repr 2025-04-22 10:33:03 +02:00
Aryan
78fca12803 support cfgpp in ddim 2025-04-16 13:23:24 +02:00
Aryan
77d8a285bf cfg plus plus 2025-04-16 08:08:00 +02:00
Aryan
2dc673a213 tangential cfg 2025-04-16 06:38:03 +02:00
Aryan
b9bcd469f1 add note about seg 2025-04-15 21:25:29 +02:00
Aryan
720783e508 smoothed energy guidance 2025-04-15 21:13:13 +02:00
Aryan
ba579f4da9 autoguidance 2025-04-15 09:21:25 +02:00
Aryan
1c1d1d52e0 remove debug print 2025-04-15 08:26:43 +02:00
Aryan
8d31c699a5 fix slg bug 2025-04-15 08:26:03 +02:00
Aryan
57c7e15a91 remove old guider 2025-04-14 17:45:56 +02:00
Aryan
b31904b853 remove commented code 2025-04-14 17:39:06 +02:00
Aryan
d8d2ea3729 remove guider kwargs 2025-04-14 17:35:30 +02:00
Aryan
52b9b61f62 use unwrap_module for torch compiled modules 2025-04-14 17:34:10 +02:00
Aryan
2238f55f40 cfg zero* 2025-04-14 16:43:16 +02:00
Aryan
625530295d update 2025-04-14 15:57:17 +02:00
Aryan
31593e2c33 update 2025-04-14 15:56:36 +02:00
Aryan
b81bd78bf9 support controlnet union 2025-04-14 15:39:16 +02:00
Aryan
9da8a9d1d5 support sdxl controlnet 2025-04-14 14:04:04 +02:00
Aryan
0c4c1a8430 cfg; slg; pag; sdxl without controlnet 2025-04-14 10:04:13 +02:00
yiyixuxu
d143851309 move methods to blocks 2025-04-12 11:46:25 +02:00
yiyixuxu
9ad1470d48 up 2025-04-11 18:29:21 +02:00
yiyixuxu
bf99ab2f55 up 2025-04-09 20:36:45 +02:00
yiyixuxu
ee842839ef add componentspec and configspec 2025-04-09 01:40:02 +02:00
YiYi Xu
96795afc72 Merge branch 'main' into modular-diffusers 2025-04-07 18:05:00 -10:00
Inigo Goiri
841504bb1a Add support to pass image embeddings to the WAN I2V pipeline. (#11175)
* Add support to pass image embeddings to the pipeline.



---------

Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: YiYi Xu <yixu310@gmail.com>
2025-04-07 15:47:06 -10:00
Steven Liu
fc7a867ae5 [docs] MPS update (#11212)
mps
2025-04-07 14:32:27 -10:00
alex choi
5ded26cdc7 ensure dtype match between diffused latents and vae weights (#8391) 2025-04-07 12:59:10 -10:00
Yao Matrix
506f39af3a enable 1 case on XPU (#11219)
enable case on XPU: 1. tests/quantization/bnb/test_mixed_int8.py::BnB8bitTrainingTests::test_training

Signed-off-by: YAO Matrix <matrix.yao@intel.com>
2025-04-07 08:24:21 +01:00
Mikko Tukiainen
8ad68c1393 Add missing MochiEncoder3D.gradient_checkpointing attribute (#11146)
* Add missing 'gradient_checkpointing = False' attr

* Add (limited) tests for Mochi autoencoder

* Apply style fixes

* pass 'conv_cache' as arg instead of kwarg

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-06 02:46:45 +05:30