Merge pull request #1129 from modelscope/ascend

Support Ascend NPU
This commit is contained in:
Zhongjie Duan
2025-12-15 19:13:40 +08:00
committed by GitHub
13 changed files with 244 additions and 9 deletions

View File

@@ -126,7 +126,7 @@ class WanVideoPipeline(BasePipeline):
pipe = WanVideoPipeline(device=device, torch_dtype=torch_dtype)
if use_usp:
from ..utils.xfuser import initialize_usp
initialize_usp()
initialize_usp(device)
model_pool = pipe.download_and_load_models(model_configs, vram_limit)
# Fetch models