onboard-arch-precheck

Official

Guard onboard tests from wrong Ascend silicon.

Authorhw-native-sys
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Detects the host's actual Ascend silicon and refuses mismatched --platform onboard hardware test invocations BEFORE any device is locked. MUST invoke this skill before running pytest or task-submit commands that use --platform a2a3 or --platform a5 (onboard only — sim variants pass through). Use when invoking onboard hardware tests, repro'ing flaky-test reports, or wrapping pytest in task-submit. Skip for --platform a2a3sim / --platform a5sim (silicon-agnostic).

Core Features & Use Cases

  • Detects host Ascend silicon and maps to the repo arch using npu-smi and CANN platform_config Short_SoC_version.
  • Provides guardrails to prevent running onboard tests with mismatched hardware by exiting with actionable codes.
  • Skips checks automatically for sim variants to keep silicon-agnostic workflows fast.

Quick Start

Run the onboard-arch-precheck script before any onboard tests to confirm you are on the correct Ascend silicon.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: onboard-arch-precheck
Download link: https://github.com/hw-native-sys/simpler/archive/main.zip#onboard-arch-precheck

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.