Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By FeRhodiumv1.0.0
Migrates PyTorch CUDA models to Ascend NPU code with torch_npu, and claims its fused attention and torch.compile optimizations are applied automatically. Targets Ascend NPU hardware, and a compatibility analysis comes first.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code plugin for analyzing and migrating PyTorch models to Huawei Ascend NPU (torch_npu) with ALL performance optimizations applied automatically.
This plugin provides tools to:
✅ ALL Performance Optimizations Applied Automatically:
torch_npu.npu_fused_attention) - 30-50% speeduptorch.compile optimization - 10-20% speedupnon_blocking=True) - 10-15% speedup✅ Better Output Structure:
{chip_name}_{model_name} format (e.g., ascend_whisper)ascend-migration/ directory (not in plugin folder)✅ Higher Performance Target:
# Navigate to your project directory
cd /path/to/your/project
# Start Claude Code with the plugin
claude --plugin-dir /path/to/ascend-analyzer/ascend-migration
# Install the plugin
claude plugin install ascend-migration
# Restart Claude Code to load the plugin
/ascend-migration:analyzeAnalyze a PyTorch model repository for Ascend NPU compatibility.
# Basic usage
/ascend-migration:analyze "Whisper" "./repos/whisper"
# With specific target chip
/ascend-migration:analyze "ModelName" "/path/to/repo" --target-chip Ascend910
What it does:
Output: analysis_{model_name}.md
/ascend-migration:check-compatibilityQuick compatibility check for a model against Ascend NPU.
/ascend-migration:check-compatibility "ModelName" "/path/to/repo"
What it does:
Output: Brief compatibility report
/ascend-migration:migrate (v2.0 - Fully Optimized)Generate production-ready, fully optimized migrated code for Ascend NPU.
# Basic usage (chip_name defaults to "ascend")
/ascend-migration:migrate "Whisper" "./repos/whisper" "analysis_whisper.md"
# With custom chip name
/ascend-migration:migrate "Whisper" "./repos/whisper" "analysis_whisper.md" "ascend"
What it does:
Output:
ascend-migration/{chip_name}_{model_name}/
├── src/ # Migrated source code
│ └── [with ALL optimizations]
├── models/ # Migrated model definitions
├── training/ # NPU training scripts
├── utils/ # NPU utilities
│ ├── npu_utils.py # NPU-specific utilities
│ ├── optimizations.py # All optimization functions
│ └── amp_utils.py # AMP helper functions
├── tests/ # Test suite
│ └── test_optimizations/ # Tests for all optimizations
├── config/
│ ├── npu_config.yaml # NPU configuration
│ └── optimization_config.yaml # Optimization settings
├── requirements.txt # NPU-compatible dependencies
├── setup.py # Package configuration
├── install.sh # Installation script
├── Dockerfile # NPU environment
├── MIGRATION_SUMMARY.txt # Detailed change log
└── README_NPU.md # NPU documentation
torch_npu.npu_fused_attentiontorch.compile(mode="max-autotune")non_blocking=True, combined transfers7-day copy clicks
Generated from the plugin's indexed repository (ferhodium/ascend-migration) — no native marketplace selected
npx claudepluginhub p/ferhodium-ascend-migrationBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground