[diffusion] fix: Increase text length from 256 to 1024 in Qwen-Image (#16248)

Co-authored-by: Mick <mickjagger19@icloud.com>
This commit is contained in:
Changyi Yang
2026-01-02 10:25:31 -05:00
committed by GitHub
parent c483a5f45f
commit 0eae831797

View File

@@ -45,7 +45,7 @@ class QwenImageArchConfig(TextEncoderArchConfig):
mlp_bias: bool = False
head_dim: int | None = None
hidden_state_skip_layer: int = 2
text_len: int = 256
text_len: int = 1024
stacked_params_mapping: list[tuple[str, str, str]] = field(
default_factory=lambda: [