[Model] Add HunyuanVideo-1.5 T2V and I2V support (#1516)
Signed-off-by: lishunyang <lishunyang12@163.com> Signed-off-by: 汪志鹏 <wangzhipeng628@gmail.com> Co-authored-by: 汪志鹏 <wangzhipeng628@gmail.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
15 files changed
+2443
-66
No files matched your search
@@ -142,6 +142,16 @@ _DIFFUSION_MODELS = {
|
||||
"pipeline_dreamid_omni",
|
||||
"DreamIDOmniPipeline",
|
||||
),
|
||||
"HunyuanVideo15Pipeline": (
|
||||
"hunyuan_video",
|
||||
"pipeline_hunyuan_video_1_5",
|
||||
"HunyuanVideo15Pipeline",
|
||||
),
|
||||
"HunyuanVideo15ImageToVideoPipeline": (
|
||||
"hunyuan_video",
|
||||
"pipeline_hunyuan_video_1_5_i2v",
|
||||
"HunyuanVideo15I2VPipeline",
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
@@ -316,6 +326,8 @@ _DIFFUSION_POST_PROCESS_FUNCS = {
|
||||
"HeliosPipeline": "get_helios_post_process_func",
|
||||
"HeliosPyramidPipeline": "get_helios_post_process_func",
|
||||
"Flux2Pipeline": "get_flux2_post_process_func",
|
||||
"HunyuanVideo15Pipeline": "get_hunyuan_video_15_post_process_func",
|
||||
"HunyuanVideo15ImageToVideoPipeline": "get_hunyuan_video_15_i2v_post_process_func",
|
||||
}
|
||||
|
||||
_DIFFUSION_PRE_PROCESS_FUNCS = {
|
||||
@@ -332,6 +344,7 @@ _DIFFUSION_PRE_PROCESS_FUNCS = {
|
||||
"OmniGen2Pipeline": "get_omnigen2_pre_process_func",
|
||||
"HeliosPipeline": "get_helios_pre_process_func",
|
||||
"HeliosPyramidPipeline": "get_helios_pre_process_func",
|
||||
"HunyuanVideo15ImageToVideoPipeline": "get_hunyuan_video_15_i2v_pre_process_func",
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user