DN6
d267bb6955
update
2025-06-14 01:20:39 +05:30
BuildTools
0978b609c8
fix tests
2025-06-14 00:17:17 +05:30
BuildTools
4e24f26d6f
default proj dim
2025-06-14 00:17:17 +05:30
BuildTools
8694f2ce53
add encoder test, remove pooled dim
2025-06-14 00:17:17 +05:30
BuildTools
fd3e94450a
push local changes, fix docs
2025-06-14 00:17:17 +05:30
Dhruv Nair
41751a3ec0
update
2025-06-13 20:41:49 +02:00
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
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
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
BuildTools
c85e46bd42
Fix auto pipeline + make style, quality
2025-06-12 10:31:02 -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
03fbd520f4
Add chroma fast tests
2025-06-12 03:11:48 -06:00
Sayak Paul
91545666e0
[tests] model-level device_map clarifications ( #11681 )
...
* add clarity in documentation for device_map
* docs
* fix how compiler tester mixins are used.
* propagate
* more
* typo.
* fix tests
* fix order of decroators.
* clarify more.
* more test cases.
* fix doc
* fix device_map docstring in pipeline_utils.
* more examples
* more
* update
* remove code for stuff that is already supported.
* fix stuff.
2025-06-11 22:41:59 +05:30
Sayak Paul
b6f7933044
[tests] tests for compilation + quantization (bnb) ( #11672 )
...
* start adding compilation tests for quantization.
* fixes
* make common utility.
* modularize.
* add group offloading+compile
* xfail
* update
* Update tests/quantization/test_torch_compile_utils.py
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
* fixes
---------
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2025-06-11 21:14:24 +05:30
Yao Matrix
33e636cea5
enable torchao test cases on XPU and switch to device agnostic APIs for test cases ( #11654 )
...
* enable torchao cases on XPU
Signed-off-by: Matrix YAO <matrix.yao@intel.com >
* device agnostic APIs
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
* more
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
* fix style
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
* enable test_torch_compile_recompilation_and_graph_break on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
* resolve comments
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
---------
Signed-off-by: Matrix YAO <matrix.yao@intel.com >
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
2025-06-11 15:17:06 +05:30
Sayak Paul
8e88495da2
[LoRA] support Flux Control LoRA with bnb 8bit. ( #11655 )
...
support Flux Control LoRA with bnb 8bit.
2025-06-11 08:32:47 +05:30
Akash Haridas
b79803fe08
Allow remote code repo names to contain "." ( #11652 )
...
* allow loading from repo with dot in name
* put new arg at the end to avoid breaking compatibility
* add test for loading repo with dot in name
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
2025-06-10 13:38:54 -10:00
Dhruv Nair
5b0dab1253
Introduce DeprecatedPipelineMixin to simplify pipeline deprecation process ( #11596 )
...
* update
* update
* update
* update
* update
* update
* update
2025-06-09 13:03:40 +05:30
Sayak Paul
7c6e9ef425
[tests] Fix how compiler mixin classes are used ( #11680 )
...
* fix how compiler tester mixins are used.
* propagate
* more
2025-06-09 09:24:45 +05:30
Aryan
73a9d5856f
Wan VACE ( #11582 )
...
* initial support
* make fix-copies
* fix no split modules
* add conversion script
* refactor
* add pipeline test
* refactor
* fix bug with mask
* fix for reference images
* remove print
* update docs
* update slices
* update
* update
* update example
2025-06-06 17:53:10 +05:30
Sayak Paul
16c955c5fd
[tests] add test for torch.compile + group offloading ( #11670 )
...
* add a test for group offloading + compilation.
* tests
2025-06-06 11:34:44 +05:30
jiqing-feng
0f91f2f6fc
use deterministic to get stable result ( #11663 )
...
* use deterministic to get stable result
Signed-off-by: jiqing-feng <jiqing.feng@intel.com >
* add deterministic for int8 test
Signed-off-by: jiqing-feng <jiqing.feng@intel.com >
---------
Signed-off-by: jiqing-feng <jiqing.feng@intel.com >
2025-06-06 09:14:00 +05:30
Sayak Paul
20273e5503
[tests] chore: rename lora model-level tests. ( #11481 )
...
chore: rename lora model-level tests.
2025-06-02 09:21:40 -07:00
Sayak Paul
d4dc4d7654
[chore] misc changes in the bnb tests for consistency. ( #11355 )
...
misc changes in the bnb tests for consistency.
2025-06-02 08:41:10 -07:00
co63oc
8183d0f16e
Fix typos in strings and comments ( #11476 )
...
* Fix typos in strings and comments
Signed-off-by: co63oc <co63oc@users.noreply.github.com >
* Update src/diffusers/hooks/hooks.py
Co-authored-by: Aryan <contact.aryanvs@gmail.com >
* Update src/diffusers/hooks/hooks.py
Co-authored-by: Aryan <contact.aryanvs@gmail.com >
* Update layerwise_casting.py
* Apply style fixes
* update
---------
Signed-off-by: co63oc <co63oc@users.noreply.github.com >
Co-authored-by: Aryan <contact.aryanvs@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-30 18:49:00 +05:30
Yao Matrix
a7aa8bf28a
enable group_offloading and PipelineDeviceAndDtypeStabilityTests on XPU, all passed ( #11620 )
...
* enable group_offloading and PipelineDeviceAndDtypeStabilityTests on XPU,
all passed
Signed-off-by: Matrix YAO <matrix.yao@intel.com >
* fix style
Signed-off-by: Matrix YAO <matrix.yao@intel.com >
* fix
Signed-off-by: Matrix YAO <matrix.yao@intel.com >
---------
Signed-off-by: Matrix YAO <matrix.yao@intel.com >
Co-authored-by: Aryan <aryan@huggingface.co >
2025-05-30 11:30:37 +05:30
Linoy Tsaban
28ef0165b9
[Sana Sprint] add image-to-image pipeline ( #11602 )
...
* sana sprint img2img
* fix import
* fix name
* fix image encoding
* fix image encoding
* fix image encoding
* fix image encoding
* fix image encoding
* fix image encoding
* try w/o strength
* try scaling differently
* try with strength
* revert unnecessary changes to scheduler
* revert unnecessary changes to scheduler
* Apply style fixes
* remove comment
* add copy statements
* add copy statements
* add to doc
* add to doc
* add to doc
* add to doc
* Apply style fixes
* empty commit
* fix copies
* fix copies
* fix copies
* fix copies
* fix copies
* docs
* make fix-copies.
* fix doc building error.
* initial commit - add img2img test
* initial commit - add img2img test
* fix import
* fix imports
* Apply style fixes
* empty commit
* remove
* empty commit
* test vocab size
* fix
* fix prompt missing from last commits
* small changes
* fix image processing when input is tensor
* fix order
* Apply style fixes
* empty commit
* fix shape
* remove comment
* image processing
* remove comment
* skip vae tiling test for now
* Apply style fixes
* empty commit
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sayakpaul <spsayakpaul@gmail.com >
2025-05-27 22:09:51 +03:00
Sayak Paul
a4da216125
[LoRA] improve LoRA fusion tests ( #11274 )
...
* improve lora fusion tests
* more improvements.
* remove comment
* update
* relax tolerance.
* num_fused_loras as a property
Co-authored-by: BenjaminBossan <benjamin.bossan@gmail.com >
* updates
* update
* fix
* fix
Co-authored-by: BenjaminBossan <benjamin.bossan@gmail.com >
* Update src/diffusers/loaders/lora_base.py
Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com >
---------
Co-authored-by: BenjaminBossan <benjamin.bossan@gmail.com >
Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com >
2025-05-27 09:02:12 -07:00
Dhruv Nair
826f43505d
Fix mixed variant downloading ( #11611 )
...
* update
* update
2025-05-26 21:43:48 +05:30
Sayak Paul
4af76d0d7d
[tests] Changes to the torch.compile() CI and tests ( #11508 )
...
* remove compile cuda docker.
* replace compile cuda docker path.
* better manage compilation cache.
* propagate similar to the pipeline tests.
* remove unneeded compile test.
* small.
* don't check for deleted files.
2025-05-26 08:31:04 -07:00
kaixuanliu
b5c2050a16
Fix bug when variant and safetensor file does not match ( #11587 )
...
* Apply style fixes
* init test
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com >
* adjust
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com >
* add the variant check when there are no component folders
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com >
* update related test cases
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com >
* update related unit test cases
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com >
* adjust
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com >
* Apply style fixes
---------
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-26 14:18:41 +05:30
Ishan Modi
f64fa9492d
[Feature] AutoModel can load components using model_index.json ( #11401 )
...
* update
* update
* update
* update
* addressed PR comments
* update
* addressed PR comments
* added tests
* addressed PR comments
* updates
* update
* addressed PR comments
* update
* fix style
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com >
2025-05-26 14:06:36 +05:30
Yao Matrix
049082e013
enable pipeline test cases on xpu ( #11527 )
...
* enable several pipeline integration tests on xpu
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* fix style
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* update per comments
Signed-off-by: Matrix Yao <matrix.yao@intel.com >
---------
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
Signed-off-by: Matrix Yao <matrix.yao@intel.com >
2025-05-26 12:49:58 +05:30
Sayak Paul
a5f4cc7f84
[LoRA] minor fix for load_lora_weights() for Flux and a test ( #11595 )
...
* fix peft delete adapters for flux.
* add test
* empty commit
2025-05-22 15:44:45 +05:30