1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00
Commit Graph

5652 Commits

Author SHA1 Message Date
DN6
292469d755 update 2025-06-13 18:43:26 +05:30
DN6
bf56c953b8 Merge branch 'chroma-fork' into chroma-final 2025-06-13 18:41:56 +05:30
BuildTools
b85229e262 Fix all pipeline test 2025-06-13 07:07:05 -06:00
DN6
f1be3ebc98 Merge branch 'chroma-fork' into chroma-final 2025-06-13 18:30:13 +05:30
Dhruv Nair
6735507705 fix for tests 2025-06-13 14:51:42 +02: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
Dhruv Nair
89faa71f04 fix batch inference 2025-06-13 12:31:11 +02: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
DN6
926dcc6319 update to pad tokens 2025-06-13 13:43:17 +05:30
DN6
74fe45e823 update chroma transformer approximator init params 2025-06-13 13:36:39 +05:30
DN6
35dc65b7da update chroma transformer params 2025-06-13 13:30:04 +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
DN6
f35ec17a83 Merge remote-tracking branch '11698/chroma' into chroma-final 2025-06-13 11:28:57 +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
DN6
19733af2fc make style 2025-06-13 07:22:45 +05:30
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