ascend-ai-coding/awesome-ascend-skills

external-cannbot-model-model-infer-prefetch

基于 PyTorch 框架的昇腾 NPU 模型推理权重预取优化技能。为模型添加 torch_npu.npu_prefetch 特性以优化推理性能。触发场景:profiling 显示 MatMul/QBMM/GMM 算子存在 memory-bound 热点、需要为模型添加权重预取、将 prefetch 模式迁移到新模型。

First seen May 19, 2026

Installation

$ npx skills add https://github.com/ascend-ai-coding/awesome-ascend-skills

Summary

基于 PyTorch 框架的昇腾 NPU 模型推理权重预取优化技能。为模型添加 torch_npu.npu_prefetch 特性以优化推理性能。触发场景:profiling 显示 MatMul/QBMM/GMM 算子存在 memory-bound 热点、需要为模型添加权重预取、将 prefetch 模式迁移到新模型。

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from ascend-ai-coding/awesome-ascend-skills · top by installs.

npx skills add https://github.com/ascend-ai-coding/awesome-ascend-skills

Browse all from ascend-ai-coding/awesome-ascend-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 168
Default branch main
Open issues 14
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs