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
829c6f199e
Make more pipeline tests work
2025-06-13 04:38:13 -06:00
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
03fbd520f4
Add chroma fast tests
2025-06-12 03:11:48 -06:00
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
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
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
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
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
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
Anwesha Chowdhury
7e3353196c
Fix deprecation warnings in test_ltx_image2video.py ( #11538 )
...
Fixed 2 warnings that were raised during running LTXImageToVideoPipelineFastTests
Co-authored-by: achowdhury1211@gmail.com <anwesha@LAPTOP-E5QGFMOQ>
2025-05-13 08:05:52 -10:00
Aryan
06fee551e9
LTX Video 0.9.7 ( #11516 )
...
* add upsampling pipeline
* ltx upsample pipeline conversion; pipeline fixes
* make fix-copies
* remove print
* add vae convenience methods
* update
* add tests
* support denoising strength for upscaling & video-to-video
* update docs
* update doc checkpoints
* update docs
* fix
---------
Co-authored-by: Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com >
2025-05-13 14:57:03 +05:30
Zhong-Yu Li
4f438de35a
Add VisualCloze ( #11377 )
...
* VisualCloze
* style quality
* add docs
* add docs
* typo
* Update docs/source/en/api/pipelines/visualcloze.md
* delete einops
* style quality
* Update src/diffusers/pipelines/visualcloze/pipeline_visualcloze.py
* reorg
* refine doc
* style quality
* typo
* typo
* Update src/diffusers/image_processor.py
* add comment
* test
* style
* Modified based on review
* style
* restore image_processor
* update example url
* style
* fix-copies
* VisualClozeGenerationPipeline
* combine
* tests docs
* remove VisualClozeUpsamplingPipeline
* style
* quality
* test examples
* quality style
* typo
* make fix-copies
* fix test_callback_cfg and test_save_load_dduf in VisualClozePipelineFastTests
* add EXAMPLE_DOC_STRING to VisualClozeGenerationPipeline
* delete maybe_free_model_hooks from pipeline_visualcloze_combined
* Apply suggestions from code review
* fix test_save_load_local test; add reason for skipping cfg test
* more save_load test fixes
* fix tests in generation pipeline tests
2025-05-13 02:46:51 +05:30
Yao Matrix
c3726153fd
enable several pipeline integration tests on XPU ( #11526 )
...
* enable kandinsky2_2 integration test cases on XPU
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* fix style
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* enable latent_diffusion, dance_diffusion, musicldm, shap_e integration
uts on xpu
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* fix style
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
---------
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
Co-authored-by: Aryan <aryan@huggingface.co >
2025-05-12 16:51:37 +05:30
Yao Matrix
d6bf268a4a
enable dit integration cases on xpu ( #11523 )
...
* enable dit integration test on XPU
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* fix style
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
---------
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
2025-05-09 16:06:50 +05:30
Yao Matrix
2d380895e5
enable 7 cases on XPU ( #11503 )
...
* enable 7 cases on XPU
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* calibrate A100 expectations
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
---------
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
2025-05-09 15:52:08 +05:30
Aryan
7b904941bc
Cosmos ( #10660 )
...
* begin transformer conversion
* refactor
* refactor
* refactor
* refactor
* refactor
* refactor
* update
* add conversion script
* add pipeline
* make fix-copies
* remove einops
* update docs
* gradient checkpointing
* add transformer test
* update
* debug
* remove prints
* match sigmas
* add vae pt. 1
* finish CV* vae
* update
* update
* update
* update
* update
* update
* make fix-copies
* update
* make fix-copies
* fix
* update
* update
* make fix-copies
* update
* update tests
* handle device and dtype for safety checker; required in latest diffusers
* remove enable_gqa and use repeat_interleave instead
* enforce safety checker; use dummy checker in fast tests
* add review suggestion for ONNX export
Co-Authored-By: Asfiya Baig <asfiyab@nvidia.com >
* fix safety_checker issues when not passed explicitly
We could either do what's done in this commit, or update the Cosmos examples to explicitly pass the safety checker
* use cosmos guardrail package
* auto format docs
* update conversion script to support 14B models
* update name CosmosPipeline -> CosmosTextToWorldPipeline
* update docs
* fix docs
* fix group offload test failing for vae
---------
Co-authored-by: Asfiya Baig <asfiyab@nvidia.com >
2025-05-07 20:59:09 +05:30
Aryan
d7ffe60166
Hunyuan Video Framepack ( #11428 )
...
* add transformer
* add pipeline
* fixes
* make fix-copies
* update
* add flux mu shift
* update example snippet
* debug
* cleanup
* batch_size=1 optimization
* add pipeline test
* fix for model cpu offloading'
* add last_image support; credits: https://github.com/lllyasviel/FramePack/pull/167
* update example with flf2v
* update penguin url
* fix test
* address review comment: https://github.com/huggingface/diffusers/pull/11428#discussion_r2071032371
* address review comment: https://github.com/huggingface/diffusers/pull/11428#discussion_r2071087689
* Update src/diffusers/pipelines/hunyuan_video/pipeline_hunyuan_video_framepack.py
---------
Co-authored-by: Linoy Tsaban <57615435+linoytsaban@users.noreply.github.com >
2025-05-06 14:59:38 +05:30
Yao Matrix
a674914fd5
enable semantic diffusion and stable diffusion panorama cases on XPU ( #11459 )
...
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
2025-05-05 15:28:07 +05:30
Sayak Paul
5dcdf4ac9a
[tests] xfail recent pipeline tests for specific methods. ( #11469 )
...
xfail recent pipeline tests for specific methods.
2025-05-01 18:33:52 +05:30
co63oc
86294d3c7f
Fix typos in docs and comments ( #11416 )
...
* Fix typos in docs and comments
* Apply style fixes
---------
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-30 20:30:53 -10:00
Yao Matrix
06beecafc5
make autoencoders. controlnet_flux and wan_transformer3d_single_file pass on xpu ( #11461 )
...
* make autoencoders. controlnet_flux and wan_transformer3d_single_file
pass on XPU
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* Apply style fixes
---------
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aryan <aryan@huggingface.co >
2025-05-01 02:43:31 +05:30
Yao Matrix
23c98025b3
make safe diffusion test cases pass on XPU and A100 ( #11458 )
...
* make safe diffusion test cases pass on XPU and A100
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* calibrate A100 expected values
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
---------
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
2025-04-30 16:05:28 +05:30
Yao Matrix
35fada4169
enable unidiffuser test cases on xpu ( #11444 )
...
* enable unidiffuser cases on XPU
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* fix a typo
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* fix style
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
---------
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
2025-04-30 13:58:00 +05:30
Yao Matrix
fbe2fe5578
enable consistency test cases on XPU, all passed ( #11446 )
...
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
2025-04-30 12:41:29 +05:30
Yao Matrix
60892c55a4
enable marigold_intrinsics cases on XPU ( #11445 )
...
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
2025-04-30 11:07:37 +05:30
Yao Matrix
9ce89e2efa
enable group_offload cases and quanto cases on XPU ( #11405 )
...
* enable group_offload cases and quanto cases on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
* use backend APIs
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
* fix style
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
---------
Signed-off-by: YAO Matrix <matrix.yao@intel.com >
Signed-off-by: Yao Matrix <matrix.yao@intel.com >
2025-04-28 06:37:16 +05:30
Sayak Paul
aa5f5d41d6
[tests] add tests to check for graph breaks, recompilation, cuda syncs in pipelines during torch.compile() ( #11085 )
...
* test for better torch.compile stuff.
* fixes
* recompilation and graph break.
* clear compilation cache.
* change to modeling level test.
* allow running compilation tests during nightlies.
2025-04-28 08:36:33 +08:00