huaweicloud/huaweicloud-skills/huawei-cloud-ascend-models-deploy

Claude Code and agent skill by huaweicloud/huaweicloud-skills

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Huawei Cloud Ascend model deployment and testing skill for large language models on Ascend DevServer (910B series). Supports single-machine and dual-machine deployment for LLM, VL (vision-language), Embedding, and Rerank models. Provides model inference testing, deployment log viewing, and status monitoring with automated model matching and deployment script generation. Use this skill when the user wants to: (1) deploy a model on Ascend DevServer, (2) test model inference, (3) view deployment logs or status, (4) list supported models, (5) check deployment prerequisites. Trigger: deploy, test, model list, deployment log, Ascend, DevServer, 910B, ModelArts, LLM, VL, Embedding, Rerank, multimodal, inference, model catalog, 昇腾, 部署模型, 测试模型, 模型列表, 部署日志, 模型部署, 推理测试

Install

npx vskill@latest install huaweicloud/huaweicloud-skills/huawei-cloud-ascend-models-deploy

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as huaweicloud/huaweicloud-skills/huawei-cloud-ascend-models-deploy.

Huawei Cloud Ascend Models Deploy

Deploy and test large language models on Huawei Cloud Ascend DevServer (910B series). Supports single-machine and dual-machine deployment, model inference testing, and deployment monitoring.

Overview

This skill deploys and tests large language models on Huawei Cloud Ascend DevServer (910B series). Supports single-machine and dual-machine deployment for LLM, VL, Embedding, and Rerank models.

Related Skills (Agent orchestrated, no direct call, Rule 3):

  • huawei-cloud-ascend-remote-connect - SSH connection to DevServer (prerequisite for deployment)
  • huawei-cloud-ascend-command - NPU status check and monitoring (prerequisite and post-deploy monitoring)

Capabilities:

  • Model deployment (single-node, dual-node)
  • Inference testing (LLM chat, VL multimodal, Embedding, Rerank)
  • Deployment log and status monitoring
  • Model catalog and script auto-matching

Deployment Workflow (Agent orchestrated):

  1. Agent calls huawei-cloud-ascend-remote-connect to establish SSH connection
  2. Agent calls huawei-cloud-ascend-command to check NPU health and availability
  3. Agent calls this skill (huawei-cloud-ascend-models-deploy) to deploy model
  4. Agent calls huawei-cloud-ascend-command to monitor NPU status during deployment

Architecture

System Architecture Diagram
┌─────────────────────────────────────────────────────────────────────┐
│ Agent Orchestration │
│ ┌─────────────────────────────────────────────────────────────┐ │
│ │ 1. SSH connect (remote-connect) │ │
│ │ 2. NPU health check (ascend-command) │ │
│ │ 3. Deploy model (this skill) │ │
│ │ 4. Monitor NPU (ascend-command) │ │
│ └────────────────────────────┬────────────────────────────────┘ │
│ │ Explicit param passing (Rule 1) │
│ ▼ │
├─────────────────────────────────────────────────────────────────────┤
│ Huawei Cloud Ascend Models Deploy │
│ (Stateless, Rule 2) │
├─────────────────────────────────────────────────────────────────────┤
│ ┌──────────────────┐ ┌──────────────────────────────────┐ │
│ │ Natural Language│ │ Deploy Helper │ │
│ │ Commands │───▶│ - Model Matching & Catalog │ │
│ └──────────────────┘ │ - Script Auto-Match │ │
│ │ - Command Generation │ │
│ └──────────────────────────────────┘ │
│ │ │
│ ┌─────────────────────────────────┼──────────────┐ │
│ ▼ ▼ ▼ │
│ ┌───────────────┐ ┌─────────────────┐ ┌────────┐ │
│ │ Model │ │ Inference │ │ Log │ │
│ │ Deployment │ │ Testing │ │ Status │ │
│ │ │ │ │ │ │ │
│ │ • Single-node │ │ • LLM Chat │ │ • View │ │
│ │ • Dual-node │ │ • VL Multimodal │ │ • Check│ │
│ │ • 910B Series │ │ • Embedding │ │ │ │
│ └───────────────┘ │ • Rerank │ └────────┘ │
│ └─────────────────┘ │
└─────────────────────────────────────────────────────────────────────┘
Agent Orchestration Flow
User request: "Deploy Qwen2.5-72B on DevServer 116.204.23.145"
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Agent Step 1: SSH Connection │
│ → Call huawei-cloud-ascend-remote-connect │
│ → Pass: host, user, password (explicit, Rule 1) │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Agent Step 2: NPU Health Check │
│ → Call huawei-cloud-ascend-command │
│ → Check: NPU list, health, HBM availability │
│ → Fail if NPU not healthy or insufficient HBM │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Agent Step 3: Deploy Model (this skill) │
│ → Match model from catalog │
│ → Generate deploy script │
│ → Execute deployment │
│ → Stateless execution (Rule 2) │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Agent Step 4: Monitor NPU │
│ → Call huawei-cloud-ascend-command │
│ → Monitor: HBM usage, temperature, processes │
└─────────────────────────────────────────────────────────────┘
│
▼
Deployment Complete
Related Skills Table
SkillPurposeOrchestration Stage
huawei-cloud-ascend-remote-connectSSH connectionPre-deploy: Establish connection to DevServer
huawei-cloud-ascend-commandNPU managementPre-deploy: Health check; Post-deploy: Monitoring

