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:
20 files changed
+4684
-9
No files matched your search
@@ -345,6 +345,13 @@ async def omni_run_server_worker(
|
||||
remove_route_from_app(app, "/v1/models", {"GET"}) # Remove upstream /v1/models to use omni's handler
|
||||
remove_route_from_app(app, "/health", {"GET"})
|
||||
app.include_router(router)
|
||||
get_od_config = getattr(engine_client, "get_diffusion_od_config", None)
|
||||
od_config = get_od_config() if callable(get_od_config) else None
|
||||
model_class_name = getattr(od_config, "model_class_name", None) or getattr(args, "model_class_name", None)
|
||||
if model_class_name == "SeedVR2Pipeline":
|
||||
from vllm_omni.diffusion.models.seedvr2.long_video import register_routes
|
||||
|
||||
register_routes(app, args.port)
|
||||
|
||||
# OMNI: Override upstream exception handlers with Omni-aware versions
|
||||
# that understand the multi-stage orchestrator lifecycle.
|
||||
|
||||
Reference in new issue
Block a user