[Model] Support stable diffusion3 (#439)

Signed-off-by: iwzbi <iwzbi@zju.edu.cn>
Signed-off-by: iwzbi <wzbi@zju.edu.cn>
Co-authored-by: iwzbi <iwzbi@zju.edu.cn>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
authored and GitHub committed 2025-12-27 21:51:03 +08:00
1 parent 2f69748ee4
commit c9eace8371
5 files changed
+1159

No files matched your search

+6
View File
@@ -59,6 +59,11 @@ _DIFFUSION_MODELS = {
"pipeline_longcat_image_edit",
"LongcatImageEditPipeline",
),
"StableDiffusion3Pipeline": (
"sd3",
"pipeline_sd3",
"StableDiffusion3Pipeline",
),
}
@@ -102,6 +107,7 @@ _DIFFUSION_POST_PROCESS_FUNCS = {
"WanImageToVideoPipeline": "get_wan22_i2v_post_process_func",
"LongCatImagePipeline": "get_longcat_image_post_process_func",
"LongCatImageEditPipeline": "get_longcat_image_post_process_func",
"StableDiffusion3Pipeline": "get_sd3_image_post_process_func",
}
_DIFFUSION_PRE_PROCESS_FUNCS = {