[Model] Add sequence parallelism to SANA-Video 2B (#5940)

Signed-off-by: cr-gao <gaochenrui@sjtu.edu.cn>
This commit is contained in:
vOv authored and GitHub committed 2026-09-05 15:22:53 +08:00
1 parent 66bbebd9d3
commit 13c617a140
9 files changed
+1122 -28

No files matched your search

@@ -0,0 +1,13 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
import pytest
from vllm_omni.diffusion.models.sana_video import transformer_sana_video
@pytest.fixture(autouse=True)
def sp_world_1(monkeypatch):
"""L1 runs single-process without a sequence parallel group; keep the
transformer on its SP1 path unless a test mocks a larger SP world."""
monkeypatch.setattr(transformer_sana_video, "get_sequence_parallel_world_size", lambda: 1)