torch_npu
75 / 100 · Review before installing
Check before installing.
华为昇腾 Ascend Extension for PyTorch (torch_npu) 的环境检查、部署与能力指引。在用户使用 @torch_npu、昇腾 NPU、CANN、或需要将 PyTorch 迁移到 NPU 时自动应用;当用户使用 @torch_npu_doc 时,基于 skill 的 reference 文档提供项目内中文文档能力说明。
What this skill can do
Downloads and installs other software
Runs commands on your computer
Connects to the internet
Safer alternatives
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'torch-npu' ] || [ -L ~/.agents/skills/'torch-npu' ]; then echo 'A skill folder named torch-npu already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/ascend-ai-coding/awesome-ascend-skills' "$d" && git -C "$d" checkout --quiet '75ec89ce9d401be8ac95980e1c3f42f8d4315057' -- 'skills/base/torch_npu' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/base/torch_npu' ~/.agents/skills/'torch-npu' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'torch-npu' ~/.claude/skills/'torch-npu' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/ascend-ai-coding/awesome-ascend-skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 75ec89c | 100 |