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

5704 Commits

Author SHA1 Message Date
yiyixuxu
7492e331b4 fix 2025-06-26 03:43:10 +02:00
yiyixuxu
ab6d63407a style 2025-06-26 03:37:58 +02:00
yiyixuxu
da4242d467 use diffusers ModelHook, raise a import error for accelerate inside enable_auto_cpu_offload 2025-06-26 03:36:34 +02:00
yiyixuxu
129d658da7 oops, fix 2025-06-26 01:36:43 +02:00
yiyixuxu
75e62385f5 revert changes in pipelines.stable_diffusion_xl folder, can seperate PR later 2025-06-26 01:35:00 +02:00
yiyixuxu
a33206d22b fix 2025-06-26 01:31:51 +02:00
yiyixuxu
a82e211f89 style 2025-06-26 00:48:23 +02:00
yiyixuxu
f3453f05ff copy 2025-06-26 00:47:33 +02:00
yiyixuxu
c437ae72c6 copies 2025-06-25 23:26:59 +02:00
yiyixuxu
9530245e17 correct code format 2025-06-25 12:10:35 +02:00
yiyixuxu
74b908b7e2 style 2025-06-25 12:04:52 +02:00
yiyixuxu
7d2a633e02 style 2025-06-25 11:26:36 +02:00
YiYi Xu
cb328d3ff9 Apply suggestions from code review 2025-06-24 23:12:26 -10:00
YiYi Xu
8c038f0e62 Update src/diffusers/loaders/lora_base.py 2025-06-24 23:05:23 -10:00
yiyixuxu
5917d7039f remove lora related changes 2025-06-25 11:04:25 +02:00
yiyixuxu
c0327e493e update init 2025-06-25 10:49:09 +02:00
YiYi Xu
174628edf4 Merge branch 'main' into modular-diffusers 2025-06-24 22:01:03 -10:00
yiyixuxu
1c9f0a83c9 ujpdate toctree 2025-06-25 09:14:19 +02:00
yiyixuxu
cdaaa40d31 update ComponentSpec.from_component, only update config if it is created with from_config 2025-06-25 08:56:08 +02:00
yiyixuxu
ffbaa890ba move save_pretrained to the correct place 2025-06-25 08:55:06 +02:00
yiyixuxu
e49413d87d update doc 2025-06-25 08:52:15 +02:00
Sayak Paul
80f27d7e8d [tests] skip instead of returning. (#11793)
skip instead of returning.
2025-06-25 08:59:36 +05:30
Sayak Paul
d3e27e05f0 guard omnigen processor. (#11799) 2025-06-24 19:15:34 +05:30
Aryan
5df02fc171 [tests] Fix group offloading and layerwise casting test interaction (#11796)
* update

* update

* update
2025-06-24 17:33:32 +05:30
Sayak Paul
7392c8ff5a [chore] raise as early as possible in group offloading (#11792)
* raise as early as possible in group offloading

* remove check from ModuleGroup
2025-06-24 15:05:23 +05:30
Aryan
474a248f10 [tests] Fix HunyuanVideo Framepack device tests (#11789)
update
2025-06-24 13:49:37 +05:30
yiyixuxu
48e4ff5c05 update overview 2025-06-24 10:17:35 +02:00
yiyixuxu
7c78fb1aad add a overview doc page 2025-06-24 08:16:34 +02:00
YiYi Xu
7bc0a07b19 [lora] only remove hooks that we add back (#11768)
up
2025-06-23 16:49:19 -10:00
Sayak Paul
92542719ed [docs] minor cleanups in the lora docs. (#11770)
* minor cleanups in the lora docs.

* Apply suggestions from code review

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* format docs

* fix copies

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
2025-06-24 08:10:07 +05:30
yiyixuxu
bb4044362e up 2025-06-23 18:37:28 +02:00
yiyixuxu
1ae591e817 update code format 2025-06-23 18:08:55 +02:00
yiyixuxu
42c06e90f4 update doc 2025-06-23 17:55:32 +02:00
yiyixuxu
085ade03be add doc (developer guide) 2025-06-23 16:12:31 +02:00
yiyixuxu
78d2454c7c fix 2025-06-23 16:06:17 +02:00
imbr92
6760300202 Add --lora_alpha and metadata handling to train_dreambooth_lora_sana.py (#11744)
Co-authored-by: Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com>
2025-06-23 15:46:44 +03:00
Yuanchen Guo
798265f2b6 [Wan] Fix mask padding in Wan VACE pipeline. (#11778) 2025-06-23 16:28:21 +05:30
Dhruv Nair
cd813499be [CI] Skip ONNX Upscale tests (#11774)
update
2025-06-23 12:14:01 +05:30
Sayak Paul
fbddf02807 [tests] properly skip tests instead of return (#11771)
model test updates
2025-06-23 11:59:59 +05:30
Yao Matrix
f20b83a04f enable cpu offloading of new pipelines on XPU & use device agnostic empty to make pipelines work on XPU (#11671)
* commit 1

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

* patch 2

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

* Update pipeline_pag_sana.py

* Update pipeline_sana.py

* Update pipeline_sana_controlnet.py

* Update pipeline_sana_sprint_img2img.py

* Update pipeline_sana_sprint.py

* fix style

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

* fix fat-thumb while merge conflict

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

* fix ci issues

Signed-off-by: YAO Matrix <matrix.yao@intel.com>

---------

Signed-off-by: YAO Matrix <matrix.yao@intel.com>
Co-authored-by: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com>
2025-06-23 09:44:16 +05:30
jiqing-feng
ee40088fe5 enable deterministic in bnb 4 bit tests (#11738)
* enable deterministic in bnb 4 bit tests

Signed-off-by: jiqing-feng <jiqing.feng@intel.com>

* fix 8bit test

Signed-off-by: jiqing-feng <jiqing.feng@intel.com>

---------

Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
2025-06-23 08:17:36 +05:30
yiyixuxu
19545fd3e1 update components manager __repr__ 2025-06-22 12:59:19 +02:00
yiyixuxu
d12531ddf7 lora: only remove hooks that we add back 2025-06-22 12:32:04 +02:00
yiyixuxu
4751d456f2 shorten loop subblock name 2025-06-22 12:31:16 +02:00
Tolga Cangöz
7fc53b5d66 Fix dimensionalities in apply_rotary_emb functions' comments (#11717)
Fix dimensionality in `apply_rotary_emb` functions' comments.
2025-06-21 12:09:28 -10:00
yiyixuxu
083479c365 ordereddict -> insertableOrderedDict; make sure loader to method works 2025-06-21 04:28:10 +02:00
yiyixuxu
04c16d0a56 update 2025-06-21 04:25:12 +02:00
yiyixuxu
9e58856b7a add __repr__ method for InsertableOrderedDict 2025-06-21 04:24:44 +02:00
Steven Liu
0874dd04dc [docs] LoRA scale scheduling (#11727)
draft
2025-06-20 10:15:29 -07:00
Steven Liu
6184d8a433 [docs] device_map (#11711)
draft

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2025-06-20 10:14:48 -07:00