[Model] Add HiDream-O1-Image support (#5194)

Signed-off-by: yixiaoer <shin@yixiaoer.sg>
This commit is contained in:
Shin authored and GitHub committed 2026-08-21 14:15:37 +08:00
1 parent 73b623f2f7
commit 70bdd49402
16 files changed
+1621 -6

No files matched your search

+6
View File
@@ -336,6 +336,11 @@ _DIFFUSION_MODELS = {
"pipeline_hidream_image",
"HiDreamImagePipeline",
),
"HiDreamO1ImagePipeline": (
"hidream_o1_image",
"pipeline_hidream_o1_image",
"HiDreamO1ImagePipeline",
),
"DreamZeroPipeline": (
"dreamzero",
"pipeline_dreamzero",
@@ -600,6 +605,7 @@ _DIFFUSION_POST_PROCESS_FUNCS = {
"Cosmos3OmniDiffusersPipeline": "get_cosmos3_post_process_func",
"Cosmos3OmniPipeline": "get_cosmos3_post_process_func",
"HiDreamImagePipeline": "get_hidream_image_post_process_func",
"HiDreamO1ImagePipeline": "get_hidream_o1_image_post_process_func",
"StableDiffusionXLPipeline": "get_sdxl_image_post_process_func",
"Krea2Pipeline": "get_krea2_post_process_func",
"HunyuanImage3ForCausalMM": "get_hunyuan_image3_post_process_func",