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

5776 Commits

Author SHA1 Message Date
yiyixuxu
0fcdd699cf style 2025-07-07 09:55:04 +02:00
yiyixuxu
5af003a9e1 update from_componeenet, update_component 2025-07-07 09:51:04 +02:00
yiyixuxu
179d6d958b add subfolder to push_to_hub 2025-07-07 09:50:33 +02:00
yiyixuxu
229c4b355c add from_pretrained/save_pretrained for guider 2025-07-07 09:50:04 +02:00
yiyixuxu
0a4819a755 add sub_folder to save_pretrained() for config mixin 2025-07-07 09:49:29 +02:00
yiyixuxu
7cea9a3bb0 add a guider section on doc 2025-07-07 09:48:28 +02:00
yiyixuxu
23de59e21a add sub_blocks for pipelineBlock 2025-07-06 06:18:34 +02:00
yiyixuxu
4f8b6f5a15 style + copy 2025-07-06 03:23:31 +02:00
yiyixuxu
63e94cbc61 resolve conflicnt 2025-07-06 02:59:32 +02:00
YiYi Xu
2c66fb3a85 Apply suggestions from code review
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2025-07-05 14:26:13 -10:00
Aryan
284f827d6c Modular custom config object serialization (#11868)
* update

* make style
2025-07-05 07:49:35 -10:00
Aryan
b750c69859 Modular Guider ConfigMixin (#11862)
* update

* update

* register to config pag
2025-07-04 17:08:05 -10:00
Aryan
13c51bb038 Modular PAG Guider (#11860)
* update

* fix

* update
2025-07-04 12:19:10 -10:00
yiyixuxu
3e46c86a93 fix links in the doc 2025-07-01 04:51:49 +02:00
yiyixuxu
8cb5b084b5 up upup 2025-07-01 03:22:27 +02:00
yiyixuxu
13fe248152 add modularpipelineblocks to be pushtohub mixin 2025-07-01 03:22:15 +02:00
yiyixuxu
2e2024152c up up 2025-07-01 03:07:08 +02:00
yiyixuxu
1987c07899 update docstree 2025-07-01 03:06:34 +02:00
yiyixuxu
4543d216ec rename quick start- it is really not quick 2025-07-01 03:06:13 +02:00
yiyixuxu
b5db8aaa6f developer_guide -> end-to-end guide 2025-07-01 03:05:38 +02:00
yiyixuxu
98ea5c9e86 Merge branch 'modular-diffusers' of github.com:huggingface/diffusers into modular-diffusers 2025-06-30 22:10:10 +02:00
yiyixuxu
f27fbceba1 more attemp to fix circular import 2025-06-30 22:09:57 +02:00
YiYi Xu
4b12a60c93 Merge branch 'main' into modular-diffusers 2025-06-30 09:46:44 -10:00
yiyixuxu
abf28d55fb update 2025-06-30 21:45:30 +02:00
Aryan
f064b3bf73 Remove print statement in SCM Scheduler (#11836)
remove print
2025-06-30 09:07:34 -10:00
yiyixuxu
db4b54cfab finish the autopipelines section! 2025-06-30 21:05:32 +02:00
yiyixuxu
0138e176ac remove the get_exeuction_blocks rec from AutoPipelineBlocks repr 2025-06-30 21:05:12 +02:00
Benjamin Bossan
3b079ec3fa ENH: Improve speed of function expanding LoRA scales (#11834)
* ENH Improve speed of expanding LoRA scales

Resolves #11816

The following call proved to be a bottleneck when setting a lot of LoRA
adapters in diffusers:

cdaf84a708/src/diffusers/loaders/peft.py (L482)

This is because we would repeatedly call unet.state_dict(), even though
in the standard case, it is not necessary:

cdaf84a708/src/diffusers/loaders/unet_loader_utils.py (L55)

This PR fixes this by deferring this call, so that it is only run when
it's necessary, not earlier.

* Small fix

---------

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2025-06-30 20:25:56 +05:30
Sayak Paul
bc34fa8386 [lora]feat: use exclude modules to loraconfig. (#11806)
* feat: use exclude modules to loraconfig.

* version-guard.

* tests and version guard.

* remove print.

* describe the test

* more detailed warning message + shift to debug

* update

* update

* update

* remove test
2025-06-30 20:08:53 +05:30
yiyixuxu
bbd9340781 up 2025-06-30 11:30:06 +02:00
yiyixuxu
363737ec4b add loop sequential blocks 2025-06-30 11:09:08 +02:00
yiyixuxu
c5849ba9d5 more 2025-06-30 09:46:34 +02:00
yiyixuxu
f09b1ccfae start the section on sequential pipelines 2025-06-30 07:48:44 +02:00
yiyixuxu
285f877620 make InsertableDict importable from modular_pipelines 2025-06-30 07:48:26 +02:00
yiyixuxu
c75b88f86f up 2025-06-30 03:23:44 +02:00
YiYi Xu
b43e703fae Update docs/source/en/modular_diffusers/write_own_pipeline_block.md 2025-06-29 14:49:54 -10:00
YiYi Xu
9fae3828a7 Apply suggestions from code review 2025-06-29 14:49:31 -10:00
yiyixuxu
3a3441cb45 start the write your own pipeline block tutorial 2025-06-30 02:47:38 +02:00
yiyixuxu
fdd2bedae9 2024 -> 2025; fix a circular import 2025-06-29 03:00:46 +02:00
YiYi Xu
fedaa00bd5 Merge branch 'main' into modular-diffusers 2025-06-28 14:50:58 -10:00
yiyixuxu
8c680bc0b4 up 2025-06-28 14:11:17 +02:00
yiyixuxu
92b6b43805 add some visuals 2025-06-28 13:39:45 +02:00
yiyixuxu
49ea4d1bf5 style 2025-06-28 12:50:11 +02:00
yiyixuxu
58dbe0c29e finimsh the quickstart! 2025-06-28 12:46:21 +02:00
yiyixuxu
9aaec5b9bc up 2025-06-28 12:46:06 +02:00
yiyixuxu
93760b1888 InsertableOrderedDict -> InsertableDict 2025-06-28 09:15:13 +02:00
yiyixuxu
75540f42ee more blocks -> sub_blocks 2025-06-28 08:54:05 +02:00
yiyixuxu
b543bcc661 docstring blocks -> sub_blocks 2025-06-28 08:53:46 +02:00
yiyixuxu
885a596696 blocks -> sub_blocks; will not by default load all; add load_default_components method on modular_pipeline 2025-06-28 08:52:43 +02:00
yiyixuxu
655512e2cf components manager: change get -> search_models; add get_ids, get_components_by_ids, get_components_by_names 2025-06-28 08:35:50 +02:00