ascend-model-migration

Migrate and train open-source models on Ascend NPU with distributed training.

31|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/Ascend/agent-skills --skill ascend-model-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ascend-model-migration
Source: https://github.com/Ascend/agent-skills/tree/main/skills/drivingsdk-ascend-model-migration
Command: npx skills add https://github.com/Ascend/agent-skills --skill ascend-model-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migrate and train open-source models on Ascend NPU by providing an end-to-end workflow from environment setup to training execution.

Core Features & Use Cases

  • End-to-end migration workflow: clone repositories, apply NPU patches, and prepare data/weights.
  • Environment setup & dependency management: install and configure MMLab stack and CANN/torch_npu on Ascend.
  • Training orchestration: launch distributed training and monitor progress for Ascend hardware.
  • Use Case: BEVFormer migration and full training pipeline on Ascend NPU.

Quick Start

Instruct me to migrate BEVFormer on Ascend NPU and I will guide you through connecting to your server, applying patches, linking data, and starting training.

Frequently Asked Questions about ascend-model-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate and train open-source models on Ascend NPU?

To migrate and train models on Ascend NPU, you need an end-to-end workflow that covers environment setup, repository cloning, applying NPU patches, linking datasets and weights, and launching distributed training execution.

What do I need to set up before migrating BEVFormer to Ascend hardware?

Before migrating BEVFormer, you need SSH access to target servers, a configured environment with CANN and torch_npu, the DrivingSDK patch repository, and the MMLab stack installed to prepare for distributed training execution.

How does the Ascend NPU model patching process work?

The model patching process works by cloning the target open-source repository, applying specific NPU patches from a DrivingSDK repository, and then linking the required datasets and weights before starting the training execution.

Can I run distributed training for BEVFormer directly on Ascend NPU?

Yes, you can run distributed training for BEVFormer on Ascend NPU by using the training orchestration scripts to launch and monitor the training progress after completing the environment setup and data linking steps.

What is the best way to configure the torch_npu and CANN environment for model migration?

The best way to configure the environment is to install and set up CANN and torch_npu alongside the MMLab stack on your target Ascend server, ensuring all dependencies are resolved before applying patches and starting training.

Why does my Ascend NPU training execution fail after applying patches?

Ascend NPU training execution can fail if the environment is not properly configured with CANN and torch_npu, or if datasets and weights are not correctly linked before launching the distributed training scripts.