English | 简体中文
- [2025.12.30] The MindStudio Monitor project is fully open-sourced
MindStudio Monitor (msMonitor) is an online performance monitoring and dynamic collection tool for Ascend cluster scenarios. Built on dynolog (Meta CPU-GPU monitoring system) and msPTI (MindStudio Profiler Tools Interface), it supports capabilities such as npu-monitor, nputrace, and Monitor API.
Supported framework Profiler tools: Ascend PyTorch Profiler | MindSpore Profiler
The core components are as follows:
| Component | Purpose | Documentation |
|---|---|---|
Dynolog daemon |
Server daemon that receives dyno requests and triggers monitoring and collection. | dynolog |
Dyno CLI |
Client CLI entry for issuing npu-monitor and nputrace commands. |
dyno |
msPTI Monitor |
Collection module based on msPTI, responsible for obtaining and reporting performance data. | - |
msMonitor provides the following core capabilities:
| Feature Name | Description | Documentation |
|---|---|---|
| npu-monitor | A lightweight resident background process that continuously monitors the duration of key operators, suitable for observing performance fluctuations online. | npu-monitor |
| nputrace | Dynamically triggers the collection and parsing of performance data from the framework, CANN, and Device sides without interrupting running tasks. | nputrace |
| Monitor API | Provides Python interfaces for collecting performance data such as compute operators, communication operators, APIs, Runtime APIs, and Mstx. | Monitor API |
Note
Due to underlying resource limitations, npu-monitor and nputrace cannot be enabled simultaneously.
When using msMonitor for the first time, it is recommended to follow the main path below to complete the end-to-end experience from installation to collection. See Also msMonitor Tool Quick Start.
The msMonitor tool installation guide includes the following content:
- Install from a downloaded software package: suitable for direct deployment and use, and recommended as the preferred option.
- Install from a compiled software package: suitable for source code debugging, secondary development, and customized builds.
- Upgrade, uninstallation, and logs.
For details, see msMonitor Installation Guide.
The msMonitor tool provides the following core capabilities: npu-monitor, nputrace, and Monitor API. For detailed usage instructions, see:
🔹 npu-monitor instruct
🔹 nputrace instruct
🔹 Monitor API
For usage cases of msMonitor in large model training and inference scenarios, See Also msMonitor Usage Cases.
For common issues and solutions, See Also msMonitor FAQs.
To improve document lookup efficiency, we provide multiple efficient search methods:
🔹 AI Q&A (DeepWiki): Natural language Q&A to quickly grasp the project architecture and module relationships.
🔹 AI Q&A (ZRead): Better Chinese Q&A experience, precisely locating feature usage and details.
🔹 Precise Search (ReadTheDocs): Keyword full-text search to directly reach APIs, parameters, and error information.
You are welcome to contribute to the project. See Also Contribution Guide.
🔹 Release Notes
🔹 License Notice
🔹 Security Statement
🔹 Disclaimer
Everyone is welcome to contribute to the community. If you have any questions or suggestions, please submit them to Issues, and we will reply as soon as possible. Thank you for your support.
You are cordially invited to participate in the satisfaction survey for a chance to win a surprise gift😎.
This tool is jointly contributed by Huawei Technologies Co., Ltd. and developers.
Thank you for every PR from the community. Contributions are welcome!