Note: No direct calls between Skills. All orchestration by Agent based on user intent (Rule 3).

Prerequisites

Prerequisite check: Ascend 910B series required
- Supported: 910B1, 910B2, 910B3, 910B4
- Unsupported: 910A, 310, 310P, etc.
- Check with: npu-smi info

Mandatory Rules (AI Must Follow)

  1. Never guess commands from memory — Must read "Deploy Script Auto-Match" section
  2. Must call deploy_helper.py first — Confirm model category and script URL
  3. Different models use different scripts:
  • LLM / Embedding / Rerank → deploy-large-models.sh
  • VL → deploy-qwen3-vl-model.sh
  • OpenSource → deploy-ai-models.sh
  1. Must validate before deployment — Port, NPU, model, card count
  2. Show command and wait for confirmation — Sensitive operation, never execute directly

Natural Language Understanding Rules

Extract key information from user natural language and assemble commands accurately.

Operation Type Detection
KeywordsOperation
deploy / start / launchSingle-machine deployment
dual-machine / two-node / dual-nodeDual-machine deployment
test / inference / callTest (execute)
write command / generate commandWrite test command (generate only, no execute)
deployment log / view logView deployment log
deployment status / is readyView deployment status
model list / supported modelsShow model catalog
parameter help / API parametersShow parameter manual
Information Extraction Rules

Model Name (fuzzy match, case-insensitive, supports card count filter):

  • "qwen3-14b" → Qwen3-14B
  • "qwen3-235b" → Multiple matches, prefer Instruct version (Qwen3-235B-A22B-Instruct-2507), or ask user
  • "vl-32b" → Qwen3-VL-32B-Instruct
  • "bge-m3" → bge-m3
  • "qwen3-vl" + 2 cards → Match VL models with ≤2 cards, list for user to choose
  • "qwen3" + 2 cards → Match all Qwen3 models with ≤2 cards, list for user to choose
  • Multiple candidates → List all candidates (with card count and category), let user confirm
  • No match → Show full model catalog for user to select

Card Count:

  • "2 cards" / "use 2 cards" / "2 npus" → 2
  • "16 cards" / "16 npus" → 16
  • "dual-machine" → 16
  • Not specified → Use minimum card count from model catalog

Port:

  • "port 8022" / "port:8022" → 8022
  • Not specified → Default 8080

Missing Parameters (check each, prompt what is missing):

  • Missing model name → "Please specify model name" + show model list
  • Missing card count → "Please specify card count, e.g.: 2 cards" + show minimum cards for this model
  • Missing port → "Please specify port (default 8080), e.g.: port 8001"
  • Dual-machine missing head IP → "Please specify head node IP, e.g.: head:192.168.1.1"
  • Dual-machine missing worker IP → "Please specify worker node IP, e.g.: worker:192.168.1.2"

