ascend-npu-driver-install

Automates Ascend NPU driver and firmware installation on Linux with verification via npu-smi.

31|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/Ascend/agent-skills --skill ascend-npu-driver-install
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ascend-npu-driver-install
Source: https://github.com/Ascend/agent-skills/tree/main/skills/ascend-npu-driver-install
Command: npx skills add https://github.com/Ascend/agent-skills --skill ascend-npu-driver-install

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates end-to-end installation of Ascend NPU drivers and firmware, including package validation, permission handling, and post-install verification to reduce manual setup errors.

Core Features & Use Cases

  • Automated package extraction and validation for driver and firmware using official naming conventions.
  • On-demand permission handling with automatic chmod +x and verification to ensure installation proceeds smoothly.
  • Python + Shell based validation and verification steps, plus pre-install dependency checks for supported Linux distros.
  • Structured installation sequence: driver first, then firmware, with an interactive reboot prompt and npu-smi verification.
  • Use Case: Set up a fresh server with Ascend310P/Ascend910A/Ascend910B NPU chips and verify the driver state post-install.

Quick Start

Place the NPU package folder in the directory containing the Skill and run the installer script with the target run user to start installation.

Frequently Asked Questions about ascend-npu-driver-install

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Ascend NPU driver and firmware installation on Linux?

Automate Ascend NPU driver and firmware installation by running the installer script with the target run user after placing the NPU package folder in the Skill directory. It handles package extraction, validation, permission handling, and post-install verification.

Does the Ascend NPU installer support my Linux distribution?

The Ascend NPU installer supports CentOS, RHEL, Ubuntu, and Debian distributions. It performs pre-install dependency checks specific to these Linux platforms before proceeding with the driver and firmware deployment.

What is the correct installation order for Ascend NPU drivers and firmware?

The correct installation order for Ascend NPU components is driver first, then firmware. The automated script enforces this structured sequence to prevent setup errors and prompts an interactive reboot upon completion.

How do I verify Ascend NPU driver status after installation?

Verify Ascend NPU driver status post-install using npu-smi. The script automates this verification step to confirm the driver state is correctly deployed for Ascend310P, Ascend910A, or Ascend910B chips.

Why does my Ascend NPU driver installation fail due to permissions?

Ascend NPU driver installation can fail due to missing execution permissions. The script applies on-demand permission handling with automatic chmod +x and verification to ensure installation proceeds smoothly without manual permission errors.

Can I use this script for server provisioning with Ascend NPU chips?

Yes, you can use this script for server provisioning and maintenance scenarios requiring NPU driver and firmware deployment. It automates end-to-end setup including regex-based package validation for fresh Ascend310P, Ascend910A, or Ascend910B servers.