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

5569 Commits

Author SHA1 Message Date
Edna
68f771bf43 take pooled projections out of transformer 2025-06-11 19:38:38 -06:00
Edna
df7fde7a6d fix load 2025-06-11 19:36:34 -06:00
Edna
77b429eda4 change to my own unpooled embeddeer 2025-06-11 19:35:10 -06:00
Edna
3309ffef1c remove pooled prompt embeds 2025-06-11 19:33:17 -06:00
Edna
146255aba1 no attn mask (can't get it to work) 2025-06-11 19:17:29 -06:00
Edna
c9b46af65f wrap attn mask 2025-06-11 19:16:24 -06:00
Edna
7c75d8e98d dont modify mask (for now) 2025-06-11 19:15:18 -06:00
Edna
38429ffcac remove mask function 2025-06-11 19:11:47 -06:00
Edna
f190c02af7 work on swapping text encoders 2025-06-11 19:09:37 -06:00
Edna
6c0aed14db remove prompt_2 2025-06-11 19:06:45 -06:00
Edna
0b027a2453 swap embedder location 2025-06-11 19:04:52 -06:00
Edna
2fcc75a6d8 take out variant from blocks 2025-06-11 18:55:56 -06:00
Edna
af918c89dd change to chroma transformer 2025-06-11 18:55:03 -06:00
Edna
7445cf422a add chroma to pipeline init 2025-06-11 18:53:06 -06:00
Edna
a6f231c7ce add chroma to auto pipeline 2025-06-11 18:51:45 -06:00
Edna
6441e70def update 2025-06-11 18:48:44 -06:00
Edna
f0c75b6b6f update 2025-06-11 18:46:51 -06:00
Edna
5eb4b822ae fix single file 2025-06-11 18:38:58 -06:00
Edna
4e698b1088 add chroma to init 2025-06-11 18:21:10 -06:00
Edna
c22930d7cc add chroma to init 2025-06-11 18:18:56 -06:00
Edna
7400278857 add chroma transformer to dummy tp 2025-06-11 18:16:44 -06:00
Edna
32659236b2 make chroma output class 2025-06-10 02:24:23 -06:00
Edna
c8cbb31614 add chroma init 2025-06-10 02:22:52 -06:00
Edna
b0df9691d2 get decently far in changing variant stuff 2025-06-10 02:09:52 -06:00
Edna
22ecd19f91 take out variant stuff 2025-06-09 21:32:52 -06:00
Edna
33ea0b65a4 add chroma to transformer init 2025-06-09 21:25:19 -06:00
Edna
bc36a0d883 add chroma to mappings 2025-06-09 21:15:19 -06:00
Edna
32e6a006cf add chroma loader 2025-06-09 21:13:32 -06:00
Edna
15f2bd5c39 working state (embeddings) 2025-06-09 21:05:59 -06:00
Edna
e271af9495 working state (normalization) 2025-06-09 21:03:10 -06:00
Edna
3c2865c534 working state form hameerabbasi and iddl (transformer) 2025-06-09 21:02:12 -06:00
Edna
ff0b9a3c4c working state from hameerabbasi and iddl 2025-06-09 20:59:00 -06:00
Philip Brown
6c7fad7ec8 Add community class StableDiffusionXL_T5Pipeline (#11626)
* Add community class StableDiffusionXL_T5Pipeline
Will be used with base model opendiffusionai/stablediffusionxl_t5

* Changed pooled_embeds to use projection instead of slice

* "make style" tweaks

* Added comments to top of code

* Apply style fixes
2025-06-09 15:57:51 -04: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
Valeriy Sofin
f46abfe4ce fixed axes_dims_rope init (huggingface#11641) (#11678) 2025-06-09 01:16:30 +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
Markus Pobitzer
745199a869 [examples] flux-control: use num_training_steps_for_scheduler (#11662)
[examples] flux-control: use num_training_steps_for_scheduler in get_scheduler instead of args.max_train_steps * accelerator.num_processes

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2025-06-05 14:56:25 +05:30
Sayak Paul
0142f6f35a [chore] bring PipelineQuantizationConfig at the top of the import chain. (#11656)
bring PipelineQuantizationConfig at the top of the import chain.
2025-06-05 14:17:03 +05:30
Dhruv Nair
d04cd95012 [CI] Some improvements to Nightly reports summaries (#11166)
* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* updatee

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2025-06-05 13:55:01 +05:30
Steven Liu
c934720629 [docs] Model cards (#11112)
* initial

* update

* hunyuanvideo

* ltx

* fix

* wan

* gen guide

* feedback

* feedback

* pipeline-level quant config

* feedback

* ltx
2025-06-02 16:55:14 -07:00
Steven Liu
9f48394bf7 [docs] Caching methods (#11625)
* cache

* feedback
2025-06-02 10:58:47 -07:00
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
Roy Hvaara
3a31b291f1 Use float32 RoPE freqs in Wan with MPS backends (#11643)
Use float32 for RoPE on MPS in Wan
2025-06-02 09:30:09 +05:30
Sayak Paul
b975bceff3 [docs] update torchao doc link (#11634)
update torchao doc link
2025-05-30 08:30:36 -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
Yaniv Galron
6508da6f06 typo fix in pipeline_flux.py (#11623) 2025-05-30 11:32:13 +05:30