Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions sglang_omni/platforms/musa.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ def get_joint_rope_inplace_kernel(self) -> None:
# its own implementation and validation of this capability.
return None

def enable_tts_predictor_graph(self) -> bool:
return False

def apply_model_worker_backend_policy(
self,
server_args: ServerArgs,
Expand Down
6 changes: 6 additions & 0 deletions tests/unit_test/test_platforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,12 @@ def test_xpu_captures_the_qwen3_tts_code_predictor() -> None:
assert CPUOmniPlatform().enable_tts_predictor_graph() is True


def test_musa_captures_the_qwen3_tts_code_predictor() -> None:
from sglang_omni.platforms.musa import MUSAOmniPlatform

assert MUSAOmniPlatform().enable_tts_predictor_graph() is True


def test_each_platform_names_the_graph_backend_its_hardware_uses() -> None:
"""The accelerators that capture name a backend; the rest answer None.

Expand Down
Loading