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

5400 Commits

Author SHA1 Message Date
DN6
8d6d012b18 update 2025-04-21 19:28:26 +05:30
DN6
1a25d54917 update 2025-04-21 17:18:51 +05:30
DN6
53efae0af2 update 2025-04-21 16:48:17 +05:30
DN6
3014195c55 update 2025-04-21 16:43:04 +05:30
DN6
574a1b0476 update 2025-04-21 16:34:38 +05:30
DN6
8734fc6c63 update 2025-04-21 16:08:00 +05:30
DN6
5929e8b03f update 2025-04-21 15:52:16 +05:30
DN6
13fb4216b0 update 2025-04-21 15:44:18 +05:30
DN6
09de36c4d8 update 2025-04-21 15:33:50 +05:30
DN6
737216c23d update 2025-04-21 15:16:33 +05:30
DN6
ee00adec72 update 2025-04-21 14:57:36 +05:30
DN6
4f1ab190bb update 2025-04-21 14:48:39 +05:30
DN6
c6947e0849 update 2025-04-21 14:43:43 +05:30
DN6
3a93eb5b4f update 2025-04-21 13:27:59 +05:30
DN6
0dd33b2db9 update 2025-04-21 13:09:47 +05:30
DN6
1b53d16477 update 2025-04-21 12:42:49 +05:30
Dhruv Nair
605cff1538 update 2025-04-18 16:39:03 +02:00
Dhruv Nair
f3553fed36 update 2025-04-18 14:34:06 +02:00
Dhruv Nair
3c3556e5fe update 2025-04-18 11:49:58 +02:00
Dhruv Nair
05b0162b73 update 2025-04-18 11:44:18 +02:00
Dhruv Nair
4d40ea3897 update 2025-04-18 11:24:47 +02:00
Dhruv Nair
ca1c5ccddc update 2025-04-17 14:15:00 +02:00
Dhruv Nair
c41bae5540 Merge branch 'pipeline-deprecate' of https://github.com/huggingface/diffusers into pipeline-deprecate 2025-04-17 14:05:51 +02:00
Dhruv Nair
5aa47f6152 update 2025-04-17 13:57:03 +02:00
Dhruv Nair
e47e0e13e6 update 2025-04-17 13:20:33 +02:00
Dhruv Nair
6bedba63e8 update 2025-04-17 12:48:42 +02:00
Dhruv Nair
c1aac15394 update 2025-04-17 11:01:50 +02:00
DN6
01ad711645 update 2025-04-17 14:04:56 +05:30
DN6
c9b034b94e update 2025-04-17 13:50:14 +05:30
DN6
99a8f0fca9 update 2025-04-17 13:45:08 +05:30
DN6
19afac19fa update 2025-04-17 00:41:45 +05:30
DN6
b797186e84 update 2025-04-17 00:39:19 +05:30
DN6
c68db8014f update 2025-04-17 00:29:31 +05:30
Dhruv Nair
59f1b7b1c8 Hunyuan I2V fast tests fix (#11341)
* update

* update
2025-04-16 18:40:33 +05:30
Sayak Paul
ce1063acfa [docs] add a snippet for compilation in the auraflow docs. (#11327)
* add a snippet for compilation in the auraflow docs.

* include speedups.
2025-04-16 11:12:09 +05:30
Sayak Paul
7212f35de2 [single file] enable telemetry for single file loading when using GGUF. (#11284)
* enable telemetry for single file loading when using GGUF.

* quality
2025-04-16 08:33:52 +05:30
Sayak Paul
3252d7ad11 unpin torch versions for onnx Dockerfile (#11290)
unpin torch versions for onnx
2025-04-16 08:16:38 +05:30
Dhruv Nair
b316104ddd Fix Hunyuan I2V for transformers>4.47.1 (#11293)
* update

* update
2025-04-16 07:53:32 +05:30
Álvaro Somoza
d3b2699a7f another fix for FlowMatchLCMScheduler forgotten import (#11330)
fix
2025-04-15 13:53:16 -10:00
Sayak Paul
4b868f14c1 post release 0.33.0 (#11255)
* post release

* update

* fix deprecations

* remaining

* update

---------

Co-authored-by: YiYi Xu <yixu310@gmail.com>
2025-04-15 06:50:08 -10:00
AstraliteHeart
b6156aafe9 Rewrite AuraFlowPatchEmbed.pe_selection_index_based_on_dim to be torch.compile compatible (#11297)
* Update pe_selection_index_based_on_dim

* Make pe_selection_index_based_on_dim work with torh.compile

* Fix AuraFlowTransformer2DModel's dpcstring default values

---------

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2025-04-15 19:30:30 +05:30
Sayak Paul
7ecfe29160 [docs] fix hidream docstrings. (#11325)
* fix hidream docstrings.

* fix

* empty commit
2025-04-15 16:26:21 +05:30
Yao Matrix
7edace9a05 fix CPU offloading related fail cases on XPU (#11288)
* fix CPU offloading related fail cases on XPU

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

* fix style

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

* Apply style fixes

* trigger tests

* test_pipe_same_device_id_offload

---------

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: hlky <hlky@hlky.ac>
2025-04-15 09:06:56 +01:00
hlky
6e80d240d3 Fix vae.Decoder prev_output_channel (#11280) 2025-04-15 08:03:50 +01:00
Hameer Abbasi
9352a5ca56 [LoRA] Add LoRA support to AuraFlow (#10216)
* Add AuraFlowLoraLoaderMixin

* Add comments, remove qkv fusion

* Add Tests

* Add AuraFlowLoraLoaderMixin to documentation

* Add Suggested changes

* Change attention_kwargs->joint_attention_kwargs

* Rebasing derp.

* fix

* fix

* Quality fixes.

* make style

* `make fix-copies`

* `ruff check --fix`

* Attept 1 to fix tests.

* Attept 2 to fix tests.

* Attept 3 to fix tests.

* Address review comments.

* Rebasing derp.

* Get more tests passing by copying from Flux. Address review comments.

* `joint_attention_kwargs`->`attention_kwargs`

* Add `lora_scale` property for te LoRAs.

* Make test better.

* Remove useless property.

* Skip TE-only tests for AuraFlow.

* Support LoRA for non-CLIP TEs.

* Restore LoRA tests.

* Undo adding LoRA support for non-CLIP TEs.

* Undo support for TE in AuraFlow LoRA.

* `make fix-copies`

* Sync with upstream changes.

* Remove unneeded stuff.

* Mirror `Lumina2`.

* Skip for MPS.

* Address review comments.

* Remove duplicated code.

* Remove unnecessary code.

* Remove repeated docs.

* Propagate attention.

* Fix TE target modules.

* MPS fix for LoRA tests.

* Unrelated TE LoRA tests fix.

* Fix AuraFlow LoRA tests by applying to the right denoiser layers.

Co-authored-by: AstraliteHeart <81396681+AstraliteHeart@users.noreply.github.com>

* Apply style fixes

* empty commit

* Fix the repo consistency issues.

* Remove unrelated changes.

* Style.

* Fix `test_lora_fuse_nan`.

* fix quality issues.

* `pytest.xfail` -> `ValueError`.

* Add back `skip_mps`.

* Apply style fixes

* `make fix-copies`

---------

Co-authored-by: Warlord-K <warlordk28@gmail.com>
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
Co-authored-by: AstraliteHeart <81396681+AstraliteHeart@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-15 10:41:28 +05:30
Sayak Paul
cefa28f449 [docs] Promote AutoModel usage (#11300)
* docs: promote the usage of automodel.

* bitsandbytes

* Apply suggestions from code review

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

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
2025-04-15 09:25:40 +05:30
Beinsezii
8819cda6c0 Add skrample section to community_projects.md (#11319)
Update community_projects.md

https://github.com/huggingface/diffusers/discussions/11158#discussioncomment-12681691
2025-04-14 12:12:59 -10:00
hlky
dcf836cf47 Use float32 on mps or npu in transformer_hidream_image's rope (#11316) 2025-04-14 20:19:21 +01:00
Álvaro Somoza
1cb73cb19f import for FlowMatchLCMScheduler (#11318)
* add

* fix-copies
2025-04-14 06:28:57 -10:00
Linoy Tsaban
ba6008abfe [HiDream] code example (#11317) 2025-04-14 16:19:30 +01:00