ascend-audio-au

Benchmarks language identification model inference accuracy and latency on Ascend NPU.

7|1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/DeepLink-org/DeepEval-Skills --skill ascend-audio-au-deeplink-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ascend-audio-au
Source: https://github.com/DeepLink-org/DeepEval-Skills/tree/main/skills/Ascend/audio/ascend-audio-au
Command: npx skills add https://github.com/DeepLink-org/DeepEval-Skills --skill ascend-audio-au-deeplink-org

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, torch_npu, torchaudio, speechbrain, triton-ascend.

What problem does it solve? Evaluating speech understanding models on Ascend NPU hardware requires manual container setup, dataset mounting, inference execution, and metric collection. This Skill automates the full evaluation workflow for the lang-id-voxlingua107-ecapa language identification model, producing standardized ACC and latency metrics. ## Core Features & Use Cases - Automated Container Orchestration: Launches a preconfigured Docker container with Ascend NPU device passthrough, driver mounts, and volume mappings for models, datasets, and configs. - Inference Execution & Metric Collection: Runs infer_runner.py against the foundation-lid LMDB dataset and extracts ACC (accuracy), avg_inference_time, success_rate, and total_samples into a structured result.json. - Use Case: An engineer needs to verify that the ECAPA-TDNN language identification model meets accuracy targets on Ascend 910B before deployment. The Skill guides container startup, runs inference over 1000 foundation-lid samples, and reports ACC plus per-sample inference time. ## Quick Start Ask the agent to test the lang-id-voxlingua107-ecapa language identification model inference performance on Ascend NPU with the foundation-lid dataset.

Frequently Asked Questions about ascend-audio-au

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

FAQPage Schema
How do I benchmark language identification model inference on Ascend NPU?

Launch the provided Docker container with NPU device passthrough, mount the model weights and foundation-lid dataset, then run infer_runner.py with the model directory and dataset config. The Skill collects ACC accuracy and average inference time into acc_report.json.

What models and datasets does Ascend audio understanding evaluation support?

It currently supports the lang-id-voxlingua107-ecapa model, an ECAPA-TDNN language identification model covering 107 languages via SpeechBrain. The supported dataset is foundation-lid, stored as LMDB shards with a meta.json file.

What metrics are collected during speech model inference evaluation?

The evaluation collects ACC (language identification accuracy) as the primary metric, plus avg_inference_time per sample, success_rate, and total_samples. Results are written to acc_report.json and consolidated into result.json.

Why does the Ascend NPU container fail to start or find devices?

Container startup fails if the name already exists, the Ascend driver is missing, or device files like /dev/davinci0 and /dev/davinci_manager are absent. Verify npu-smi info works on the host and that all driver mounts and --device flags are present.

How do I fix NPU out of memory errors during inference?

Check current NPU usage with npu-smi info, then select a free card by setting ASCEND_RT_VISIBLE_DEVICES to the desired device index inside the container. Re-run the inference script after switching cards.