SeedVR2: bounded long-video restoration (#8102)

Signed-off-by: 0z5a <Dezhen.lu@student.uni-tuebingen.de>
Signed-off-by: 0z5a <dezhen.lu@uni-tuebingen.de>
Signed-off-by: 0z5a <dezhen.lu@student.uni-tuebingen.de>
Signed-off-by: princepride <wangzhipeng628@gmail.com>
Co-authored-by: 0z5a <dezhen.lu@uni-tuebingen.de>
Co-authored-by: princepride <wangzhipeng628@gmail.com>
This commit is contained in:
authored and GitHub committed 2026-09-29 11:33:50 +00:00
1 parent 235c430326
commit 7d6904aa94
20 files changed
+4684 -9

No files matched your search

+3
View File
@@ -34,6 +34,7 @@ def resolve_native_single_file(model_class_name: str | None) -> str | None:
_DIFFUSION_MODELS = {
# arch:(mod_folder, mod_relname, cls_name)
"SeedVR2Pipeline": ("seedvr2", "pipeline_seedvr2", "SeedVR2Pipeline"),
"QwenImagePipeline": (
"qwen_image",
"pipeline_qwen_image",
@@ -693,6 +694,7 @@ _DIFFUSION_POST_PROCESS_FUNCS = {
"SanaVideoPipeline": "get_sana_video_post_process_func",
"SanaImageToVideoPipeline": "get_sana_video_i2v_post_process_func",
"Magi2Pipeline": "get_magi2_post_process_func",
"SeedVR2Pipeline": "get_seedvr2_post_process_func",
"OmniVoicePipeline": "get_omnivoice_post_process_func",
"SenseNovaU1Pipeline": "get_sensenova_u1_post_process_func",
"Cosmos3OmniDiffusersPipeline": "get_cosmos3_post_process_func",
@@ -716,6 +718,7 @@ _DIFFUSION_IR_OP_PRIORITY_FUNCS = {
}
_DIFFUSION_PRE_PROCESS_FUNCS = {
"SeedVR2Pipeline": "get_seedvr2_pre_process_func",
# arch: pre_process_func
# `pre_process_func` function must be placed in {mod_folder}/{mod_relname}.py,
# where mod_folder and mod_relname are defined and mapped using `_DIFFUSION_MODELS` via the `arch` key