[New model] Qwen-Image-2.1 support (rebase + review follow-ups) (#8099)

Signed-off-by: NumberWan <wantszkin2003@gmail.com>
Signed-off-by: SamitHuang <285365963@qq.com>
Signed-off-by: Samit <285365963@qq.com>
Co-authored-by: Isotr0py <Isotr0py@outlook.com>
Co-authored-by: Tianyu Guo <guoty9@mail2.sysu.edu.cn>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: SamitHuang <285365963@qq.com>
Co-authored-by: Gao Han <hgaoaf@connect.ust.hk>
This commit is contained in:
authored and GitHub committed 2026-10-07 21:23:59 +08:00
1 parent 8ef77be66e
commit 3dc35694b3
52 files changed
+8058 -136

No files matched your search

+10
View File
@@ -614,6 +614,16 @@ class OmniServeCommand(CLISubcommand):
"Disable for fixed-shape workloads with --no-diffusion-compile-dynamic."
),
)
omni_config_group.add_argument(
"--enable-cuda-graph-decode",
action=argparse.BooleanOptionalAction,
default=None,
help=(
"Capture fixed-shape KV-cache decode steps into CUDA graphs on models that implement them "
"(currently Qwen-Image-2.1). Independent of compilation_config.cudagraph_mode; "
"disable with --no-enable-cuda-graph-decode. --enforce-eager also disables it."
),
)
omni_config_group.add_argument(
"--fa-deterministic",
dest="fa_deterministic",