What Is MindStudio
Functional Architecture
MindStudio CLI
CLI consists of the following tool chains based on development scenarios:
- Operator development tool chain: With the help of comprehensive debugging tools and various tuning data, it simplifies programming through Ascend C multi-layer API abstraction to assist developers in developing high-performance operators at low costs.
Operator tools include the operator development tool and operator compilation tool. The operator development tool is a powerful and easy-to-use development tool. It provides comprehensive support for developers using the Ascend C programming language, making high-performance operator development simpler and more efficient. The operator compilation tool provides the operator compilation function for Ascend CANN, allowing developers to easily compile their operator code into binary files that can run on Ascend AI Processors.
- Training development tool chain: It is a full-process tool chain that focuses on pain points encountered by users during model migration and development. It provides the analysis and migration tool, accuracy debugging tool, and performance tuning tool to help users solve difficulties in the development process, such as migration challenges, unsatisfactory accuracy, unsatisfactory performance, or performance degradation. This enables users to easily solve accuracy and performance issues and embark on a fun and simple development journey.
- Inference development tool chain: As the unified inference tool library of Ascend, it provides users with functions required for integrated development, including model conversion, model compression, accuracy debugging, and performance tuning. It can quickly migrate multiple mainstream inference frameworks to the Ascend platform, solving accuracy and performance problems and helping users achieve ultimate inference performance.
MindStudio IDE
Based on the open-source IntelliJ IDEA platform, MindStudio IDE is an integrated development environment for the Ascend AI Processors. In addition to basic code editing, compilation, debugging, and running functions, MindStudio IDE also provides various functions, including analysis and migration and performance analysis, and tools dedicated to Ascend AI developers. MindStudio supports multiple programming languages and frameworks, such as Python, C++, TensorFlow, and PyTorch. You can select the most suitable programming mode based on your requirements.
To use MindStudio IDE, download the installation package and install it on Linux.
Visualization Tool
MindStudio Insight is a visualized tool for model and operator performance tuning. It greatly improves the efficiency of model and operator performance tuning.
- Model optimization provides multi-dimensional performance data analysis, including memory, operator, scheduling, and communication analysis. For foundation model clusters, the performance timeline data of the cluster can be analyzed at the same time, allowing developers to quickly identify problems such as slow communication, slow response, and slow links.
- Operator tuning supports operator memory and computing load analysis, code performance measurement, and parallel analysis of instruction pipelines, allowing developers to quickly optimize operator performance.
