[Hardware][Ascend] Adapt Qwen3 TTS for 310P (#4283)

Signed-off-by: zouyizhou <zouyizhou@huawei.com>
Co-authored-by: Canlin Guo <canlinguosdu@gmail.com>
This commit is contained in:
zyz111222andCanlin Guo authored and GitHub committed 2026-06-12 09:39:21 +00:00
1 parent 293396737d
commit 6de0ca36bb
11 files changed
+706 -20

No files matched your search

+2
View File
@@ -33,11 +33,13 @@ class NPUOmniPlatform(OmniPlatform, NPUPlatform):
# conv2d convolution operator in the code2wav module of Qwen3-TTS not being able to run on Aclnn
def __init__(self) -> None:
from vllm_omni.platforms.npu._310p import apply_patches as apply_310p_patches
from vllm_omni.platforms.npu.models.qwen3_tts_code2wav import (
apply_qwen3_tts_code2wav_patch,
)
apply_qwen3_tts_code2wav_patch()
apply_310p_patches()
@classmethod
def set_device(cls, device: torch.device) -> None: