MindStudio

This Huawei-designed full-pipeline development toolchain equips Ascend AI developers with an end-to-end solution for building Ascend AI applications, accelerating the processes of training, inference, and operator development.

  • What Is MindStudio

    Describes the architecture and application scenarios of MindStudio.

  • Release Notes

    Describes the version mapping, new features, and resolved issues of MindStudio.

  • Quick Start

    Provides a quick start for using the tool in the training, inference, and operator development scenarios.

Visualization Tool

  • MindStudio Insight

    This is a visualized performance tuning tool, which assists in locating model and operator performance issues.

Operator Development Tools

Design

  • Operator Design mskpp

    Allows users to enter operator expressions to predict the performance upper limit of operators in the algorithm implementation.

Development

  • Operator Project msOpGen

    Provides the template project generation capability, simplifies operator project setup, and assists in operator test and verification. msOpST is used to test the input and output of operators in the real hardware environment to verify the operator functions.

Debugging

  • Operator Debugging msDebug

    Provides native environment debugging on Ascend processors, featuring flexible variable inspection and step-by-step execution.

  • Anomaly Detection msSanitizer

    Provides memory, contention, uninitialization, and synchronization check capabilities and accurately locates memory issues in multi-core programs.

Tuning

  • Operator Tuning msOpProf

    Collects profile data from both hardware and simulation, visualized through MindStudio Insight to identify performance bottlenecks.

Run

  • Operator Calling msKL

    Uses the provided APIs to o quickly generate, compile, and run kernel delivery code in Python scripts.

Training Development Tools

Development
Debugging
  • Accuracy Debugging msProbe

    Allows users to improve model accuracy debugging efficiency as a full-scenario precision toolchain for Ascend.

  • Memory Analysis msMemScope

    Provides multi-dimensional memory data collection, automatic diagnosis, and optimization analysis across the entire network.

Tuning
  • Model Optimization msProf

    Collects CANN and NPU profile data to improve the tuning efficiency.

  • Ascend PyTorch Profiler

    Collects profile data in PyTorch training and online inference scenarios and outputs visualized profile data files, improving performance analysis efficiency.

  • MindSpore Profiler

    Collects profile data in MindSpore training and online inference scenarios and outputs visualized profile data files, improving performance analysis efficiency.

  • Performance Analysis msprof-analyze

    Analyzes the collected profile data and quickly identifies performance bottlenecks of Ascend devices.

  • Tuning Tool Interface Library msPTI

    Builds tools for NPU-based applications to analyze the performance of applications.

  • Memory Analysis msMemScope

    Provides multi-dimensional memory data collection, automatic diagnosis, and optimization analysis across the entire network.

Run

  • Online Monitoring msMonitor

    Supports both drive dump and online profile data collection, with performance monitoring and fault location capabilities in cluster scenarios.

Extension Tools

  • bind_core

    (Core binding script) Supports non-intrusive modification of project code and implements one-click core binding.

  • Tinker

    (Automated LLM parallel strategy optimizer) Profiles single-node NPU performance to recommend high-throughput training scripts.

Inference Development Tools

Development
Debugging
  • Accuracy Debugging msProbe

    Allows users to improve model accuracy debugging efficiency as a full-scenario precision toolchain for Ascend.

  • Memory Analysis msMemScope

    Provides multi-dimensional memory data collection, automatic diagnosis, and optimization analysis across the entire network.

Tuning

Run

  • Online Monitoring msMonitor

    Supports both drive dump and online profile data collection, with performance monitoring and fault location capabilities in cluster scenarios.

Accuracy and Performance Evaluation

Tool Extension SDK

  • Tool Extension SDK msTX

    Customizes the sampling period or the start and end time of key functions to identify these functions or iterations and quickly demarcate performance and operator problems.