diffusers
Fix QwenImage txt_seq_lens handling
#12702
Merged

Fix QwenImage txt_seq_lens handling #12702

sayakpaul merged 59 commits into huggingface:main from kashif:txt_seq_lens
kashif
kashif Fix QwenImage txt_seq_lens handling
b547fcf1
kashif kashif requested a review from sayakpaul sayakpaul 213 days ago
HuggingFaceDocBuilderDev
kashif formatting
72a80c66
kashif formatting
88cee8b5
sayakpaul sayakpaul requested a review from yiyixuxu yiyixuxu 213 days ago
dxqb
dxqb
dxqb commented on 2025-11-29
kashif remove txt_seq_lens and use bool mask
ac5ac24d
kashif Merge branch 'main' into txt_seq_lens
04775260
kashif
kashif use compute_text_seq_len_from_mask
18efdded
kashif add seq_lens to dispatch_attention_fn
6a549d45
kashif use joint_seq_lens
2d424e03
kashif remove unused index_block
30b5f988
yiyixuxu
yiyixuxu commented on 2025-12-05
kashif Merge branch 'main' into txt_seq_lens
588dc049
kashif WIP: Remove seq_lens parameter and use mask-based approach
f1c2d996
kashif Merge branch 'txt_seq_lens' of https://github.com/kashif/diffusers in…
ec524175
kashif fix formatting
beeb0206
kashif undo sage changes
5c6f8e39
kashif xformers support
5d434f63
sayakpaul
kashif hub fix
71ba6036
kashif
kashif Merge branch 'main' into txt_seq_lens
babf490b
kashif fix torch compile issues
afad3357
sayakpaul
sayakpaul commented on 2025-12-09
sayakpaul Merge branch 'main' into txt_seq_lens
2d5ab166
kashif fix tests
c78a1e96
kashif use _prepare_attn_mask_native
d6d4b1d1
kashif proper deprecation notice
e999b769
kashif add deprecate to txt_seq_lens
8115f0b2
yiyixuxu
yiyixuxu
yiyixuxu commented on 2025-12-09
yiyixuxu
yiyixuxu commented on 2025-12-09
yiyixuxu
yiyixuxu commented on 2025-12-09
kashif Update src/diffusers/models/transformers/transformer_qwenimage.py
3b1510c3
kashif Update src/diffusers/models/transformers/transformer_qwenimage.py
3676d8e7
kashif Only create the mask if there's actual padding
9ed0ffd5
kashif Merge branch 'main' into txt_seq_lens
abec4615
kashif fix order of docstrings
e26e7b36
yiyixuxu
yiyixuxu approved these changes on 2025-12-10
cdutr Adds performance benchmarks and optimization details for QwenImage
59e38829
cdutr
naykun
naykun requested changes on 2025-12-12
naykun
kashif Merge branch 'main' into txt_seq_lens
0cb2138d
kashif rope_text_seq_len = text_seq_len
60bd4543
kashif rename to max_txt_seq_len
a5abbb8c
kashif Merge branch 'main' into txt_seq_lens
8415c57d
kashif Merge branch 'main' into txt_seq_lens
afff5b7d
kashif Merge branch 'main' into txt_seq_lens
8dc6c3f3
kashif removed deprecated args
22cb03db
sayakpaul
sayakpaul commented on 2025-12-17
kashif undo unrelated change
125a3a41
cdutr Updates QwenImage performance documentation
b5b63421
cdutr Updates deprecation warnings for txt_seq_lens parameter
61f52658
kashif fix compile
2ef38e2c
kashif Merge branch 'txt_seq_lens' of https://github.com/kashif/diffusers in…
270c63fa
kashif formatting
35efa063
kashif fix compile tests
50c48152
kashif Merge branch 'main' into txt_seq_lens
c88bc063
kashif rename helper
1433783b
kashif remove duplicate
8de799cb
sayakpaul
sayakpaul commented on 2025-12-18
kashif smaller values
fc937471
kashif Merge branch 'main' into txt_seq_lens
8bb47d8c
kashif removed
b7c288a3
kashif Merge branch 'main' into txt_seq_lens
4700b7fe
dxqb
dxqb commented on 2025-12-21
dxqb
dxqb commented on 2025-12-21
kashif use torch.cond for torch compile
4fe76594
kashif Construct joint attention mask once
77902bcf
kashif
kashif test different backends
5b570c79
dxqb
kashif
dxqb
kashif Merge branch 'main' into txt_seq_lens
4d4e5f48
yiyixuxu
yiyixuxu
yiyixuxu commented on 2026-01-07
yiyixuxu yiyixuxu added close-to-merge
kashif construct joint attention mask once to avoid reconstructing in every …
8ee4d958
kashif Update src/diffusers/models/attention_dispatch.py
11e0e453
kashif formatting
9d760740
naykun
sayakpaul Merge branch 'main' into txt_seq_lens
67a7d242
sayakpaul
naykun
kashif raising an error from the EditPlus pipeline when batch_size > 1
d20222d9
sayakpaul sayakpaul merged dad5cb55 into main 163 days ago
sayakpaul
yiyixuxu yiyixuxu removed close-to-merge
DefTruth
sayakpaul
DefTruth
sayakpaul
DefTruth
DefTruth
DefTruth
GengarWu
kashif kashif deleted the txt_seq_lens branch 159 days ago
kashif
JoeGaffney
JoeGaffney
DefTruth
asomoza
DefTruth
DefTruth

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone