[model] support FLUX.1-Kontext-dev (#561)

Signed-off-by: Lancer <maruxiiang6688@gmail.com>
Signed-off-by: Lancer <maruixiang6688@gmail.com>
Signed-off-by: Lancer <402430575@qq.com>
Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com>
Signed-off-by: Gao Han <hgaoaf@connect.ust.hk>
Co-authored-by: Lancer <maruxiiang6688@gmail.com>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
Co-authored-by: Gao Han <hgaoaf@connect.ust.hk>
This commit is contained in:
authored and GitHub committed 2026-03-23 17:17:58 +00:00
1 parent ec6ee1e336
commit 9bf8f8ce79
11 files changed
+1255 -126

No files matched your search

+6
View File
@@ -97,6 +97,11 @@ _DIFFUSION_MODELS = {
"pipeline_sd3",
"StableDiffusion3Pipeline",
),
"FluxKontextPipeline": (
"flux",
"pipeline_flux_kontext",
"FluxKontextPipeline",
),
"HunyuanImage3ForCausalMM": (
"hunyuan_image_3",
"pipeline_hunyuan_image_3",
@@ -319,6 +324,7 @@ _DIFFUSION_POST_PROCESS_FUNCS = {
"BagelPipeline": "get_bagel_post_process_func",
"LongCatImageEditPipeline": "get_longcat_image_post_process_func",
"StableDiffusion3Pipeline": "get_sd3_image_post_process_func",
"FluxKontextPipeline": "get_flux_kontext_post_process_func",
"Flux2KleinPipeline": "get_flux2_klein_post_process_func",
"NextStep11Pipeline": "get_nextstep11_post_process_func",
"FluxPipeline": "get_flux_post_process_func",