diffusers
Support unittest for Z-image ⚡️
#12715
Merged

Support unittest for Z-image ⚡️ #12715

yiyixuxu merged 38 commits into huggingface:main from JerryWu-code:z-image
JerryWu-code
JerryWu-code Add Support for Z-Image.
42658fad
JerryWu-code Reformatting with make style, black & isort.
3e74bb25
JerryWu-code Remove init, Modify import utils, Merge forward in transformers block…
a4b89a08
ChrisLiu6 modified main model forward, freqs_cis left
7df350d0
ChrisLiu6 Merge remote-tracking branch 'JerryWu-code/z-image-dev' into fork/Jer…
1dd587bb
ChrisLiu6 refactored to add B dim
aae03cf6
ChrisLiu6 fixed stack issue
21d81302
ChrisLiu6 fixed modulation bug
e3dfa9e6
ChrisLiu6 fixed modulation bug
a7fa7314
ChrisLiu6 fix bug
1e0cefe1
ChrisLiu6 remove value_from_time_aware_config
7adaae88
ChrisLiu6 styling
5b4c9074
JerryWu-code Fix neg embed and devide / bug; Reuse pad zero tensor; Turn cat -> re…
2bb39f46
JerryWu-code Replace padding with pad_sequence; Add gradient checkpointing.
71e8049a
JerryWu-code Fix flash_attn3 in dispatch attn backend by _flash_attn_forward, repl…
fbf26b7e
JerryWu-code Fix Docstring and Make Style.
6c0c059f
ChrisLiu6 Revert "Fix flash_attn3 in dispatch attn backend by _flash_attn_forwa…
28685dd3
ChrisLiu6 update z-image docstring
8e391b77
ChrisLiu6 Revert attention dispatcher
3b22e84b
ChrisLiu6 update z-image docstring
3d1a7aa3
ChrisLiu6 styling
336c5cee
JerryWu-code Recover attention_dispatch.py with its origin impl, later would speci…
38a89ede
JerryWu-code Fix prev bug, and support for prompt_embeds pass in args after prompt…
69d61e50
JerryWu-code Merge branch 'z-image-dev-ql' into z-image-dev
549ad576
JerryWu-code Remove einop dependency.
1dd8f3cf
JerryWu-code Merge branch 'z-image-dev' into z-image
2f2d8c3a
JerryWu-code Merge remote-tracking branch 'origin/main' into z-image
a74a0c43
ChrisLiu6 remove redundant imports & make fix-copies
e49a1f90
ChrisLiu6 fix import
1048d0a9
JerryWu-code Support for num_images_per_prompt>1; Remove redundant unquote variables.
266e169a
JerryWu-code Fix bugs for num_images_per_prompt with actual batch.
12d2fb28
JerryWu-code Add unit tests for Z-Image.
9a049f0c
JerryWu-code Refine unitest and skip for cases needed separate test env; Fix compa…
c4e4a57e
JerryWu-code Add clean env for test_save_load_float16 separ test; Add Note; Styling.
6f2808b6
JerryWu-code Merge current branch into ours for next pr compatibility.
e48060ce
JerryWu-code Merge branch 'main' into z-image
27a37cd4
HuggingFaceDocBuilderDev
yiyixuxu
yiyixuxu commented on 2025-11-26
JerryWu-code Update dtype mentioned by yiyi.
aeed8904
JerryWu-code Merge branch 'main' into z-image
e277137b
JerryWu-code
yiyixuxu
yiyixuxu approved these changes on 2025-11-26
yiyixuxu yiyixuxu merged e6d46123 into main 293 days ago
yiyixuxu
yiyixuxu commented on 2025-11-26

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone