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

5642 Commits

Author SHA1 Message Date
BuildTools
b85229e262 Fix all pipeline test 2025-06-13 07:07:05 -06:00
BuildTools
de9a07fc20 fix test skipping again 2025-06-13 05:47:41 -06:00
BuildTools
2b6722ecea fix test skipping 2025-06-13 05:35:58 -06:00
BuildTools
00ebba9725 skip batch tests 2025-06-13 05:25:11 -06:00
BuildTools
bea8b0d86e make style, make quality 2025-06-13 04:54:33 -06:00
BuildTools
28dea06b3d fix docs 2025-06-13 04:53:30 -06:00
BuildTools
60e41b7835 Merge remote-tracking branch 'origin/chroma' into chroma 2025-06-13 04:43:48 -06:00
BuildTools
876649336e Make most transformer tests work 2025-06-13 04:43:31 -06:00
Edna
272685c0e5 Merge branch 'main' into chroma 2025-06-13 04:38:42 -06:00
BuildTools
829c6f199e Make more pipeline tests work 2025-06-13 04:38:13 -06:00
Sayak Paul
368958df6f [LoRA] parse metadata from LoRA and save metadata (#11324)
* feat: parse metadata from lora state dicts.

* tests

* fix tests

* key renaming

* fix

* smol update

* smol updates

* load metadata.

* automatically save metadata in save_lora_adapter.

* propagate changes.

* changes

* add test to models too.

* tigher tests.

* updates

* fixes

* rename tests.

* sorted.

* Update src/diffusers/loaders/lora_base.py

Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com>

* review suggestions.

* removeprefix.

* propagate changes.

* fix-copies

* sd

* docs.

* fixes

* get review ready.

* one more test to catch error.

* change to a different approach.

* fix-copies.

* todo

* sd3

* update

* revert changes in get_peft_kwargs.

* update

* fixes

* fixes

* simplify _load_sft_state_dict_metadata

* update

* style fix

* uipdate

* update

* update

* empty commit

* _pack_dict_with_prefix

* update

* TODO 1.

* todo: 2.

* todo: 3.

* update

* update

* Apply suggestions from code review

Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com>

* reraise.

* move argument.

---------

Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com>
Co-authored-by: Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com>
2025-06-13 14:37:49 +05:30
Aryan
e52ceae375 Support Wan AccVideo lora (#11704)
* update

* make style

* Update src/diffusers/loaders/lora_conversion_utils.py

* add note explaining threshold
2025-06-13 11:55:08 +05:30
BuildTools
381e64b966 revert style fix 2025-06-12 22:22:39 -06:00
BuildTools
c330f08fa2 make fix-copes 2025-06-12 21:53:55 -06:00
BuildTools
523150fb2c fix import 2025-06-12 21:47:35 -06:00
BuildTools
2bc51c8387 try to fix import 2025-06-12 21:36:09 -06:00
BuildTools
fd36924620 remove # Copied from on protected members 2025-06-12 21:20:32 -06:00
Edna
e97a4dd0c7 fix # Copied from error 2025-06-12 21:13:12 -06:00
Edna
ad01d636be Merge branch 'main' into chroma 2025-06-12 21:06:55 -06:00
BuildTools
68b9cce897 switch to new input ids 2025-06-12 21:06:43 -06:00
github-actions[bot]
f49b149c1c Apply style fixes 2025-06-13 02:02:25 +00:00
Sayak Paul
62cbde8d41 [docs] mention fp8 benefits on supported hardware. (#11699)
* mention fp8 benefits on supported hardware.

* Update docs/source/en/quantization/torchao.md

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

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
2025-06-13 07:17:03 +05:30
Sayak Paul
648e8955cf swap out token for style bot. (#11701) 2025-06-13 06:51:19 +05:30
BuildTools
c85e46bd42 Fix auto pipeline + make style, quality 2025-06-12 10:31:02 -06:00
BuildTools
d31cf81566 Move Approximator and Embeddings 2025-06-12 10:20:27 -06:00
Edna
2347d53f90 Update src/diffusers/models/transformers/transformer_chroma.py
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
2025-06-12 10:12:27 -06:00
Edna
cfd5b34051 fix chroma pipeline fast tests 2025-06-12 03:49:39 -06:00
Edna
c8d6aef936 chroma init 2025-06-12 03:47:24 -06:00
Edna
f8d4a1a774 move chroma test (oops) 2025-06-12 03:46:28 -06:00
Edna
15ca813e3e Add transformer tests 2025-06-12 03:45:43 -06:00
Edna
7235805e75 Revert cond + uncond batching 2025-06-12 03:40:52 -06:00
Edna
abf8a33a96 update norm imports 2025-06-12 03:33:23 -06:00
Edna
6a0db55af8 Update # Copied from statements 2025-06-12 03:27:35 -06:00
Edna
fe5af79a19 Add # Copied from for shift 2025-06-12 03:23:09 -06:00
Edna
bedb32087a (untested) batch cond and uncond 2025-06-12 03:18:33 -06:00
Edna
03fbd520f4 Add chroma fast tests 2025-06-12 03:11:48 -06:00
Edna
1442c9789a Remove pruned AdaLayerNorms 2025-06-12 03:05:10 -06:00
Edna
a1fac68a2d Move chroma layers into transformer 2025-06-12 03:04:41 -06:00
Edna
3e36a21c8e Update chroma.md 2025-06-12 02:58:21 -06:00
Edna
a93e64d6fb Update docs/source/en/api/models/chroma_transformer.md
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
2025-06-12 02:57:28 -06:00
Edna
3f39b1a730 do_cfg -> self.do_classifier_free_guidance 2025-06-12 02:56:24 -06:00
Edna
18327cb57c Update docs/source/en/api/pipelines/chroma.md
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
2025-06-12 02:52:39 -06:00
Edna
da846d1fff fix hf papers regression in more places 2025-06-12 00:53:40 -06:00
Edna
42c0e8ecbe undo arxiv change
unsure why that happened
2025-06-12 00:50:36 -06:00
Edna
0c5eb44701 undo don't change dtype 2025-06-12 00:46:41 -06:00
Edna
b0cf6803a7 initial chroma docs 2025-06-11 22:07:21 -06:00
Edna
f821f2ad5e add .md (oops) 2025-06-11 21:54:43 -06:00
Edna
619921ca22 add chroma autodoc 2025-06-11 21:53:27 -06:00
BuildTools
1efa772f69 remove unused stuff, fix up docs 2025-06-11 21:46:40 -06:00
Edna
3e2452ded0 dont change dtype 2025-06-11 21:23:35 -06:00