Ascend Mmlab Install Suite logo

Ascend Mmlab Install Suite

Organization
Ascend
ascend-mmlab-install-suite

昇腾NPU环境安装OpenMMLab系列库套件(mmcv/mmdet/mmdet3d/detectron2),支持本地+远程混合开发模式

Overview

PublisherAscend
Repositoryagent-skills
Skill nameascend-mmlab-install-suite
Stars
54
Forks
4
Bundled files
1
LicenseMulanPSL-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Ascend on GitHub. Read the source before you install it.

Installation

Install the Ascend Mmlab Install Suite AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Ascend/agent-skills/tree/master/skills/drivingsdk-ascend-model-migration/ascend-mmlab-install-suite
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Ascend/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/drivingsdk-ascend-model-migration/ascend-mmlab-install-suite .claude/skills/ascend-mmlab-install-suite
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ascend Mmlab Install Suite in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ascend Mmlab Install Suite on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ascend Mmlab Install Suite is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ascend-mmlab-install-suite

功能

在昇腾NPU容器环境中安装 OpenMMLab 系列库,支持:

  • mmcv(计算机视觉基础库)
  • mmdet(目标检测库)
  • mmdet3d(3D目标检测库)
  • detectron2(Facebook的检测分割库)

运行环境

  • 目标环境:昇腾NPU容器(Linux)
  • 客户端:Windows/macOS/Linux
  • 网络:需要访问 GitHub/Gitee

模块

  • mmcv:编译安装 mmcv-full(含NPU算子)→ mmcv/SKILL.md
  • mmdet:安装 mmdetection → mmdet/SKILL.md
  • mmdet3d:安装 mmdetection3d(含mmsegmentation依赖)→ mmdet3d/SKILL.md
  • detectron2:从源码安装 detectron2(NPU兼容)→ detectron2/SKILL.md

配置

必要信息(需向用户确认)

  1. 目标服务器信息:

    • 服务器地址/SSH连接方式
    • 容器名称或ID
    • 工作目录挂载路径(如 /home/zqq)
  2. conda环境:

    • 环境名称(如 torch2.1.0_py38)
    • Python版本
    • PyTorch版本
  3. 网络情况:

    • 是否有代理
    • GitHub连接是否超时

可选信息

  1. patch文件位置:DrivingSDK中的配置文件路径
  2. 安装顺序:根据用户需求调整

前置三方库依赖

在安装 OpenMMLab 库之前,需要安装前置依赖包。根据目标 PyTorch 版本选择对应的 requirements 文件:

PyTorch版本requirements文件
torch 2.1.xrequirements.txt
torch 2.6.0requirements_pytorch2.6.0.txt
torch 2.7.1requirements_pytorch2.7.1.txt
torch 2.7.1 (Ascend NPU)requirements_pytorch2.7.1_a5.txt

文件位置参考:DrivingSDK/model_examples/BEVFormer/requirements*.txt

安装方式:

bash
pip install -r /path/to/requirements_xxx.txt

关键原则

⚠️ 重要:禁止直接pip安装OpenMMLab库

严禁使用 pip install mmcv-full 等方式直接安装,因为:

  1. DrivingSDK提供的patch文件包含NPU适配修改,直接安装会导致patch无法应用
  2. 必须使用源码安装 + 应用patch的方式

正确流程:

  1. 尝试直接git clone仓库, 如果超时, 则进行下一步
  2. 本地git clone仓库(使用镜像或直接clone)
  3. scp传输到服务器
  4. 应用DrivingSDK中的patch文件
  5. 编译安装

NPU环境检查

安装完成后必须验证:

bash
python -c "import site; print([p for p in site.getsitepackages() if 'cuda' in p.lower()])"

如果有 CUDA 相关路径输出,说明安装的是 CUDA 版本,需要重新安装。

网络策略

情况策略
服务器直连GitHub正常在服务器上直接 git clone
服务器网络超时本地克隆 → scp传输到服务器
有代理配置代理后操作

依赖关系

mmcv (基础)
  ├── mmdet
  ├── mmdet3d → 依赖 mmsegmentation
  └── detectron2

决策指引

向用户提问确认:

  1. 使用哪个conda环境?
  2. 服务器网络情况如何?(能否直接访问GitHub)
  3. 是否需要安装所有库?还是特定库?
  4. patch文件位置?(如使用DrivingSDK)

安装前检查:

  1. 确认目标环境是NPU而非CUDA
  2. 检查torch_npu是否已安装
  3. 确认工作目录可写

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ascend Mmlab Install Suite AI skill do?

昇腾NPU环境安装OpenMMLab系列库套件(mmcv/mmdet/mmdet3d/detectron2),支持本地+远程混合开发模式

Why use Ascend Mmlab Install Suite on TypingMind?

Because you install it once and use it with any model. Ascend Mmlab Install Suite is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ascend Mmlab Install Suite in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Ascend/agent-skills/tree/master/skills/drivingsdk-ascend-model-migration/ascend-mmlab-install-suite. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ascend Mmlab Install Suite?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ascend Mmlab Install Suite?

As many as you like. As long as a model supports skills, you can use Ascend Mmlab Install Suite with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ascend Mmlab Install Suite AI skill free?

Yes. It is published on GitHub by Ascend under the MulanPSL-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