[diffusion] feat: enable breakable CUDA graphs for FLUX.2 Klein (#36470)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Murthy L
2026-10-09 16:40:09 +08:00
committed by GitHub
co-authored by Claude Opus 5
parent b922f5ca20
commit 3ab142adc4
@@ -237,6 +237,10 @@ BREAKABLE_CUDA_GRAPH_SUPPORTED_MODEL_IDS = frozenset(
"zai-org/glm-image",
"z-image",
"z-image-turbo",
"black-forest-labs/flux.2-klein-4b",
"black-forest-labs/flux.2-klein-9b",
"flux.2-klein-4b",
"flux.2-klein-9b",
}
)
@@ -259,6 +263,7 @@ BREAKABLE_CUDA_GRAPH_SUPPORTED_PIPELINE_CONFIGS = frozenset(
"SanaPipelineConfig",
"SanaVideoPipelineConfig",
"ZImagePipelineConfig",
"Flux2KleinPipelineConfig",
}
)
@@ -801,9 +806,9 @@ class ServerArgs(DisaggServerArgsMixin):
return
logger.warning(
"[Diffusion BCG] disabled for %s: only Anima Base v1.0, FLUX.1-dev, Ideogram-4, "
"jdopensource/JoyAI-Echo, Lightricks/LTX-2, LongCat-Image, "
"MiniMax-H3, Qwen/Qwen-Image, Qwen/Qwen-Image-2512, "
"[Diffusion BCG] disabled for %s: only Anima Base v1.0, FLUX.1-dev, "
"FLUX.2-Klein, Ideogram-4, jdopensource/JoyAI-Echo, Lightricks/LTX-2, "
"LongCat-Image, MiniMax-H3, Qwen/Qwen-Image, Qwen/Qwen-Image-2512, "
"Qwen/Qwen-Image-2.1, SANA1.5, "
"SANA-Video, Tongyi-MAI/Z-Image/Z-Image-Turbo, and "
"zai-org/GLM-Image are currently supported.",