Cuda Index Width
pytorch/pytorch
Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. An agent skill from pytorch/pytorch.
Agent skill
by ascend-ai-coding in ascend-ai-coding/awesome-ascend-skills
Ankh 蛋白质语言模型昇腾 NPU 迁移 Skill,适用于 Ankh base/large、Ankh3 large/XL 以及同类基于 HuggingFace Transformers 与 PyTorch 的蛋白模型从 CUDA/GPU 到华为 Ascend NPU 的环境检查、代码适配、权重加载、验证脚本补齐与文档沉淀。
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-ankh-ascend-npu-skill -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ascend-ai-coding/awesome-ascend-skills ai-for-science-ankh-ascend-npu-skill --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-for-science/models/ankh .claude/skills/ai-for-science-ankh-ascend-npu-skill && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ai-for-science-ankh-ascend-npu-skill" agent skill from https://github.com/ascend-ai-coding/awesome-ascend-skills/tree/main/skills/ai-for-science/models/ankh into .claude/skills/ai-for-science-ankh-ascend-npu-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-for-science-ankh-ascend-npu-skill", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ascend-ai-coding/awesome-ascend-skills/tree/main/skills/ai-for-science/models/ankhType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-ankh-ascend-npu-skill -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ascend-ai-coding/awesome-ascend-skills ai-for-science-ankh-ascend-npu-skill --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/ai-for-science/models/ankh .agents/skills/ai-for-science-ankh-ascend-npu-skill && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ai-for-science-ankh-ascend-npu-skill" agent skill from https://github.com/ascend-ai-coding/awesome-ascend-skills/tree/main/skills/ai-for-science/models/ankh into .agents/skills/ai-for-science-ankh-ascend-npu-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-for-science-ankh-ascend-npu-skill", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-ankh-ascend-npu-skill -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ascend-ai-coding/awesome-ascend-skills ai-for-science-ankh-ascend-npu-skill --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/ai-for-science/models/ankh .cursor/skills/ai-for-science-ankh-ascend-npu-skill && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ai-for-science-ankh-ascend-npu-skill" agent skill from https://github.com/ascend-ai-coding/awesome-ascend-skills/tree/main/skills/ai-for-science/models/ankh into .cursor/skills/ai-for-science-ankh-ascend-npu-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-for-science-ankh-ascend-npu-skill", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ascend-ai-coding/awesome-ascend-skills.git --path skills/ai-for-science/models/ankh--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-ankh-ascend-npu-skill -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ascend-ai-coding/awesome-ascend-skills ai-for-science-ankh-ascend-npu-skill --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/ai-for-science/models/ankh .gemini/skills/ai-for-science-ankh-ascend-npu-skill && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ai-for-science-ankh-ascend-npu-skill" agent skill from https://github.com/ascend-ai-coding/awesome-ascend-skills/tree/main/skills/ai-for-science/models/ankh into .gemini/skills/ai-for-science-ankh-ascend-npu-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-for-science-ankh-ascend-npu-skill", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ascend-ai-coding/awesome-ascend-skills ai-for-science-ankh-ascend-npu-skillInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-ankh-ascend-npu-skill -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/ai-for-science/models/ankh .github/skills/ai-for-science-ankh-ascend-npu-skill && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ai-for-science-ankh-ascend-npu-skill" agent skill from https://github.com/ascend-ai-coding/awesome-ascend-skills/tree/main/skills/ai-for-science/models/ankh into .github/skills/ai-for-science-ankh-ascend-npu-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-for-science-ankh-ascend-npu-skill", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-ankh-ascend-npu-skill -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ascend-ai-coding/awesome-ascend-skills ai-for-science-ankh-ascend-npu-skill --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/ai-for-science/models/ankh .opencode/skills/ai-for-science-ankh-ascend-npu-skill && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ai-for-science-ankh-ascend-npu-skill" agent skill from https://github.com/ascend-ai-coding/awesome-ascend-skills/tree/main/skills/ai-for-science/models/ankh into .opencode/skills/ai-for-science-ankh-ascend-npu-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ai-for-science-ankh-ascend-npu-skill", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ai-for-science-ankh-ascend-npu-skillAnkh 蛋白质语言模型昇腾 NPU 迁移 Skill,适用于 Ankh base/large、Ankh3 large/XL 以及同类基于 HuggingFace Transformers 与 PyTorch 的蛋白模型从 CUDA/GPU 到华为 Ascend NPU 的环境检查、代码适配、权重加载、验证脚本补齐与文档沉淀。
AI For Science Ankh Ascend Npu Skill is an agent skill from ascend-ai-coding/awesome-ascend-skills. Ankh 蛋白质语言模型昇腾 NPU 迁移 Skill,适用于 Ankh base/large、Ankh3 large/XL 以及同类基于 HuggingFace Transformers 与 PyTorch 的蛋白模型从 CUDA/GPU 到华为 Ascend NPU 的环境检查、代码适配、权重加载、验证脚本补齐与文档沉淀。
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/validation-workflow.md`, `references/weight-loading.md` and `scripts/verify_ankh3_large_npu.py`).
It sits in AI & LLM Engineering, covering Deep learning. It works with CUDA, PyTorch and Transformers. The repository describes itself as: A comprehensive knowledge base for Huawei Ascend NPU development, structured as distributed Agent Skills. https://ascend-ai-coding.github.io/awesome-ascend-skills/.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 62a4ecb. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 4 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythoncondargpython3pytestFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
hiascend.comhuggingface.coFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
AI For Science Ankh Ascend Npu Skill loads about 2.1k tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 50 tokens; SKILL.md has 440 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 440 words (~2,086 tokens).
“本 Skill 用于处理 Ankh、Ankh base/large、Ankh3 large/XL 以及同类基于 HuggingFace Transformers 与 PyTorch 的蛋白质语言模型仓库,把默认的 CUDA/GPU 运行方式迁移为可在华为 Ascend NPU 上运行、验证、做最小训练闭环的实现。”
SKILL.md and 6 other files (scripts, references) in skills/ai-for-science/models/ankh of ascend-ai-coding/awesome-ascend-skills.
Open the folder on GitHubat commit 62a4ecb
AI For Science Ankh Ascend Npu Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| AI For Science Ankh Ascend Npu Skill this skillascend-ai-coding/awesome-ascend-skills | 174 | — | ~2.1k | Automated safety check: Pass | None | |
| Cuda Index Widthpytorch/pytorch | 104k | — | ~1.6k | Automated safety check: Pass | Custom licence | |
| Graphsignalgraphsignal/graphsignal | 257 | — | ~6.3k | Automated safety check: Pass | Apache-2.0 | |
| Validating Pytorch Custom Opsmeta-pytorch/attention-gym | 1.3k | — | ~6.4k | Automated safety check: Pass | BSD-3-Clause | |
| Metal Kernelpytorch/pytorch | 104k | — | ~4.9k | Automated safety check: Pass | Custom licence | |
| Ako4allTongmingLAIC/AKO4ALL | 369 | — | ~4k | Automated safety check: Pass | MIT |
pytorch/pytorch
Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. An agent skill from pytorch/pytorch.
graphsignal/graphsignal
Profile AI inference workloads (vLLM, SGLang, TensorRT-LLM, PyTorch, any GPU application) with the Graphsignal profiler and read the results from its local /signals JSON endpoint.
meta-pytorch/attention-gym
Ensures new Attention Gym eager, Triton, CuTeDSL, and external-library implementations are torch.compile-friendly and correctly registered.
pytorch/pytorch
Write Metal/MPS kernels for PyTorch operators. An agent skill from pytorch/pytorch.
TongmingLAIC/AKO4ALL
Drive an agentic loop that iteratively optimizes a GPU kernel for maximum speedup.
PaddlePaddle/Paddle
PaddlePaddle (飞桨) C++ 算子开发指南。提供从 YAML 配置、InferMeta 函数、Kernel 实现、Python API 封装、单元测试到编译验证的完整算子开发流程指导。在以下场景使用此 skill:(1) 为 Paddle 框架新增 C++ 算子 (2) 修改或调试已有 Paddle 算子 (3) 编写算子的 YAML…
ascend-ai-coding/awesome-ascend-skills
当用户需要对华为昇腾 NPU 进行硬件层面的管理、测试或诊断时使用此 skill。典型场景: - 查看 NPU 卡的状态、温度、利用率 - 测试内存带宽(h2d/d2h/d2d/p2p) - 跑算力/功耗基准测试(TFLOPS、TOPS) - 诊断 NPU 硬件故障或做健康检查 - 对 NPU 卡做压力测试(aicore、内存) - 复位/恢复卡住或异常的 NPU 卡 典型用户问题(即使不提…
ascend-ai-coding/awesome-ascend-skills
End-to-end AscendC custom operator development for Ascend NPU in an ascend-kernel (csrc/ops + build.sh + torchnpu PyTorch custom op) project.
ascend-ai-coding/awesome-ascend-skills
Complete toolkit for Huawei Ascend NPU model conversion and end-to-end inference adaptation.
ascend-ai-coding/awesome-ascend-skills
当需要编写 PyPTO 算子实现时使用此 skill。基于需求规格、设计方案和参考实现,生成完整可运行的 PyPTO 算子实现与配套测试、文档。Triggers: 实现算子、写 kernel、编写实现、写 impl、算子编码、开始编码、code the op、写 test、生成测试、写实现代码、op develop、kernel 实现。
ascend-ai-coding/awesome-ascend-skills
Analyze official Megatron-LM commits, PRs, and branch change sets to identify feature evolution, candidate breaking changes, and migration-relevant events.
ascend-ai-coding/awesome-ascend-skills
Track and normalize change requests against the official Megatron-LM repository by branch, PR, commit, commit range, or time window.
Works with
Categories
Ankh 蛋白质语言模型昇腾 NPU 迁移 Skill,适用于 Ankh base/large、Ankh3 large/XL 以及同类基于 HuggingFace Transformers 与 PyTorch 的蛋白模型从 CUDA/GPU 到华为 Ascend NPU 的环境检查、代码适配、权重加载、验证脚本补齐与文档沉淀。. AI For Science Ankh Ascend Npu Skill is an agent skill from ascend-ai-coding/awesome-ascend-skills.
AI For Science Ankh Ascend Npu Skill fits situations like: tasks that involve Deep learning.
Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-ankh-ascend-npu-skill -a claude-code`. Or copy the skill folder (skills/ai-for-science/models/ankh in ascend-ai-coding/awesome-ascend-skills) into .claude/skills/ai-for-science-ankh-ascend-npu-skill in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-ankh-ascend-npu-skill -a codex`. Or copy the skill folder (skills/ai-for-science/models/ankh in ascend-ai-coding/awesome-ascend-skills) into .agents/skills/ai-for-science-ankh-ascend-npu-skill in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill ai-for-science-ankh-ascend-npu-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-for-science-ankh-ascend-npu-skill, .gemini/skills/ai-for-science-ankh-ascend-npu-skill, .github/skills/ai-for-science-ankh-ascend-npu-skill and .opencode/skills/ai-for-science-ankh-ascend-npu-skill in your project.
Going by SKILL.md and its folder, AI For Science Ankh Ascend Npu Skill needs Python for the scripts in its folder and the command-line tools its instructions call (python, conda, rg, python3 and pytest). Our summary lists: Python 3.
SKILL.md names 2 domains. As links in the text: hiascend.com and huggingface.co. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
No licence was found for AI For Science Ankh Ascend Npu Skill or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 833 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with AI For Science Ankh Ascend Npu Skill: Cuda Index Width (pytorch/pytorch, 104k stars), Graphsignal (graphsignal/graphsignal, 257 stars), Validating Pytorch Custom Ops (meta-pytorch/attention-gym, 1.3k stars) and Metal Kernel (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ascend-ai-coding (a GitHub organization) maintains it in ascend-ai-coding/awesome-ascend-skills, which has 174 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 10, 2026.
Source: ascend-ai-coding/awesome-ascend-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.