MindStudio Profiler(msProf,模型调优工具)提供了AI任务运行性能数据、昇腾AI处理器系统数据等性能数据的采集和解析功能,这些功能侧重不同的训练或推理场景,可以定位模型训练或推理中的性能问题。
MindStudio Profiler
English | 简体中文
✨ What's New
🔹 [2025.12.30]: Initial release of the MindStudio Profiler project.
ℹ️ Overview
MindStudio Profiler (msProf) is a performance analysis tool for AI training and inference scenarios. It supports the collection and parsing of software and hardware profile data from the CANN layer and the Ascend AI Processor NPU hardware layer, helping users identify performance issues during model training or inference. msProf also provides the foundational capability for other profiling collection interfaces, and many upper-layer performance collection and analysis capabilities rely on msProf for underlying data collection. For a complete overview of Ascend performance tuning tools, see MindStudio Profiler Documentation Overview.
⚙️ Features
| Feature | Description | Documentation | Source Code Repository |
|---|---|---|---|
| Profile data collection | Collects software and hardware profile data from the CANN platform and Ascend AI Processors using the msprof command. |
Profile Data Collection | msprof |
| Profile data parsing | Parses the collected profile data using the msProf tool to generate readable analysis results. | Profile Data Parsing | analysis |
🚀 Quick Start
10-minute hands-on experience Using ResNet50 training as an example, this tutorial covers the complete workflow of data collection, parsing and export, and performance analysis. Click to get started: msProf Quick Start.
Quick command-line reference
If you are already familiar with the workflow, you can directly run the collection command. The general syntax is msprof --output=<output_dir> --application="<launch_command>". Examples:
# Example 1: Collect data for a Python training task
msprof --output=./output --application="python3 train.py"
# Example 2: Collect data for a task launched by a shell script
msprof --output=./output --application="./run_standalone_train.sh"
📦 Installation Guide
For the environment dependencies and installation method, see msProf Installation Guide.
📘 User Guide
For detailed usage instructions, see msProf User Guide.
💡 Typical Cases
To understand and master the tool through typical problem scenarios, see msProf Typical Cases.
❓ FAQs
For common questions and solutions, see msProf FAQs.
🌌 Smart Search
To improve the efficiency of documentation lookup, we provide several efficient search methods:
🔹 AI Q&A (DeepWiki): Natural language Q&A for quickly understanding project architecture and module relationships.
🔹 AI Q&A (ZRead): A better Chinese Q&A experience for precisely locating feature usage and details.
🔹 Exact Search (ReadTheDocs): Full-text keyword search for directly accessing information about APIs, parameters, error messages, and more.
🛠️ Contributing Guide
We welcome contributions to the project. See Contributing Guide.
⚖️ Related Information
🔹 Release Notes
🔹 License Statement
🔹 Security Statement
🔹 Disclaimer
🤝 Suggestions and Feedback
We welcome everyone to contribute to the community. If you have any questions or suggestions, please submit an issue, and we will respond as soon as possible. Thank you for your support.
🙏 Acknowledgments
This tool is jointly contributed by Huawei Technologies Co., Ltd. and community developers.
Thank you to everyone in the community for your PRs. We warmly welcome your contributions.
Introduction
MindStudio Profiler(msProf,模型调优工具)提供了AI任务运行性能数据、昇腾AI处理器系统数据等性能数据的采集和解析功能,这些功能侧重不同的训练或推理场景,可以定位模型训练或推理中的性能问题。
Customize your domain
