deepep-to-cam-converter

Official

Migrate DeepEP MoE to CAM with safe checks.

AuthoropenJiuwen-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

DeepEP-based Mixture-of-Experts (MoE) code is difficult to port to Huawei Ascend CAM operators safely and correctly, especially when communication domains and operator constraints must match real runtime values.

Core Features & Use Cases

  • DeepEP MoE dispatch/combine detection: Scans for DeepEP imports and dispatch/combine patterns to confirm the code path is eligible for migration.
  • Runtime-parameter constraint verification: Enforces that operator constraints are validated using actual runtime values (not argparse defaults).
  • NCCL→HCCL and CUDA→NPU migration: Converts communication backend and device/tensor calls to the target Ascend execution environment.
  • A2/A3 operator targeting with interactive mode selection: Guides environment selection (A2 vs A3) and, in ambiguous A3 cases, forces the user to choose between compatible CAM modes.
  • Safety-first unsupported-feature handling: Produces a feature support report and asks the user whether to stop, partially migrate, or fully delete unsupported code paths.

Quick Start

Use this skill to convert a DeepEP MoE project into Ascend CAM operators by migrating dispatch & combine logic and communication/device handling for NCCL/HCCL and CUDA/NPU.

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: deepep-to-cam-converter
Download link: https://github.com/openJiuwen-ai/jiuwenswarm/archive/main.zip#deepep-to-cam-converter

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.