Overview
MindStudio contains multiple tools, such as msKPP, msOpGen, msOpST, msSanitizer, msDebug, and msProf. This document uses an example to describe the workflow of using MindStudio.
The sample uses the single-operator API call mode as an example to describe how to use the operator development tools to design an operator, create an operator project, test the operator function, detect operator exceptions, debug the operator, and tune the performance.
Environment Setup
- Prepare a server equipped with the
Atlas A2 Training Series Product/Atlas 800I A2 Inference Product and install the driver and firmware. For details, see "NPU Driver and Firmware Installation". - Install Ascend-CANN-Toolkit, For details, see CANN Software Installation Guide.
- To use MindStudio Insight, you need to install the MindStudio Insight software package separately. For details about the download links, see"Installation and Uninstallation".
- Run the npu-smi info command on the server where the Ascend AI Processor is installed to obtain the Chip Name information. The actual value is the value of AscendChip Name. For example, if the value of Chip Name is xxxyy, the actual value is Ascendxxxyy. If Ascendxxxyy is the code sample path, set Ascendxxxyy.
- If you need the instruction proportion pie chart (instruction_cycle_consumption.html), install the third-party Python library plotly as it is a dependency for generating the pie chart.
pip3 install plotly
Parent topic: Operator Development Tools Quick Start