wan-ascend-adaptation
Pass
Audited by Gen Agent Trust Hub on Mar 24, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a technical migration guide for Huawei Ascend NPU adaptation, providing legitimate code snippets for porting DiT-based video diffusion models.
- [SAFE]: Dependency libraries such as torch_npu, mindiesd, msmodelslim, yunchang, torch_atb, and atb_ops are standard components of the Huawei Ascend AI software stack and are used as intended for hardware-specific optimizations.
- [SAFE]: Code patterns involving monkey-patching of PyTorch functions and FSDP (Fully Sharded Data Parallel) internals are implemented using standard context manager patterns to enable spatial parallelism and float8 compatibility on Ascend hardware.
- [SAFE]: Environment variables (e.g., PYTORCH_NPU_ALLOC_CONF, TASK_QUEUE_ENABLE, ALGO) are used for legitimate hardware configuration and performance tuning according to established NPU optimization practices.
Audit Metadata