Ascend Profiler DB Explorer
Analyzes Huawei Ascend NPU profiling databases to identify performance bottlenecks using natural language to SQL conversion.
This skill empowers developers working with Huawei Ascend NPUs to deeply analyze performance data stored in SQLite profiling databases. By translating natural language queries into specialized SQL scripts, it provides immediate insights into operator execution times, HCCL communication overhead, and dispatch scheduling latencies. It utilizes pre-defined Common Table Expressions (CTEs) and official schema documentation to ensure accurate, consistent analysis across different profiling versions, making it an essential tool for performance tuning and bottleneck identification in Ascend-based AI workloads.
Key Features
01Automated schema extraction and documentation alignment for msprof tables
02Analyzes HCCL collective communication overhead (AllReduce, AllGather, etc.)
03Converts natural language questions into safe, executable SQL for Profiling DBs
04Identifies TopK time-consuming operators and calculation bottlenecks
05Uses standardized CTE macros for Compute, Communication, and Dispatch analysis
0696 GitHub stars
Use Cases
01Identifying performance bottlenecks in large-scale AI training on Ascend NPUs
02Analyzing scheduling delays between PyTorch frameworks and CANN execution layers
03Optimizing communication-to-computation ratios in distributed NPU clusters