[diffusion] fix: reduce default text length for Qwen-Image from 1024 to 512 (#16445)

This commit is contained in:
Changyi Yang
2026-01-07 17:32:21 -08:00
committed by GitHub
parent 38dc5839dd
commit bb798a1c26

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 = 1024
text_len: int = 512
stacked_params_mapping: list[tuple[str, str, str]] = field(
default_factory=lambda: [