wan-ascend-adaptation

Community

Streamline CUDA to Ascend NPU model porting for Wan-series videos.

Authordongg622
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance for adapting Wan-series video diffusion models from NVIDIA CUDA to Huawei Ascend NPU, addressing device, operator, precision, and distributed parallelism challenges.

Core Features & Use Cases

  • Device Migration: Facilitates changing CUDA dependencies to Ascend NPU via code modifications and environment configurations.
  • Operator Replacement: Replaces normalization, positional encoding, and attention operators with native Ascend implementations for optimized performance.
  • Parallelism & Distribution: Implements advanced distributed parallelism, model sharding, and inference optimization techniques suited for Ascend hardware.
  • Use Case: A developer porting Wan2.2 CUDA models to an Atlas 800 series NPU environment for production deployment.

Quick Start

Follow the step-by-step guidance to modify script entry points, replace CUDA calls, and configure environment variables to enable efficient Ascend NPU execution for Wan-series models.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wan-ascend-adaptation
Download link: https://github.com/dongg622/china-ai-chip-skill/archive/main.zip#wan-ascend-adaptation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.