npu-torchair-infer
75 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a media skill usually calls an AI service over the internet.
Migrate any HuggingFace model to Ascend NPU torchair graph mode (torch.compile) and benchmark it for accuracy and performance against NPU eager and CPU eager. Use when running, compiling, or benchmarking HF models (vision, text, image-text encoders such as SigLIP2, DINOv3, ViT, CLIP, Qwen-VL, SAM) on Ascend 910B/CANN with torch_npu and torchair; when a torch.compile graph-mode run on NPU fails (Dynamo TorchRuntimeError, unsupported op, interpolate/contiguous errors); or when comparing torchair …
What this skill can do
Runs commands on your computer
Downloads and installs other software
Connects to the internet
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'npu-torchair-infer' ] || [ -L ~/.agents/skills/'npu-torchair-infer' ]; then echo 'A skill folder named npu-torchair-infer 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/inference/npu-torchair-infer' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/inference/npu-torchair-infer' ~/.agents/skills/'npu-torchair-infer' && 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/'npu-torchair-infer' ~/.claude/skills/'npu-torchair-infer' (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 |