diffusion: fix wan2.2 ti2v num_frames adjust logic (#13379)

Co-authored-by: adarshxs <adarsh.shirawalmath@gmail.com>
Co-authored-by: Adarsh Shirawalmath <114558126+adarshxs@users.noreply.github.com>
This commit is contained in:
Mick
2025-11-17 20:53:15 +08:00
committed by GitHub
parent ac406d4301
commit 7afff8fd1a
11 changed files with 211 additions and 171 deletions

View File

@@ -803,7 +803,7 @@ class ServerArgs:
def check_server_sp_args(self):
if self.pipeline_config.task_type.is_image_task():
if self.pipeline_config.task_type.is_image_gen():
if (
(self.sp_degree and self.sp_degree > 1)
or (self.ulysses_degree and self.ulysses_degree > 1)