Head/Worker IP (dual-machine deployment):

  • "head:1.1.1.1" / "head node 1.1.1.1" → Head node IP
  • "worker:2.2.2.2" / "worker node 2.2.2.2" → Worker node IP

Prompt:

  • "prompt:hello" / "ask:hello" → Prompt text
  • Not specified → LLM default "hello", VL default "describe the image", Embedding default "I love shanghai", Rerank default "What is the capital of France?"

Image URL (VL test):

  • "image:https://xxx.jpg" / direct URL → Image URL
  • User sends image attachment → Auto-convert to base64 data URL
  • Not specified and testing multimodal model → Prompt user for image URL

Multimodal Capability Auto-Detection:

  • VL category → Supports multimodal
  • OpenSource: Qwen3.6-35B-A3B, Qwen3.6-27B → Supports multimodal
  • LLM category → Text only
  • Embedding → Text only
  • Rerank → Text only

Image URL Conversion (local image → data URL):

bash
# Efficient base64 conversion
IMG_B64=$(base64 -w 0 ${local_image_path})
IMG_URL="data:image/jpeg;base64,${IMG_B64}"

Advanced Parameters (optional):

  • "max_tokens:64" → max_tokens=64
  • "temperature:0.7" → temperature=0.7
  • "stream" → stream=true
  • "system:You are assistant" → system_prompt
  • "disable thinking" / "no thinking" → chat_template_kwargs: {"enable_thinking": false}
  • (Default = thinking mode enabled)

Thinking Mode: Qwen3/Qwen3.6 models default to thinking mode, outputting reasoning process before final response.

  • Enable thinking: Higher quality, more token consumption
  • Disable thinking: Direct output, less token consumption, suitable for simple queries
  • Request-level control via "chat_template_kwargs": {"enable_thinking": false/true}

Supported Machine Types

Only Ascend 910B series (910B1 / 910B2 / 910B3 / 910B4). Must check NPU model before deployment, reject non-910B series.


Model Catalog

Large Language Models (LLM) — Endpoint: /v1/chat/completions
ModelMin Cards
Qwen3-14B1
Qwen3-30B-A3B-Instruct-25072
Qwen3-32B2
Qwen3-235B-A22B-Thinking-250716
Qwen3-235B-A22B-Instruct-250716
DeepSeek-R1-Distill-Llama-70B4
Vision-Language (VL) — Endpoint: /v1/chat/completions
ModelMin Cards
Qwen3-VL-30B-A3B-Instruct2
Qwen3-VL-32B-Instruct2
Qwen3-VL-235B-A22B-Instruct16
Qwen3-VL-235B-A22B-Instruct-W8A88
Embedding — Endpoint: /v1/embeddings (V0 backend only, single card only)
ModelMin CardsMulti-card
Qwen3-Embedding-8B1No
bge-large-zh-v1.51No
bge-m31No
Rerank — Endpoint: /v1/rerank (single card only)
ModelMin CardsMulti-card
Qwen3-Reranker-8B1No
bge-reranker-v2-m31No
OpenSource (Multimodal)
ModelMin CardsCapability
Qwen3.6-35B-A3B2Text + Image (MoE)
Qwen3.6-27B2Text + Image (MoE)
Qwen3-Next-80B-A3B-Instruct4Large language model
DeepSeek-V4-Flash-w8a8-mtp8Large language model

Deploy Script Auto-Match (Must use, never guess script URL)

Script Path: scripts/deploy_helper.py

Match Rules (hardcoded, 100% accurate):

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/huaweicloud/huaweicloud-skills/huawei-cloud-ascend-models-deploy/badge)](https://verified-skill.com/skills/huaweicloud/huaweicloud-skills/huawei-cloud-ascend-models-deploy)

Something wrong with this skill or its page? Tell us.