Release Notes

1. Version Overview

MindStudio is a full-process toolchain that Huawei provides for Ascend AI developers, dedicated to delivering end-to-end Ascend AI application development solutions and enabling developers to efficiently complete training development, inference development, and operator development. The new version focuses on scenarios such as reinforcement learning training and inference consistency verification, large model inference deployment optimization, and SIMT operator debugging and tuning for Ascend 950 products. It completes the systematic upgrade of the three toolchains — training, inference, and operator, and adds key capabilities including multi-scenario expert Skills, RL training and inference consistency verification, low-bit quantization algorithm expansion, full-process SIMT/Triton operator debugging and tuning, and enhanced performance collection and parsing.

  • Training development tools: To address pain points such as the high barrier to large model performance tuning, training and inference inconsistency in reinforcement learning, and the difficulty of locating accuracy issues, the MindStudio training toolchain adds observability metrics and accuracy analysis capabilities for Ascend 950 products. At the performance layer, PyTorch Profiler capabilities are 100% supported, and MindStudio Insight can import and analyze data in PyTorch Profiler Trace format. At the accuracy layer, RL training and inference consistency comparison covers mainstream RL frameworks such as verl, Slime, and AReal, shortening the issue localization cycle and improving the efficiency of large model training and inference iteration.
  • Inference development tools: To address development pain points such as high quantization tuning costs, the difficulty of low-bit quantization, complex long-sequence compression tuning, and inaccurate performance simulation estimation, the new version of the MindStudio inference toolchain comprehensively upgrades model quantization, distributed scheduling, long-sequence compression, simulation modeling, and service optimization capabilities. It broadens the range of supported models, enriches the quantization algorithm system, improves simulation evaluation accuracy, and reduces the cost of large model adaptation and deployment tuning.
  • Operator development tools: To address pain points such as incomplete SIMT operator debugging capabilities and cumbersome operator tuning analysis operations, the operator toolchain completes full-process tool adaptation for the pure SIMT and Triton operator development scenarios of Ascend 950 products. It adds Triton single-step debugging and Coredump parsing capabilities, and integrates the automation capabilities of operator compilation and issue analysis into MindStudio Agent, improving operator performance optimization and fault localization efficiency.

2. Version Compatibility

MindStudio BranchCANN VersionTorchNPU VersionAscend HDK
26.2.X9.2.X26.2.X26.2.RC1

3. Version Compatibility Notes

"Y" indicates supported, and "/" indicates not supported.

MindStudio CANN
8.5.0 9.0.X 9.1.X 9.2.X
8.3.X Y / / /
26.0.X / Y Y Y
26.1.X / Y Y Y
26.2.X / Y Y Y

MindStudio TorchNPU
7.3.0 26.0.X 26.1.X 26.2.X
8.3.X Y Y Y Y
26.0.X Y Y Y Y
26.1.X Y Y Y Y
26.2.X Y Y Y Y

MindStudio Ascend HDK
25.0.X 25.2.X 25.3.X 25.5.X 26.0.RC1/25.7.RC1 26.1.1 26.2.RC1
8.3.X Y Y Y Y Y Y Y
26.0.X Y Y Y Y Y Y Y
26.1.X / Y Y Y Y Y Y
26.2.X / / Y Y Y Y Y

4. New Features

SourceFeatureDescription
msAgentOne-click installationAdded one-click installation scripts using curl bash (Linux/macOS) and irm iex (Windows PowerShell). The tool environment is isolated based on uv to avoid dependency conflicts with the existing Python environment. The version, mirror source, and Python version can be specified through environment variables.
msAgentCustom Skill installationAdded the /add-skill command, which allows users to install a custom Skill directory or SKILL.md file from a local path in the interactive UI, taking effect immediately after installation to meet personalized scenario requirements.
msAgentAscend PyTorch Profiler adaptation SkillAdded the ascend-profiler-collect-adaption Skill to adapt the torch_npu.profiler collection interface for training, inference, and reinforcement learning scenarios, with accompanying best practice documentation.
msAgentascend-docs MCP subagentAdded the ascend-docs MCP subagent service (msagent-ascend-doc-mcp), which supports the Agent in directly retrieving official Ascend community documentation during conversations, improving documentation lookup efficiency.
msAgentGradient spike root cause localizationThe Accuracy Agent adds gradient spike root cause localization capability, implemented in three phases: documentation setup, basic localization scripts, and reverse comparison scripts, helping users locate the root cause of abnormal gradient surges.
msAgentExplicit memory management commandAdded explicit memory management commands, allowing users to proactively manage Agent session memory and avoid context overflow in long conversation scenarios.
msAgentCluster performance comparison SkillAdded two Skills, ascend-cluster-compare and ascend-prof-compare, which support profiling data comparison between clusters and Prof dataset comparison (GPU vs NPU / NPU vs NPU) respectively, and generate HTML comparison analysis reports.
msAgentAccuracy loss misalignment analysis SkillAdded accuracy loss misalignment analysis capability, helping users locate the root cause of loss inconsistency in quantization or migration scenarios.
msAgentOperator performance tuning SkillAdded the ops-performance-tuning Skill, which supports compilation, profiling, and performance tuning for AscendC/CATLASS/Triton/TileLang/PyPTO/SHMEM operators and outputs before-and-after comparison reports.
msAgentOperator MFU collection and analysis SkillAdded the op-mfu-profiler Skill, which supports collecting profiling data and parsing operator MFU, with accompanying best practice documentation.
msAgentOperator memory and debugging SkillAdded the mssanitizer Skill (operator memory, race, initialization, and synchronization anomaly detection) and the msdebug Skill (operator debugging and coredump parsing), covering official Ascend operator libraries and custom operators.
msAgentOperator soft synchronization analysis SkillAdded the mstx-report-soft-sync Skill, which analyzes user-implemented soft synchronization semantics in operators (inter-core barrier/set-wait and inter-device barrier/signal) and reports them through the mssanitizer Sanitizer interface, avoiding racecheck false alarms on soft synchronization.
msAgentFusion operator replacement and verification SkillAdded fusion operator replacement guidance (the fusion-op series), a torch-npu API query tool, and a fusion operator verification report Skill, assisting users in completing operator fusion optimization.
msAgentMemory analysis SkillAdded a Skill for using msmemscope and tuning memory, guiding msMemScope collection and systematic interpretation of dumps for leak, OOM, and tuning diagnosis.
msAgentmsprobe post-processing YAML generation SkillAdded the msprobe-postprocess-yaml Skill, which generates yaml configuration files based on tensor post-processing requirements.
msAgentAISBench automated testing SkillAdded an AISBench automated testing Skill, which supports one-click execution of AISBench benchmarks.
msAgentVLM model visualization SkillAdded a Skill for the automatic tuning and evaluation process of VLM models, improving VLM model visualization capabilities.
msAgenttraining and inference operator difference scanning SkillAdded the train-infer-op-diff-scanner Skill, which supports RL training and inference operator difference scanning (fusion operators vs single operators).
msAgentModule name mapping SkillAdded the module-name-mapper Skill (Level 0-3), which supports Ascend module name mapping and core module name cross-reference.
msAgentverl-omni msprobe dump SkillAdded an msprobe dump Skill for verl-omni scenarios, supporting profiling data collection for reinforcement learning frameworks.
msAgentAgent support for DiT model quantizationThe Modeling Agent adds DiT model quantization support, expanding the coverage of simulation modeling scenarios.
msAgentmsModelSlim Agent anti-outlier adaptationThe msModelSlim Agent adds anti-outlier adaptation capability, supporting DOT graph extraction and validation of the default anti-outlier algorithm.
msAgentAgent data resampling supportThe Agent adds data resampling (response regen) capability, supporting on-policy resampling process orchestration.
msAgentDevContainer unified development environmentAdded a unified MindStudio development environment solution based on DevContainer, supporting one-click configuration in VSCode.
msAgentSSL certificate verification optionLLMConfig adds an SSL certificate verification option, allowing users to configure TLS certificate verification behavior when needed.
msAgentGitleaks secret scanning integrationGitleaks is integrated into the pre-commit hook to automatically scan for local sensitive secret leaks before commit.
msAgentWheel build verification frameworkAdded a whl build verification framework (bootstrap + shared test framework + 5 verification cases) to ensure the quality of packaging and resource path changes.
msDebugTriton operator single-step debuggingSupports on-board debugging of Triton operators, including breakpoint setting, resuming running, memory/variable/register display, single-step debugging, interrupting running, core switching, and thread switching; fixes issues such as the inability to print variables that are missing in Triton scenarios and inaccurate breakpoints caused by abnormal code line information.
msDebugTriton operator coredump parsingSupports parsing of coredump files generated in Triton operator scenarios, which can trace back the call stack of abnormal code and indicate the code line where the Triton operator exception occurs.
msDebugPure SIMT operator debuggingSupports debugging capabilities in pure SIMT operator scenarios: hooks SIMT/ArgsArray series aclrtLaunch interfaces to support breakpoint setting and start_pc calculation, optimizes single-step and continue behavior in SIMT scenarios, and fixes issues such as abnormal continue after the second breakpoint and incorrect SIMT core PC reading.
msDebugPure SIMT operator coredump parsingSupports coredump parsing in pure SIMT operator scenarios, completing the capabilities of abnormal call stack display and abnormal code line indication.
msDebugAscend950DT debugging supportSupports operator debugging on Ascend950DT, unifies the device context handling of Ascend950DT and Ascend950PR, and fixes issues such as breakpoint setting failures, address translation errors, and core mask bit offsets on 950 series chips.
msDebugBuild accelerationSupports building msdebug with prebuilt LLVM libraries (enabled by default, with fallback to source code compilation through --no-prebuilt), passes through the ccache cache, and streamlines the LLVM compilation scope, greatly shortening the toolchain build time.
msDebugDevelopment environment and engineering specificationsSupports the VS Code Dev Container development environment; unifies tool command-line specifications; unifies clang-tidy and gitleaks checks in pre-commit; adds AGENTS.md to provide quick issue localization and troubleshooting guidance, improving the AI-assisted development experience.
msDebugNew model adaptationAdapted to the 560T-64G A3 model (Ascend910_9363) to ensure model supply continuity.
msDebugGitCode-based code hosting switchCompleted the GitCode code hosting switch and configuration update for the msdebug repository, and fixed presmoke pipeline issues.
msInsightNative PyTorch Trace import supportAdded an independent project type and parsing entry for a single *.pt.trace.json file or a qualifying single-file directory; collection time is aligned by baseTimeNanoseconds, the CPU Tensor Allocated curve is displayed in the Timeline, and comparison groups are distinguished from CANN/ordinary JSON projects. This release does not include a standalone Memory page or NPU Device Type 20 memory event display.
msInsightEnhanced interaction of the memory snapshot lifecycle diagramOptimized lifecycle diagram zoom, navigation, and shortcuts; supports horizontal markers, memory difference between adjacent markers, and marker management; the Slice Detail call stack supports forward and reverse order switching, keyword search, highlighting, and item-by-item localization.
msInsightLarge data processing optimization for memory snapshotsReduces the peak resources for loading the lifecycle diagram through compact drawing data, an OPFS batched data pipeline, and incremental rendering; optimizes SQLite write and query indexes for Snapshot import, replay runtime, and import processing.
msInsightMemory windowed zoom overview and peak localizationSupports continuous browsing by window, zoom and drag, global peak marking, and table sorting and localization; pop-up preview does not directly switch the data on the main page.
msInsightA5 DB hardware metrics and task lane displayThe Timeline is adapted to display AICORE_FREQ and QoS by Die, as well as data lanes for UB Rx/Tx, SIO, and DPU Task.
msInsightOperator-level MFU displayAdded backend query and frontend display of operator-level MFU, and adapted to data changes on the tuning side.
msInsightCustom operator classification and System View statistics optimizationComputing Time supports configuring service classification by Host operator name keywords; System View optimizes the identification, filtering, and display criteria of communication summaries, Kernel details, and summaries.
msInsightEnhanced interaction of the communication operator thumbnailAfter the thumbnail is focused, WASD time navigation is supported, along with independent Rank axis zoom and movement.
msKLAutomatic matching of tiling and kernel call interfacesImproved the usability of quick-call interfaces for tiling/kernel: tiling_func adds an optional workspace input parameter, and when lib_path is not explicitly specified, it automatically searches liboptiling.so recursively under the workspace (when there are multiple, the deployment package path is preferred); the kernel binary file of get_kernel_from_binary is now optional, and when it is not specified, the kernel is automatically selected by filtering in sequence by operator name (op_type) → device soc → json metadata in the same directory (dtype/format/shape), avoiding incorrect kernel selection in scenarios with multiple socs, multiple operators, or the same name with different dtypes; this also fixes issues such as secondary escaping of backslashes in data_path in tiling-generated code and soc_version not being passed correctly, and removes the dependency on symbol filtering by llvm-objdump.
msKLDev Container development environmentMerged the devcontainer mechanism and the accompanying pre-commit adjustments, supporting one-click launch of a container development environment consistent with the unified build image through Dev Container.
msKLCode security checkAdded gitleaks secret leak detection capability to intercept sensitive credential information at the commit stage.
msKLGitCode-based code hosting switchCompleted the GitCode code hosting switch and configuration for the mskl repository, and fixed presmoke pipeline issues.
msKPPEnhanced chip type error prompt (community contribution)When the chip type name (soc) passed in by the user is not supported, the tool prints the list of currently supported chip types in addition to the invalid parameter prompt, so that users do not need repeated trial and error to identify the correct name.
msKPPAutomatic acquisition of pre-commit toolsgitleaks and clang-tidy are unified as "prefer the version installed on the system, and automatically download it when missing": before downloading gitleaks, the tool probes for an existing executable in PATH; clang-tidy preferentially uses a system version with the same major version (18.x, aligned with clang-format and .clang-tidy rules), downloads the official LLVM package when missing, and provides installation prompts for each distribution when libtinfo5 is missing.
msKPPDev Container development environmentMerged the devcontainer mechanism and the accompanying pre-commit adjustments, supporting one-click launch of a container development environment consistent with the unified build image through Dev Container.
msKPPRepository state cleanup and CI checkRemoved the residual gitlink record of thirdparty/googletest and added it to the ignore list (this directory is actually downloaded as an artifact by download_dependencies.py), eliminating the git submodule status error; a gitleaks check configuration is added on the CI side.
msKPPGitCode-based code hosting switchCompleted the GitCode code hosting switch for the mskpp repository, including repository configuration, SCA verification and anti-poisoning check integration, and subsequent configuration updates.
msMemScopeHost heap memory leak detection supportAdded a Host heap memory leak detection analysis item (--analysis=host-leaks), which collects the allocation and release records of Host heap memory within the detection interval through malloc-family hooks, and outputs a leak overview report and block-by-block details aggregated by call stack; supports collecting the Python call stack of leak points, and provides leak point confidence analysis to reduce false alarms. In command-line mode, the launcher automatically assembles the hooks in Host mode; in Python interface mode, run source msmemscope --load-api-env=host first to complete loading.
msMemScopeOut-of-process control channel support (dynamic attach)Added the --pid/-p attach mode and the --command/-c single-shot mode, which can establish a control channel to a running target process and enter an interactive control session (supporting tab completion and arrow key navigation), and deliver control words such as start/stop, memory inspection (display memory summary/block), Host leak overview, and configuration viewing and modification (set config); before attaching, the tool verifies that the target process exists, the uid is consistent, libascend_leaks.so is loaded, and the control listening thread is ready.
msMemScopeSupport for collecting the whole-device memory curve and the current process memory curveCollects process-level memory information based on the DCMI interface, and adds the process_used (memory usage of the current process, consistent with Process memory in npu-smi info) and device_used (whole-device memory usage, consistent with HBM-Usage) fields to the output, which can be used to plot the memory curve of the current process and the whole-device memory curve, and to verify the collected data against npu-smi info output.
msMemScopeAdded CPU Tensor memory information collectionSupports collecting memory information of CPU Tensor allocation/release, which is uniformly classified into the HOST pool and displayed as Host tensor in the memory overview; corrects the semantics of --device=cpu, so that NPU addresses allocated by CPU Tensors are no longer collected by mistake; unifies the criteria of pinned memory and the HOST pool and performs bidirectional deduplication.
msMemScopeEnhanced memory OOM analysisAdded the --analysis=oom[:K] analysis item. When an OOM occurs, it automatically saves the operation information that triggered the OOM (func, req_size, ret), the most recent K unreleased records sorted by time, and the largest K unreleased records sorted by size; the value range of K is [1,1000], and invalid values or out-of-range values are intercepted with an error; fixed the data loss problem caused by OOM not being reported immediately.
msMemScopeFramework support extension for one-click memory decomposition analysisOne-click analysis adds FSDP and FSDP2 scenario support and optimizes vLLM scenario adaptation. Third-party framework hooks are automatically enabled, and core functions of vLLM/FSDP/verl are automatically instrumented, facilitating rapid memory decomposition analysis.
msMemScopeHistorical memory awareness supportIn Python API mode, when msmemscope.start() is called, memory blocks that have been allocated before the call and not yet released (existing memory) are automatically recorded to the output file, ensuring accurate statistics of the total memory within the start~stop interval; historical memory blocks are only persisted and do not participate in analysis processes such as leak analysis, memory decomposition, and inefficiency identification, and are transparent to users without additional configuration.
msMemScopeOne-click environment variable configuration and unified command-line specificationsAdded source msmemscope --load-api-env[=npu|host] and --unload-api-env to set/clear the environment variables required by the tool with one click, where npu and host modes are mutually exclusive; command-line parameter formats are revised according to the MindStudio unified specification, and the Python API is adapted accordingly; added the none keyword to disable event collection or the analysis function.
msMemScopeAnalyzer refactoringThe HAL analyzer and Step analyzer are refactored into the Leak analyzer and Health analyzer according to their actual functions, removing duplicated maintenance of memory block lifecycle states and facilitating subsequent expansion of analysis capabilities.
msMemScopedevcontainer containerized development environmentProvides a consistent containerized development environment based on devcontainer. Opening the repository in VS Code allows one-click container entry, one-click build, and one-click graphical debugging; also fixes issues such as occasional UT file write failures in container environments and missing files after Clean Workspace.
msModelingGLM-5.2 / GLM-5.3 Flash simulationSupports IndexShare sparse attention modeling for GLM-5.2, avoiding counting shared layers repeatedly as a complete indexer; added GLM-5.3 Flash simulation, and provides a GLM-5.2 measured operator library aligned with the CANN 9.0.1 software stack.
msModelingKimi K3, MiniMax M3, and Qwen3.8Supports Kimi K3 text and vision-language simulation, supports MiniMax M3, and adds Qwen3.8 text simulation (reusing the Qwen3.5 MoE path).
msModelingImage generation simulationAdded the main path of image generation simulation, supporting multi-step denoising workloads of FLUX.1-dev and Qwen-Image-Edit, and allowing evaluation of size, text conditions, and sampling steps.
msModelingPipeline parallelism and speculative decoding collaborationthroughput_optimizer supports PP search; PP can be evaluated together with MTP, DFlash, and DSpark, outputting scheduling-aware throughput and bubbles.
msModelingDSA context parallelismSupports context parallelism on the DSA path for computation, communication, and memory evaluation in long-sequence scenarios.
msModelingDFlash / DSpark speculative inferenceSupports DFlash and DSpark in text_generate and throughput_optimizer, using a unified speculative inference parameter boundary with the existing MTP.
msModelingChunked Prefill and variable-length inputWhen a long prompt exceeds the single-step prefill budget, it is modeled by chunk, and mixed-deployment evaluation of variable-length input is supported, making it easy to observe TTFT, P-phase throughput, and memory.
msModelingMeasured performance modeling and calibrationEnhanced Profiling interpolation; added analytic calibration, which can calibrate analytical latency with measured profiles, and falls back to the original analytical model when there is no hit or the device/software stack does not match.
msModelingModel adaptation diagnosisProvides paired theoretical and runtime diagnosis, covering hybrid attention and compatibility checks for text models such as Qwen3 MoE, DeepSeek, GLM, and Kimi.
msModelingDeepSeek V4 primary KV mixed-precision storageWhen attention FP8 quantization is enabled, the V4 primary KV storage and dequantization overhead are estimated by mixed rows; when quantization is disabled, the primary KV is estimated as BF16.
msModelingVue 3 web consoleThe web console is migrated to Vue 3 + FastAPI, covering forward simulation, video generation, and throughput optimization, and supports model selection, result visualization, and historical tasks.
msModelingMulti-hardware workload reuse and Atlas A5Multi-hardware search reuses hardware-independent computation volume, memory access volume, and communication volume; added Atlas A5 series device profiles.
msModelingOptiX Agent, multi-node, and early stoppingOptiX adds an Agent optimization mode; supports multi-node hybrid deployment and multi-node PD disaggregation; the vLLM benchmark can end early when performance is significantly worse than the baseline.
msModelSlimSignificant expansion of model quantization coverageAdded quantization support for multiple text and MoE model series, including GLM-5.2/GLM-5.3/GLM-5.3-Flash, Qwen3.6-27B/35B-A3B, Kimi-K3, MiniMax-M3, and Step-3.7-Flash, covering quantization schemes such as W8A8, W8A8C8, W4A4, W4A4C8, and MXFP4/MXFP8.
msModelSlimDeepSeek-V4 series model adaptationAdded adaptation for DeepSeek-V4-Flash-DSpark and integrated the official model names DeepSeek-V4-Flash-0731 and DeepSeek-V4-Pro-0813, supporting one-click W4A4C8 quantization (MTP is not quantized and is saved as FLOAT).
msModelSlimMultimodal and vision-language model quantization expansionAdded W8A8 and MXFP4 (W4A4) quantization practices for Gemma4 Dense/MoE, aligned with the existing best practice specifications and supporting one-click quantization.
msModelSlimOASQ outlier-aware smoothing quantization algorithm (community contribution)Added the OASQ (Outlier-Aware Smoothing Quantization) processor, which identifies outlier channels by z-score and derives the smooth scale analytically, reusing the anti-outlier Smooth base to complete statistics, fused write-back, and NonFusion HookIR connection.
msModelSlimHQQ weight quantization algorithmAdded the HQQ weight quantization algorithm, covering the full W8A16 per-channel "configuration → quantization → export" chain, with supporting UT cases.
msModelSlimtrainable_linear_quant trainable quantization processorAdded a trainable linear-layer quantization processor, supporting the block-level training quantization flow and shared subgraph construction; model adapters can optionally implement the TLQ data interface.
msModelSlimFA attention hybrid quantizationSupports attention hybrid quantization that combines QK-MXFP8 per-block dynamic quantization with V-MXFP8 PerChannel static quantization, covering the full chain of IR, calibration, AscendV1 saving, and model adaptation.
msModelSlimLong-sequence compression head analysisAdded the msmodelslim analyze attn_head command and the ra_compress metric to analyze the prefix-matching and copy-matching capabilities of each attention head and to select key heads for saving; the scoring logic is aligned with V0 and a calibration set is built in.
msModelSlimRunner scheduling refactoringRefactored quantization Runner scheduling to support data × pipeline dimension scheduling and multi-sample barriers; the multimodal VLM quantization service is aligned with the LLM Runner and supports the auto and dp_layer_wise modes.
msModelSlimEnhanced sensitive layer analysismsmodelslim analyze now supports multi-card DP and VLM calibration, and blocks misuse on multimodal generation models.
msModelSlimImproved weight conversion efficiencyWeight conversion (modelslim_convert) introduces streaming storage (convert-while-store with bounded memory) and multi-card NPU parallelism, significantly shortening large-model conversion time while keeping the output consistent with the CPU serial path.
msModelSlimQuantization configuration pre-validationQuantization configuration validation is moved from scattered runtime errors to a single full check before model loading, aggregating metadata-level and task-level errors into one report.
msModelSlimPseudo-quantization inferenceAdded pseudo-quantization inference, which evaluates quantized weights through pseudo-quantization inference after quantization is complete.
msModelSlimUnified CLI specification and toolchain optimizationCLI parameters are consolidated into a unified specification (--version, unified logging and help information), with hidden aliases keeping existing scripts compatible; a DevContainer development environment is introduced to reduce the third-party dependencies on wcmatch and pygtrie.
msModelSlimQuantization format knowledge base refactoringRefactored the quantization format knowledge base (format map + format entries + usage guide) and connected the quantization modes with one-click quantization navigation, making the knowledge base structure friendly to AI agent retrieval and reuse; model_type now supports the transformers basic quantization scheme.
msMonitorDCMI hardware metric collection for the Monitor APIThe Monitor API adds NPU hardware metric (power/frequency/utilization/HBM) collection capability, implemented by an independent C++ thread that dynamically loads the DCMI interface through dlopen, preferring v2 with automatic fallback to v1 to shield generational differences, and supporting slow-interface throttling, automatic convergence to a single device, and final sampling. The collected results can be analyzed in alignment with operator duration on the same time axis, facilitating hardware-level performance bottleneck localization.
msMonitorChrome Trace JSON export and hardware-layer visualizationTogether with DCMI collection, Chrome Trace JSON export is added. Each device presents kernel lanes, layer curves, and Overlap Analysis by hardware layer, using streaming writes with the DFX state embedded in metadata, so that metric changes can be viewed intuitively by hardware layer in Chrome chrome://tracing.
msMonitordevcontainer one-click development environmentA standardized development environment is built based on devcontainer, fixing the MindStudio build image, mounts, user mapping, and the clangd compilation database path. It provides idempotent initialization scripts that automatically complete the Python environment, compilation dependencies, gitleaks, and pre-commit, and configures .vscode code navigation/debugging, reducing environment configuration time for newcomers.
msMonitorpre-commit integration of clang-tidy and Gitleakspre-commit adds clang-tidy C++ static check rules and local offline secret scanning by Gitleaks, intercepting hard-coded sensitive information such as AK/SK and Tokens as well as C++ code quality issues before commit, preventing credentials from entering the Git history at the source.
msMonitorDocumentation cases and product naming standardizationFocusing on the roadmap documentation case enhancement mainline, completed product series name standardization (the Ascend 950PR&950DT/A3/A2/910/310P/310B/310 series are uniformly replaced with the target Atlas/Ascend names), marking of product support tables, completion of English translation and Chinese-English switching for 26.0.0/26.1.0 documentation, removal of Chinese images from English cases, and processing of 26.2.0 branch documentation links, and added constraining language to installation/build documentation to guide stable AI execution.
msOpGenDev Container development environmentProvides .devcontainer and related VS Code configurations, supporting one-click launch of a development environment consistent with the MindStudio unified build image through Dev Container, reducing build issues caused by local environment differences.
msOpGenAutomatic chip model detection (community contribution)Added the --auto-version switch: when -c/--compute_unit is not explicitly specified, the tool automatically calls the Ascend interface to detect the current chip model and generates a compute unit configuration in the form of ai_core-{soc_name}, avoiding manual chip name lookup; when both are passed in, automatic detection takes precedence and a warning is given, with the validation logic reusing the original process.
msOpGenBuild artifact consistencyThe timestamp write in setup.py is removed, eliminating inconsistent build artifacts for two builds of the same code. The build result reaches 100% BEP consistency, facilitating build cache reuse and artifact comparison.
msOpGenNew model adaptationAdapted to the 560T-64G A3 model (Ascend9363) to ensure that operator project generation and compilation are available in new model scenarios.
msOpGenCode security check and command-line specificationsAdded gitleaks secret leak detection capability to intercept sensitive information at the commit stage; adjusted command-line help information according to the MindStudio Toolchain Command-Line Unified Specification.
msOpGenGitCode-based code hosting switchCompleted the GitCode code hosting switch for the msopgen repository, including repository configuration, SCA and anti-poisoning check integration, and subsequent configuration updates.
msOpProfPure SIMT operator tuningSupports on-board and simulation tuning of pure SIMT operators: completes the on-board pipeline diagram display of the internal instruction pipeline of SIMT VF, fixes issues such as function failures in SIMT programming scenarios, loss of wrap information in cross-version SIMT simulation, and abnormal Gpr/Wrap display and threadNum in simulation, and provides a simt_simd fusion operator tuning case.
msOpProfCATLASS DSL operator tuningSupports CATLASS DSL operator tuning and adds scenario descriptions; fixes issues such as data truncation caused by overly long CATLASS operator names, Operator Basic Information not being printed, and dynamic instrumentation for operator tuning affecting the accuracy of DSL operators.
msOpProfAscendC custom marker pipelineSupports custom markers in AscendC operators through Trace_start/Trace_stop, and the marker data can be displayed in the on-board pipeline diagram and the hotspot diagram; fixes the display error where custom points are included in the hotspot statistics under the camodel simulator, and adjusts usermark so that it does not participate in hotspot statistics.
msOpProfEnhanced on-board pipeline diagram for compute-communication fusion operatorsCompletes the on-board pipeline diagram capability for shmem compute-communication fusion operators, supporting the display of compute-communication marker pipeline diagrams by granularity; fixes the issue where pipeline diagram data is occasionally lost without an alarm prompt when collecting fusion operators with --aic-metrics=PipeTimeline/InstrTimeline.
msOpProfA5 generation simulation enhancementSupports the new A5 generation simulator (camodel directory) and A5 inter-core synchronization instruction connections; supports switching to the camodel simulator in 950DT scenarios and unified mapping of the Ascend910_93 series to the dav_2201 simulator directory; fixes issues such as conflicts with LD_LIBRARY_PATH and errors in linking libraries through the binary rpath in camodel scenarios.
msOpProfPerformance data display and usability enhancementThe collection results add end-to-end performance display; added the --timeout parameter to set the collection execution timeout; the --dump parameter is intercepted with a prompt when timelinedetail is not enabled, avoiding invalid collection.
msOpProfNew model adaptationAdapted to the 560T-64G A3 model (Ascend910_9363) to ensure model supply continuity.
msOpProfDevelopment environment and engineering specificationsSupports the Dev Container development environment; unifies tool command-line specifications; adds gitleaks detection and adjusts the pre-commit mechanism.
msOpProfGitCode-based code hosting switchCompleted the GitCode code hosting switch and configuration update for the msopprof repository, and fixed presmoke pipeline issues.
msProbeSlime training and inference consistency data collectionProvides training and inference consistency preprocessing and collection guides for the Megatron training backend and the SGLang inference engine, assisting accuracy comparison by aligning input shapes; adds instructions for collection integration at stages such as training log_prob.
msProbeSlime actual hyperparameter comparisonExtracts the hyperparameter configurations that actually take effect from the Slime training logs, compares the target environment with the benchmark environment, and outputs the hyperparameter comparison results.
msProbeVeRL training and inference weight consistency verification solutionProvides a systematic consistency verification guide for stages such as weight update, transmission, and format conversion, assisting in locating the training and inference weight desynchronization problem in reinforcement learning.
msProbeModule input Tensor override loadingLoads existing module-level input Tensors through the load configuration in config.json and overrides the specified module input during forward execution; supports step/rank control and continued collection after the override, and is used to isolate accumulated errors from previous stages.
msProbeCustom accuracy comparison algorithmsSupports registering custom comparison algorithms through the agreed interface, dynamically extending the metric columns in reports, and displaying custom comparison metrics in hierarchical visualization.
msProbeRotated activation and weight restoration comparisonAdded matrix post-processing before Tensor comparison, supporting left multiplication, right multiplication, and left-right multiplication calibration, assisting scenarios such as QuaRot in eliminating systematic differences caused by rotation transformations.
msProbeACLGraph whole-network Tensor and custom API collectionOn the basis of statistics collection, supports real data collection of whole-network Tensors, saving module/API inputs, keyword arguments, and outputs; supports registering the full Python API import path through tensor.custom_api, and archiving .pt files by step/rank.
msProbeTensor slice collectionSupports specifying dimensions, dimension length conditions, and start/end ranges through slice to collect part of Tensors on demand; in ACLGraph, slice takes effect only for statistics tasks.
msProbePer-request collection of multiple batches in dynamic graphsSupports specifying the target inference request through request_id, and slicing dimension 0 in combination with scheduled_tokens to extract the target request data from the batch.
msProbeMoE Router monitoring metricsAdded a MoE Router hook to L2 feature monitoring, supporting monitoring of the average cosine similarity of expert weights and per-Token expert entropy, assisting analysis of routing behavior and training status.
msProbeIn-place operation module input and ATB API collectionSupports retaining input data before an inplace Module is executed, and adds input and output collection for the torch_npu.atb API.
msProfPure C interfaces chaining the fully C-based parsing processAdded the MsprofRunPipeline pure C interface and the MsprofPipeline C++ orchestrator, which execute the stages selected by flags in the order CANN_TRACE -> DEVICE_DATA -> DB -> TIMELINE -> SUMMARY and support skipping already parsed data. The Python entry automatically determines and connects to the full C process, and falls back to the original process when conditions are not met.
msProfC-based directed acyclic graph registration mechanismThe previously scattered Processor/Summary/DB/Timeline assembly process is unified into a registered DAG. ExportManager selects the root node according to the export configuration, TopoGraphBuilder recursively expands dependencies and validates them, and ProcessControl executes concurrently by topological level and releases useless data according to the paramTypes of subsequent nodes, greatly improving parsing efficiency in scenarios with tens of thousands of cards and TB-level parameters.
msProfHost CPU frequency performance data collection and parsingAdded the capability to parse raw slice files of Host-side CPU frequency, reading host_cpu_freq.data.slice_* and producing data objects that can be persisted, supporting alignment of CPU frequency with model service data on the same time axis.
msProfSOC PMU/SMMU DFX memory access metric collectionAdapted to SOC PMU SMMU DFX data collection and parsing, supporting collection and presentation of key memory access metrics such as Page Fault, assisting localization of NPU-side memory access performance issues.
msProfACLGraph event wait/record Timeline displaySupports the latest MSprofEventInfo and MSprofNotifyInfo structures, connecting the complete link from data collection and parsing to persistence and export, and presenting event wait/record keys on the Timeline to facilitate analysis of synchronization wait relationships between streams.
msProfC++ refactoring of multiple modulesCompleted the C++ refactoring and data persistence of more than ten modules, including TsTrack, Lowpower, LpmInfo (freq/AICore voltage/BUS voltage), QoS and UB, Capture Stream and MC2 communication, NPU operator memory parsing and calculation, Non-Mini LLC and PCIe, AICPU additional parser, KFC Calculator, RuntimeOpInfo, A5 PMU, CCU, and StreamExpand and StaticOpMem.
msProfCCU performance optimizationOptimized the algorithm for finding the maximum-latency channel of the CCU, reducing the time complexity from O(mn) to O(m+n) and improving the efficiency of large-scale data parsing.
msProfDecoupling of collection and parsing structuresDecoupled the data structures on the collection side from those on the parsing side, laying the foundation for subsequent independent evolution and interface openness.
msProfAggregating op_statistic from memory in the full C processThe full C parsing link now aggregates and generates op_statistic.csv from task association results in memory, no longer depending on op_counter.db.
msProfUnified development environment based on devcontainerProvides a development solution based on devcontainer and the MindStudio unified build environment, lowering the environment setup barrier for community contributors.
msProf-analyzeCluster baseline comparison analysisAdded a baseline comparison analysis module that locates the source of Steptime increments using a layer-by-layer attribution method: first determine the mainly affected parallel dimension, then drill down into timeline phases (forward/backward/optimizer), and finally identify the specific pattern. Supports computation-communication overlap ratio analysis and quantification of the net overhead of communication domains, helping quickly locate the root cause of linearity degradation in large-scale training scaling scenarios.
msProf-analyzeMFU single-device data adaptationThe MFU (operator-level and Module-level MFU) analysis capability is adapted to single-device profiling data, supporting single-device scenarios with ascend_pytorch_profiler.db (without the rank_id suffix), and fixes the issue that -m is missing from --help in Agent mode.
msProf-analyzeDevContainer unified development environmentAdded a one-click development environment based on the Development Containers specification, including container base configuration, idempotent initialization scripts, IDE debugging configuration, and pre-commit integration, reducing the environment setup time for newcomers from hours to minutes.
msProf-analyzeGitleaks local offline secret scanningIntegrated the Gitleaks pre-commit hook, which uses a local offline binary to scan staged files for secrets before commit without requiring a network connection, preventing credentials such as AK/SK and Tokens from entering the Git history at the source.
msProf-analyzeUnified command-line specificationAccording to the MindStudio toolchain command-line unified specification, the output format and information organization of --version and --help are optimized, improving command-line readability and parseability in Agent scenarios.
msProf-analyzeThird-party dependency reductionReviewed and removed unused third-party dependencies, reducing the installation size and maintenance cost.
msPTIMSPTI Activity API alignment with industry standardsAdded C APIs such as msptiGetVersion, msptiActivityGetStructSize, msptiActivityGetEnabledKinds, msptiActivityGetNumDroppedRecords, msptiGetTimestamp, and msptiActivityRegisterTimestampCallback, supporting query of version information, Activity Kind enabling status, and the number of dropped records, as well as registration of user-defined timestamp callbacks. In addition, msptiActivityGetNextRecord is refactored into a stateless implementation (removing the thread_local cursor and deriving the position from the record pointer), aligned with the semantics of the industry cuptiActivityGetNextRecord interface and supporting interleaved consumption across multiple buffers and threads.
msPTIMSPTI Callback API alignment with industry standardsAdded C APIs such as msptiEnableAllDomains, msptiGetCallbackName, msptiGetCallbackState, msptiSupportedDomains, msptiGetEnabledCallbacks, and msptiIsTracingSessionRunning, supporting one-click enabling of all Domains, query of Callback names and states, and query of the enabled Callback list and supported Domain list. The pre-check logic is uniformly extracted into a PreCheck method, which returns MSPTI_ERROR_NOT_INITIALIZED when not initialized.
msPTIActivity Overhead recordsAdded the MSPTI_ACTIVITY_KIND_OVERHEAD Activity Kind, the msptiActivityOverhead structure, and the accompanying enums (msptiActivityOverheadKind/msptiActivityObjectKind), which automatically record and report the start and end time of MSPTI framework operations based on RAII, helping users evaluate the performance impact of the collection tool on applications.
msPTIActivity attribute configuration and queryAdded the msptiActivityAttribute enum and the msptiActivitySetAttribute and msptiActivityGetAttribute interfaces, supporting configuration of the Channel Buffer size and query of the current timestamp callback, enhancing the flexibility of collection configuration.
msPTIRuntime Memory data collectionAdded the MemoryParser module and integrated it into the ActivityManager collection process, supporting the reporting of Memory (Malloc/Free/Host/Managed), Memset (synchronous/asynchronous), and Memcpy (multiple copyKinds) activities through the native CANN runtime path. CANN 9.2.0 and later versions use the new reporting path, while earlier versions retain the LD_PRELOAD compatible path, lowering the integration barrier.
msPTIAICPU device channel collectionAligned with ProfAicpuJob/ProfAiCustomCpuJob of the CANN Runtime, adding AICPU/AiCustomCpu device channel collection capability for MSPTI. The "channel start/stop + read and discard" link is currently connected, eliminating device-side error logs in A3/A5 scenarios caused by the AICPU driver channel not being enabled, and reserving infrastructure for subsequent AICPU data parsing.
msPTImsptiGetResultString interfaceAdded the msptiGetResultString API, which takes a msptiResult return code and returns the corresponding human-readable description string, making it easier for users to obtain diagnostic information during error handling. The implementation uses static table lookup with no locks and no allocation, and is thread-safe.
msSanitizerPure SIMT operator anomaly detectionSupports anomaly detection for operators in the AscendC pure SIMT programming paradigm: covering out-of-bounds and unaligned access, inter-thread stomping, inter-thread races, reading uninitialized memory, and sync_thread synchronization detection within SIMT; also adapts to scenarios such as compiler stub function binding, SIMT UB dynamic size acquisition failure, and SIMT cross-core UB access, eliminating the corresponding false alarms.
msSanitizerCATLASS DSL operator anomaly detectionSupports anomaly detection for operators in the CATLASS DSL programming paradigm, covering out-of-bounds and unaligned access, inter-thread races, reading uninitialized memory, and synchronization detection, and specifically optimizes the detection results and time consumption of CATLASS template library operators.
msSanitizerRegister non-default value detectionAdded the --trace-non-default-spr-reg=vector parameter to trace vector instructions that use vector mask registers with non-default values, outputting normal/counter modes and mask high/low bit information, helping locate accuracy and function issues caused by implicit modification of special registers by AscendC APIs; supports the physical core count specifications of 950 chips.
msSanitizerDCCI detection enhancementDCCI missing detection now supports dynamic instrumentation scenarios, covering operators launched through dynamic instrumentation; fixed DCCI detection false negatives and false positives, added descriptions of function usage limitations, and fixed the missing help information for --check-dcci.
msSanitizerInter-core synchronization flag_id validity alarmAdded flag_id validity check in inter-core synchronization mode4 scenarios: when the flag id on the AIV exceeds the valid range, the abnormal instruction information is saved and the user is prompted that the parameter is invalid at the end of detection, avoiding false alarms as deadlocks.
msSanitizerImproved anomaly detection efficiencyInter-core stomping detection is changed to be enabled on demand by alarm level, and the pipeline replay process is skipped when initialization detection is not enabled, reducing unnecessary Shadow Memory processing and instruction recording; together with memory detection performance optimization, the detection time of large-shape operators (such as CATLASS repository operators) is significantly reduced.
msSanitizerAdaptation to new models and CANN 9.2.0Adapted to the 560T-64G A3 model (adding a new chip model mapping) to ensure model supply continuity; adapted to dynamic library changes in CANN 9.2.0, adding aclrtSetDevice hooking and reporting of the device type.
msSanitizerDevelopment environment and engineering specificationsSupports VS Code Dev Container development and debugging; unifies tool command-line specifications (the version parameter is adjusted to -V/--version, the help information is re-laid out and distinguishes basic options from sub-options); pre-commit unifies clang-tidy and gitleaks checks, and soft-links compile_commands.json to the build directory for IDE use.
msSanitizerGitCode-based code hosting switchCompleted the GitCode code hosting switch for the mssanitizer repository, added the configuration required for running gitcode actions, and fixed presmoke pipeline issues, adapting to the migration of the code hosting platform.
msTXDev Container unified development environmentProvides a complete containerized development environment: .devcontainer container base configuration (fixing the MindStudio build image, mounts and user mapping, environment variables, recommended extensions, and lifecycle hooks), idempotent initialization scripts (Python 3.11 switching, automatic completion of compilation dependencies, pre-commit installation, clangd readiness, and workspace cleanliness rules), as well as VS Code Release/Debug builds, unit tests, cleanup tasks, and Python debugging configurations, with clangd enabled to improve code navigation and completion experience.
msTXEnhanced code security checkAdded gitleaks secret leak detection capability: offline scanning of staged changes at the local pre-commit stage, with masked output of matched secrets, achieving upfront protection that "sensitive information is not committed to the repository"; also added clang-tidy static check configurations covering null pointers, uninitialized variables, memory safety, and coding style.
msTXProduct model label adaptationNPU labels are added to the product support tables in the documentation, making it easy for users to quickly confirm the support scope by product model.
msTXGitCode-based code hosting switchCompleted the GitCode code hosting switch and configuration update for the mstx repository, and fixed presmoke pipeline issues.

5. Change Description

SourceChangeImpact
msAgentSeparation of the global configuration directory from workspace stateRefactored configuration management to separate the global configuration directory from workspace state, and unified msagent configuration folder management under ~/.msagent/. Users who already have a custom configuration path need to confirm that the configuration file location is correct.
msAgentReplacement of the operator performance tuning SkillThe ascendc-operator-performance-optim Skill is replaced by the ops-performance-tuning Skill, which covers a wider range of operator types (AscendC/CATLASS/Triton/TileLang/PyPTO/SHMEM). Automation processes that depend on the old Skill name need to update their references.
msAgentUnified Agent namesHermes is renamed to Profiler, Zephyr is renamed to Quantizer, and Icarus is renamed to Operator. Configuration files or scripts that use the old names need to be updated accordingly.
msAgentCLI session lifecycle and Legacy CLI compatibility managementAdded CLI session lifecycle management, chat command handling logic, and a Legacy CLI configuration management module to improve backward compatibility.
msAgentVersion number iterationIn this cycle, 26.1.0 (2026-08-21), 26.1.1 (2026-08-29), 26.1.2 (2026-09-05), and 26.1.3 (2026-09-16) were released in sequence and finally converged into 26.2.0.
msDebugAdjustment to the prebuilt LLVM build modeIncompatible change: Source code builds use prebuilt LLVM libraries by default to accelerate the build and no longer compile LLVM by default; users who need to compile LLVM from source or customize LLVM must explicitly add the --no-prebuilt parameter.
msDebugAdjustment to command-line parameter specificationsThe version and help parameter forms are adjusted according to the MindStudio Toolchain Command-Line Unified Specification, with -V/--version as the standard version parameter and the help information re-laid out; scripts that depend on the old parameter forms need to be adapted accordingly.
msDebugStreamlined debugging and test log outputIrrelevant log output during tool running is streamlined. --log-level is used only to control the output of necessary running information, so that users can focus on debugging information.
msDebugAdjustment to coredump configuration instructionsThe documentation no longer describes the usage of LAUNCH_KERNEL_PATH, and the dump configuration instructions for abnormal operators are optimized accordingly. Users who configured based on the old instructions need to refer to the latest documentation.
msDebugDocumentation and naming specification updatesAdded FAQs such as "the code location where a breakpoint is hit does not match the expectation", explanations of TTFHW constraining language, limitations of single-step debugging, and security statements; unified product form and product series names; the README supports switching between Chinese and English and incorporates English documentation.
msKLExtended parameter semantics of quick-call interfacesThe path-type parameters of tiling_func and get_kernel_from_binary are now optional. When no parameter is passed, artifacts are automatically matched by workspace / operator name / soc / json metadata. The calling method that explicitly specifies paths is still compatible, but automatic matching results may differ from manual specification. Explicitly specifying paths is recommended when artifacts have the same name.
msKLAdjustment to packaging scripts and License statementssetup.py is fixed so that the wheel package no longer contains only the top-level mskl package (subpackages are now included), and the License statement is consistent with the Mulan PSL v2 used by the repository; automation processes that depend on the old package contents or old License fields need to be adapted accordingly.
msKLDocumentation and naming specification updatesDocumentation usability optimization, addition of security statements, and explanations of TTFHW constraining language; unified product form and product series names; the README supports switching between Chinese and English and incorporates English documentation.
msKPPChanges to the chip name parameter validation promptWhen an unsupported chip type name is passed in, the tool output is extended from the single line Parameter chip_name in Chip is unsupported to include a list of supported types. Automation scripts that match on the old error text need to be adapted accordingly.
msKPPClarified dependency download instructionsthirdparty/googletest is no longer managed as a submodule and is instead downloaded by download_dependencies.py according to dependencies.json; users who fetched test dependencies with git submodule update as before need to switch to automatic download by the build script.
msMemScopeCommand-line parameter formats are revised according to the MindStudio unified specification, and the Python API is adapted accordingly. For details, refer to the -h output of the tool and the Memory Collection documentation.Scripts and usage habits that follow the old command-line parameter formats need to be adapted according to the -h output of the tool and the Memory Collection documentation; Python API callers need to be adapted accordingly.
msMemScopeLinked events are no longer automatically saved; the saved data is subject to the --events parameter, which matches the original intent of users.Users who previously relied on automatic saving of linked events need to explicitly configure --events to obtain the required saved data.
msMemScopeAdded the none keyword: --events=none disables event collection and --analysis=none disables the analysis function; when none appears together with other values, none takes precedence and a warning is output.Use the none value when event collection or analysis needs to be disabled; when none appears together with other values, the collection behavior is subject to none, and configurations with conflicting value combinations should be noted for warnings.
msMemScopeThe necessity analysis and reduction of third-party dependencies were carried out to reduce the installation and runtime environment dependencies of the tool.Environment dependencies required for installation and running are reduced, lowering environment preparation costs; environments where the involved dependencies are already installed are not affected.
msMemScopeHost heap memory leak detection is mutually exclusive with leaks, decompose, inefficient, and oom, so they cannot be enabled at the same time in the same configuration; the collection configuration cannot be changed through config() within the detection window, and stop() must be called before adjusting and then start() again.Multiple analyses cannot be enabled at the same time in the same configuration, so collection must be performed in batches as required; to adjust the collection configuration within the detection window, call stop(), modify the configuration, and then call start() again.
msModelingLower bound of Transformers required by GLM5The GLM5 series requires Transformers 5.16.x. When a lower Transformers version is used, the environment must be upgraded first.
msModelSlimUnified CLI parameter systemCLI parameters are consolidated into a unified specification (--version, unified log switch and help information), with old parameters retained as hidden aliases. Existing scripts are unaffected; new scripts are recommended to follow the new naming, and --help output is more standardized.
msModelSlimDocumentation and knowledge base refactoringRefactored the quantization format knowledge base (format map + format entries + usage guide) and connected the quantization modes with one-click quantization navigation; added a general case set template and a validation checklist table; model_type supports the transformers basic quantization scheme. The documentation structure is clearer, the lookup paths are more centralized, and the content is AI-agent friendly, making quantization format documentation and case templates easier to reuse.
msMonitorHost UID-based isolation of IPC communicationThe UNIX domain socket communication between the dynolog daemon and the msmonitor plugin is isolated by host UID: the socket file path is changed from ~/<addr>.sock to ~/<addr>_<hostUid>.sock, and the hostUid suffix is appended to the IPC target name and data channel name. This change resolves communication crosstalk when multiple machines share $HOME in shared storage/NFS scenarios; when hostUid is empty, the original path is retained for compatibility with earlier scenarios.
msMonitorReduction of Rust third-party dependenciesdynolog trims unnecessary Rust third-party dependencies such as anyhow, path-clean, and rustls, reducing the dependency size and build complexity of source code compilation. Customization scripts or scripts based on the old dependency list need to update their dependency declarations accordingly.
msMonitorRisk reduction for devcontainer security statementsSecurity risks in the devcontainer and vscode reference configurations are reduced, and the security statement descriptions are adjusted so that the reference configurations better meet the security requirements of modern AI development workflows such as Docker containers and shared clusters.
msOpGenAdjustment to tool command-line help informationThe output format of help information is redesigned according to the unified specification, and command-line parameter styles are more consistent; automation scripts that parse the old help text need to be adapted accordingly.
msOpGenDocumentation and naming specification updatesDocumentation usability optimization and low-level error cleanup, addition of security statements, and explanations of TTFHW constraining language; unified product form and product series names; the README supports switching between Chinese and English and incorporates English documentation.
msOpProfAdjustment to the CMake version constraint strategyThe upper version constraint on CMake is removed from CMakeLists, so builds are supported in CMake 4.x environments; environments that previously failed to build due to the version upper limit can directly use the new build process.
msOpProfPrompt for truncation of extra-long logsFixed the error in printing extra-long logs. When a log exceeds the length limit, it is truncated according to the specification, preventing the collection process from being interrupted by log exceptions.
msOpProfRelaxed on-board pipeline restrictions for compute-communication scenariosThe restriction on the on-board pipeline diagram for compute-communication scenarios is removed from the documentation. The on-board pipeline diagram capability is already available for compute-communication fusion operators, and users can configure collection according to the latest documentation.
msOpProfAdjustment to command-line parameter specificationsThe version and help parameter forms are adjusted according to the MindStudio Toolchain Command-Line Unified Specification, the help information is re-laid out, and -V/--version is the standard version parameter; scripts that depend on the old parameter forms need to be adapted accordingly.
msOpProfDocumentation and naming specification updatesAdded scenario descriptions for CATLASS DSL, SIMT, and custom markers as well as security statements; unified product form and product series names; the README supports switching between Chinese and English and incorporates English documentation.
msProbePython compatibility upper limit extended to 3.14The package metadata is adjusted from <3.14 to <3.15, together with fixes for multi-process compatibility issues in hierarchical visualization and result merging; frameworks and extension packages still need to use compatible versions.
msProbeModularized comparison algorithms and dynamic metric columnsBuilt-in comparison algorithms are managed by a unified scheduler, and reports and visualization generate metric columns based on the algorithm set. External scripts that parse reports should read by column name instead of relying on a fixed number of columns.
msProbeAdjustment to ACLGraph slice configurationThe generic slice configuration replaces the previous seq_len single-dimension truncation method; migrate old configurations to slice, and note that ACLGraph tensor tasks do not support slice.
msProbeImproved low-precision statistics handlingFor INT8/UINT8, quantized types, and single-byte floating-point types such as FP4/FP8, dtype/shape is retained, and statistics that cannot be calculated are recorded as null; use Tensor mode for further analysis.
msProbeUnified command-line help and version queryThe format of -h help information is unified, and a -V version query entry is added, improving command discovery and environment identification during issue feedback.
msProbeThird-party dependency and import optimizationThe rich dependency is removed, and torch is imported on demand in core, reducing the requirement for unnecessary dependencies when loading basic tools.
msProbeEnhanced usability of collection configuration and logsThe common step/rank configuration supports a single numeric string; a registration success log is added, multi-rank logs are optimized, and YAML warnings are deduplicated. The rank string of ACLGraph still supports only the range format.
msProbeUnified development and build environmentAdded Dev Container and VS Code development configurations; the source code installation guide clarifies the standard build image process and the requirement to install torch/torch_npu before compiling ACLGraph, NaN detection, and XOR extensions.
msProbeTightened output path constraints for hierarchical visualizationThe output_path of TensorBoard convertToGraph must be a relative path within logdir; absolute paths, directory fallback, or symlink escape paths are rejected. Related callers should adjust their output paths.
msProbeExpanded user guide and typical casesOptimized the feature navigation, build, and inference collection documentation, and added localization cases such as training NaN, determinism, training and inference consistency, and inference garbled text/repetition.
msProfUnified byte size of streamId/taskId/batchId as uint32_tThe streamId under the Runtime Track is pre-expanded from uint16_t to uint32_t, and model-id is added to model-execute. Internal structures are changed, without affecting user-side command lines or deliverable formats.
msProfUnified memcpy and HCCL bandwidth calculation using 1024-based byte conversionThe GB/s and B/s conversion for memcpy, HCCL, DPU timeline, and DB persistence in Python and C++ is unified to use 1024, correcting the previous inconsistency where some paths used 1000. Parsing scripts that depend on the old bandwidth values need to verify result changes.
msProfEnhanced installation path validity checkThe validity check of the installation path is added to the run package installation process, and invalid paths are rejected.
msProfChanged alarm behavior when no valid Profiling data is identifiedAn exception return code is added when no valid Profiling data is identified. Incompatible change: Automation scripts that depend on the original silent alarm behavior need to adapt to the new exception return.
msProf-analyzeAdjustment to the retention policy for cluster analysis DB outputCluster communication analysis in DB format no longer deletes the entire cluster_analysis_output directory, and only the text format still cleans the directory before generating text results. MindStudio Insight can consecutively call -m operator_mfu and -m all to generate results for different functions without worrying about existing results being deleted by mistake.
msProf-analyzeUnified string semantics for the rank mapping keys of the communication matrixThe group/local-rank keys inside the rank map of the communication matrix are unified to string semantics, and MultiIndex vectorized lookup is used instead of two wide-table merges, eliminating dtype conflicts and reducing memory and copy overhead for large-scale clusters. Scripts that depend on the old merge behavior are not affected, and the types of persisted fields remain unchanged.
msProf-analyzeGitCode-based code hosting switch for the repositoryThe CI/CD configuration and pre-commit configuration of the repository are adapted to the GitCode code hosting switch, and related CI pipeline configuration items are updated accordingly.
msProf-analyzeCompatibility adjustment for earlier Python versionsDict union operations are changed to the {**dict1, **dict2} syntax for compatibility with Python 3.7-3.8.
msPTIStateless refactoring of msptiActivityGetNextRecordIncompatible change: The thread_local position cursor is removed, and the current position is derived from the *record pointer. Callers that previously relied on the thread_local cursor advancing automatically need to explicitly pass the record pointer, consistent with the semantics of the industry cuptiActivityGetNextRecord interface.
msPTISwitch of the Memory data collection pathCANN 9.2.0 and later versions use the native Runtime reporting path (no longer depending on LD_PRELOAD), while earlier versions retain the LD_PRELOAD compatible path. Users of earlier CANN versions do not need to adapt, but are advised to upgrade to CANN 9.2.0+ for a more stable Memory data collection experience.
msPTIRemoval of the worker thread from DevProfTaskDevProfTask no longer inherits from the thread class, and StartTask/StopTask are executed inline. Since this task requires no continuous monitoring throughout, removing the thread reduces unnecessary thread overhead and does not affect user-side calling methods.
msPTIRefactoring of the ActivityManager thread lifecycleThe thread start/stop logic of ActivityManager is refactored, and the thread stop timing is moved from destruction to the msptiUnSubscribe collection end process, avoiding abnormal thread states caused by ActivityManager destruction.
msPTIChange to the version number parsing methodThe <regex>-based version number matching is replaced with pure string matching, eliminating occasional coredump issues in LD_PRELOAD scenarios.
msPTIStandardized product series namingAscend series names in the documentation are uniformly replaced with the target Atlas/Ascend names (for example, "NPU 950 series" becomes "Ascend 950 products"), and the capitalization of MSPTI is unified as msPTI in the documentation.
msPTIUnified copyright formatThe code copyright statement format is unified to the standard MulanPSL-2.0 format, and the pre-commit hook is adapted accordingly.
msSanitizerAdjustment to command-line parameters and help informationIncompatible change: The version parameter is changed from -v, --version to -V, --version, and the original -v is retained as a compatible parameter but no longer appears in the help information; the help information is re-laid out according to the unified specification and distinguishes basic options from sub-options. Automation scripts that depend on the semantics of -v or parse the old help text need to be adapted accordingly.
msSanitizerUnified sub-function enabling methodThe sub-options of the four main functions memcheck/racecheck/initcheck/synccheck are unified as "effective only after the corresponding main function is enabled"; when no main function is specified, memcheck is executed by default. Old commands that implicitly enable detection only through sub-options need to explicitly specify the main function.
msSanitizerMutual exclusion between initcheck and --block-idinitcheck and --block-id can no longer be enabled at the same time. When both are enabled, the command line reports an error and exits with the reason, avoiding uninitialized false alarms caused by single-block data modeling. Related scenarios need to switch to full-block detection.
msSanitizerAdjustment to the register detection output behavior--log-level controls only the printing of detection results and no longer outputs instruction detail logs; when --trace-non-default-spr-reg is enabled, the log level is automatically switched to info to avoid mixing logs with alarm information.
msSanitizerPrerequisites for Triton operator detectionTo detect Triton operators, you must first set export TRITON_ENABLE_SANITIZER=1; otherwise, the tool cannot collect related information. This instruction has been added to the documentation.
msSanitizerDocumentation and naming specification updatesCompleted the 26.2.0 documentation usability optimization, added function limitation descriptions and security statements; unified the Ascend product form names and product series names; the README supports switching between Chinese and English and incorporates multiple English documents.
msTXAdjustment to test commands in Dev ContainerFixed the error when executing unit tests in Dev Container (the test command no longer carries the local parameter, avoiding missing dependencies). Users can execute python build.py test according to the documentation.
msTXAdjustment to compilation and packaging script behaviorsetup.py removes unused packages, tag.platform is evaluated on use, and the License statement is unified to the Mulan PSL v2 used by the repository; automation processes that depend on the old packaging script behavior need to be adapted to the new script.
msTXDocumentation and naming specification updatesUnified product form and product series names, added security statements, the README supports switching between Chinese and English and incorporates English documentation, and added explanations of constraining language for AI-assisted execution.

6. Resolved Issues

SourceFixScope
msAgentFixed input pollution caused by OSC escape sequences in high-latency terminal environments, eliminating abnormal character injection during terminal interaction.High-latency/remote terminal usage scenarios
msAgentFixed the ReadTimeout exception during Agent running, improving stability in long conversation scenarios.Agent long conversation running scenarios
msAgentFixed the compatibility issue between NumPy 2.x and prefetto, ensuring normal operation in higher NumPy environments.Installation and running scenarios in NumPy >= 2.x environments
msAgentFixed the loss of the msprof-mcp dependency when building the wheel package from source, restoring the integrity of the source code installation path.Source code compilation and installation scenarios
msAgentFixed the issue that a higher version of deepagents makes the /threads function unavailable, restoring session thread management capability.Session thread management scenarios
msAgentFixed the error ModuleNotFoundError: pathspec.patterns.gitignore caused by an excessively low pathspec version constraint.Installation and startup scenarios
msAgentFixed incorrect links in the Suggestions and Communication sections of the README on the home page, as well as incorrect issue links related to mssanitizer.Documentation and link navigation scenarios
msAgentFixed the incompatibility between LocalShellBackend virtual_mode and the LangChain library by explicitly setting virtual_mode.LocalShellBackend virtual mode scenarios
msAgentFixed abnormal output of msagent --help / msagent --version.Basic CLI command scenarios
msAgentFixed the abnormal pseudo-translation option of ops-transformer that caused tool instructions not to be recorded properly and synchronization anomaly false alarms.ops-transformer tool scenarios
msAgentFixed abnormal display of the MCP server configuration, and added security statement information.MCP server configuration and display scenarios
msAgentFixed the process interruption caused by a tiktoken SSL certificate error when compressing sessions.Session compression and SSL scenarios
msAgentSecurity fix: Fixed the deserialization security issue of pickle.load, eliminating potential code execution risks.Model loading and deserialization scenarios
msAgentSecurity fix: Fixed the automatic execution issue of the execute tool by changing the default approval mode to ask, ensuring execution only after user confirmation.Shell command execution scenarios
msAgentSecurity fix: Fixed multiple rounds of CVE vulnerabilities and security issues with CVSS < 7, including improper deletion in the local sandbox and configuration injection.Global security scenarios
msAgentSecurity fix: Fixed security issues by removing improper operations on the local sandbox.Sandbox security scenarios
msAgentFixed the issue that the context is not cleared after switching Agents, preventing residual context from affecting the judgment of the new Agent.Agent switching scenarios
msAgentFixed UT issues in modules such as msagent tool parameters, version check logic, terminal theme, HTML protection logic, configuration constraints, and message parsing.Unit test and developer self-test scenarios
msAgentFixed the false triggering of the accuracy/precision-debugger SKILL.Accuracy Agent accuracy debugging scenarios
msAgentFixed the trigger constraint issue of the spike-root-cause-analysis SKILL.Accuracy spike analysis scenarios
msAgentFixed the trigger constraint issue of the train-infer-op-diff-scanner SKILL.training and inference operator difference scanning scenarios
msAgentFixed consistency and operability issues in the RL training and inference operator consistency scanning Skill.RL training and inference consistency analysis scenarios
msAgentFixed the on-demand loading guidance in constraints.md and the numeric difference trigger words of the compare-result-analyzer skill.Comparison result analysis scenarios
msAgentFixed the inconsistency between the usage of the Operator tool and the official repository.Operator Agent scenarios
msAgentFixed the issue that anti-outlier suppression modifies the site-package path.msModelSlim anti-outlier scenarios
msAgentFixed the issue that newly added Skills can only be recognized after exiting the current Agent when /skills is entered.Skill loading and management scenarios
msAgentAdded security statement information for MCP serve in the documentation.MCP configuration documentation scenarios
msDebugFixed debugging issues in POD environments: n hangs after core switching, a single step jumps multiple lines, and the PC is displayed incorrectly when switching threads; also fixed incorrect SIMT core PC reading and supported restoring the historical focus thread after AIV core switching.POD on-board debugging, SIMT debugging, and thread switching scenarios
msDebugFixed coredump call stack display issues: some error types have no accurate PC but the stop reason is not Unknown, and the abnormal call stack of cube and multi-kernel operators in A2 scenarios is displayed inaccurately or repeatedly.Coredump parsing scenarios
msDebugFixed shmem operator scenario issues: operators such as simt_rma_ub2gm fail to be launched by the tool (they run normally on their own), and coredump display is abnormal under combine_classic.shmem/compute-communication fusion operator debugging scenarios
msDebugFixed device and address related issues: abnormal reading of Host-side addresses during aclnn calls, failure to obtain the virtual device ID, adaptation of the device ID conversion interface, and obtaining kernelName and binHandle based on aclrt interfaces.Multi-device/virtual device and aclnn call debugging scenarios
msDebugFixed issues such as timeout errors when printing during multi-device debugging, occasional breakpoint setting failures on 950, occasional memory read failed, and abnormal focus handling in SIMT single-step and hardware breakpoints.Multi-device debugging and 950/SIMT on-board debugging scenarios
msDebugFixed the failure to view variables such as p tiling.aDim (variable not available), and the abnormal memory attribute management caused by halMemAdvise not being processed based on the memory range base address.Variable viewing and memory attribute management scenarios
msDebugFixed issues such as abnormal expression evaluation in pure SIMT scenarios, false stops caused by residual breakpoint positions on the Host side, breakpoint residue in the device stopped state, and unrelated log output.Pure SIMT debugging and Host-side breakpoint scenarios
msDebugFixed build and security issues: the ccache configuration in cmake does not take effect, build security compilation option issues, and multiple security scan issues.Source code build and security compliance scenarios
msKLFixed the issue that the wheel package contains only the top-level mskl package and that import mskl reports ModuleNotFoundError after installation. The whl package now contains all subpackages.whl package installation and Python API call scenarios
msKLFixed the inconsistency between the MIT License classifiers declaration in setup.py and the Mulan PSL v2 used by the repository, as well as the non-standard classifiers syntax.Packaging and compliance check scenarios
msKLUpdated invalid external links such as catlass in the documentation to prevent access failures through old links.Documentation usage scenarios
msKPPFixed repository state and pipeline issues: git submodule status reports fatal: no submodule mapping found in .gitmodules because thirdparty/googletest lacks a submodule mapping; some test cases in the presmoke pipeline fail after the GitCode code hosting switch.Source code build, repository state, and CI pipeline scenarios
msKPPFixed the issue that pre-commit repeatedly downloads tools (or directly depends on local installations) when gitleaks / clang-tidy are already installed on the development machine, causing checks to fail in offline environments.Code check (pre-commit) scenarios
msMemScopeTasks fail to be launched after using the msmemscope tool on an A5 pod.A5 pod scenarios
msMemScopeDuring API collection, modifying config collection items after start and before stop does not take effect as expected but actually takes effect.Python API collection configuration scenarios
msMemScopeThe printed information is hard to understand when collecting Host memory data, and the persisted file path is not printed.Host memory collection scenarios
msMemScopeExecution hangs in single-device training scenarios after MSMEMSCOPE_HOSTMEM_PYSTACK_LIVE_BYTES is set for Host data collection.Host data collection in single-device training scenarios
msMemScopeData collection hangs when systemd is missing on the Linux system.Linux environments without systemd
msMemScopeData collection reports aclError:507035 after compiling the leaks/c sample.C sample compilation and collection scenarios
msMemScopeThe process_used value of collected memory data differs greatly from the process memory usage shown by npu-smi info.Process memory data comparison scenarios
msMemScopeThe events=none parameter is not printed in the help information, and abnormal parameters --h and -help are not intercepted.Command-line help output and abnormal parameter validation scenarios
msMemScopeNPU addresses allocated by CPU Tensors can still be collected even when --device=cpu is specified.--device=cpu CPU Tensor collection scenarios
msMemScopeSetting output_path through the msmemscope.config interface does not take effect in some scenarios.Python API output path configuration scenarios
msMemScopeThe tool reports an error when --events=alloc,free --device=cpu --format=csv is added for command-line inference data collection.Command-line CPU inference data collection scenarios
msMemScopeThe command-line parameters output-path/format do not support API collection.Python API parameter configuration scenarios
msMemScopeThe OOM_TOP_ALLOC and OOM_RECENT_ALLOC data is not collected when collecting OOM information in MindIE scenarios.OOM collection in MindIE scenarios
msMemScopeThe tool does not intercept and report an error for abnormal values such as analysis=oom:-1/1001.--analysis=oom parameter validation scenarios
msMemScopeAdding events="traceback" to API collection in single-device training scenarios causes hanging.Python API collection in single-device training scenarios
msMemScopeAPI data collection in vLLM scenarios causes hanging.Python API collection in vLLM scenarios
msMemScopeThe tool reports an error when calling the describe.describer(inputs, owner='test') interface.describe interface call scenarios
msMemScopeSetting the output path for API collected data in MindIE scenarios does not take effect.Python API collection in MindIE scenarios
msMemScopeThe description of the default path of the output parameter in the help output is incorrect.Command-line help output scenarios
msMemScopeFree events with an abnormal type exist in the collected memory data; shadow events released after stop lengthen the visualization display.Memory data visualization analysis scenarios
msMemScopeThe number of kernel_start records is incorrect in data collected with --level=1 --events=launch in multi-device training scenarios.Launch event collection in multi-device training scenarios
msMemScopePersistent memory is incorrectly marked as temporary in the stream-ordered allocation mode.Memory type marking scenarios in stream-ordered allocation
msModelingFixed the issue that an absolute path of a local model on Windows is rejected by the character allowlist. Existing drive-letter paths can still be used as model paths, and invalid strings are still rejected.Specifying local model paths through the CLI on Windows
msModelingFixed the issue that a single failed worker initialization in multi-process simulation causes the remaining processes to wait indefinitely. After a failure, the barrier is aborted, the task is cleaned up, and a clear error is returned; when all workers exit, blocking no longer continues indefinitely.serving_cast multi-process simulation
msModelingFixed the undercounting of recomputation states, the incorrect upper-limit usage of decode requests, and the inaccurate QPS calculation by phase duration for Chunked Prefill.Chunked Prefill and serving scheduling estimation
msModelingFixed the issue that PD mixed deployment counts TTFT repeatedly in the end-to-end latency, thereby underestimating the output throughput.PD mixed deployment throughput results
msModelingFixed the unclear prompt when Qwen-Image-Edit receives multiple source inputs, and the failure of Qwen-Image-Edit-2511 under --compile due to mixed types of index tensors. The base model now clearly indicates that only a single source is supported.Qwen-Image-Edit / 2511 image editing simulation
msModelingFixed the issue that OptiX PSO exits directly when all first-round candidates fail. After the first round fails, candidates are regenerated and iteration continues.OptiX PSO optimization
msModelSlimFixed an incorrect MXFP8 quantization formula (per-block scaling is now computed with torch.ldexp).Users using MXFP8 quantization
msModelSlimFixed an out-of-memory (OOM) issue during Qwen3.5 model quantization.Users quantizing Qwen3.5 series models
msModelSlimFixed an issue where optional fields were cleared by the merge logic during multi-card distributed saving.Users performing multi-card quantization with optional fields configured
msModelSlimSecurity fix: Analysis results are now written to disk through the unified secure path validation in msmodelslim.utils.security, eliminating potential path escape risks.Sensitive layer analysis and long-sequence compression analysis scenarios
msModelSlimSecurity fix: Added read and write permission validation for weight and configuration read/write, reducing the risk of unauthorized access.Quantization, conversion, and saving scenarios
msMonitorFixed security issues at the IPC message receiving end: when NpuIpcClient::Recv() previews the message header through recvmsg(MSG_PEEK), Metadata.size is fully controlled by the sender without limit validation, posing a resource exhaustion risk (CWE-400, severity High); also fixed the issue that MetricManager::ConsumeMsptiData() accesses kindSwitchs_[]/metrics[] using record->kind of external MSPTI data as an array index without bounds check, where an abnormal kind value may cause out-of-bounds read/write and process crash. After the fix, bounds checks are added for both size and kind.dynolog/msmonitor plugin IPC communication and MSPTI data consumption scenarios
msMonitorFixed the runtime error Error when SyncSendMessage: UNIX Socket path is not exist or not writable caused by an incorrect IPC name matching rule, and adjusted the matching rule so that matching works properly.Scenarios where the dyno CLI delivers npu-monitor/nputrace commands
msMonitorFixed the runtime error when clicking Build: Debug Mode in devcontainer environments, and completed the pybind11 and libmspti.so dependencies missing from debug version compilation.devcontainer source code debug compilation scenarios
msMonitorFixed the incorrect acquisition of the version number and user permissions during whl packaging, and the packaging process now correctly obtains the current user permission path for packaging.Software package release scenarios
msMonitorFixed copyright statement and file format issues, and unified copyright statements and format specifications.Repository code and documentation copyright compliance scenarios
msOpGenFixed the AttributeError: module 'importlib' has no attribute 'util' error reported by the msopst tool with the latest code (the util package referenced inside the tool is not released with the package), restoring operator project management and compilation capabilities.msOpSt operator project management scenarios
msOpGenFixed security issues found by security scans, improving code security compliance.Security scanning and compliance scenarios
msOpProfFixed performance metric calculation errors: an incorrect aic_l1_read_bw(GB/s) formula causes inaccurate metrics; the Ascend910B4 frequency value in CLOCK_SPEED_SERIES_MAP is inconsistent with the official CANN source.Performance metric statistics scenarios
msOpProfFixed the loss of artifacts when DFX REGION is launched multiple times in the same kernel, ensuring that data collected multiple times is completely persisted.DFX REGION multiple collection scenarios
msOpProfFixed collection and tuning channel startup issues: the operator tool tuning channel fails to open, an out-of-logical-device-range number passed for Ascend950PR causes the collection channel startup to fail, and --dump execution is abnormal in A2/A3 scenarios.On-board collection and tuning channel startup scenarios
msOpProfFixed the issue that CATLASS operators run simulation normally on their own but fail when msopprof simulator is added (related to the way the simulator library is linked).CATLASS operator simulation scenarios
msOpProfFixed compatibility issues caused by compiler namespace changes, ensuring that the tool builds and runs properly with new compilers.Source code build and compiler compatibility scenarios
msOpProfFixed security issues: fixed the index out-of-bounds in the MTE throughput calculator, and added owner validation and write permission validation for bare command parsing.Security compliance and metric calculation scenarios
msOpProfFixed usability issues: it is inconvenient to set the msprof op execution timeout (added --timeout), the execution script reports Get profiling data failed, and csv file paths in performance data results are hard to find.Command usage and result viewing scenarios
msOpProfFixed the build version identification issues of build.py: the master branch cannot be built by the latest commit, the sub-repository and dependency versions are inconsistent when checking out to an untagged branch, and builds fail on locally created branches.Source code build and historical version build scenarios
msProbeFixed abnormal processing of some Tensors in ACLGraph L0 collection, and L1 collection failures in fake mode/higher-order operators.ACLGraph module-level and API-level collection
msProbeFixed the exception when acl_save saves non-contiguous Tensor data.ACLGraph single-point Tensor saving
msProbeFixed abnormal statistics collection triggered by quantized and FP4/FP8 types, and improved the handling of unsupported statistics types.ACLGraph quantization and low-precision scenarios
msProbeFixed the timing issue of ACLGraph replay statistics, and maintained the order between collection and model tasks in the final Host callback solution.ACLGraph statistics collection
msProbeFixed false alarms of valid statistics, and removed duplicate Meta registration and related false alarm warnings.ACLGraph statistics collection and operator registration
msProbeInitialized the collection switch device before graph compilation, fixing the issue that selective module collection in validated vLLM graph mode misses prefill Tensors.ACLGraph selective module collection
msProbeFixed the incorrect collection of module data at L1 after load is enabled, the semantics of step/rank control, and the incorrect skipping of dumps when the load range is exceeded.Module input override loading and data collection
msProbeRetained the requires_grad attribute of overridden input Tensors.Module input override loading
msProbeFixed the incompatibility of dump2db with dictionary-format parameters/parameters_grad, the loss of micro_step gradient data, and the collapsing of numeric suffixes.Trend visualization gradient data import
msProbeFixed the issue that the label list is not refreshed after switching metrics in trend visualization.Trend visualization frontend
msProbeFixed the inconsistent visualization DB file names between the main and child processes under the Python 3.14 forkserver, and the exception caused by the loss of shared metrics in merge_result.Python 3.14 visualization and result merging
msProbeRestored the original dtype after merging TP statistics to avoid floating-point precision deviations.TP statistics data comparison
msProbeFixed the issue that only the first Token dump directory is collected in TorchAir FX multi-graph scenarios.TorchAir multi-graph accuracy comparison
msProbeImproved the column name conflict validation, return value handling, and on-demand loading of custom algorithms, avoiding loading custom algorithms in ATB scenarios.Custom comparison algorithms and ATB comparison
msProbeFixed compatibility issues with MindSpore 2.10 and earlier versions.MindSpore collection and monitoring
msProbeFixed the lock contention issue caused by introducing the tqdm dependency for log printing.Tool logs and concurrent running
msProbeFixed the issue that invalid parameters are not correctly reported when acc_check/multi_acc_check is used with -h.Accuracy pre-check command-line parameter validation
msProbeAdded real path, file type, and permission validation before loading the nan_check custom operator library, rejecting invalid library files.NaN detection custom operator library loading
msProbeFixed the issue that the TensorBoard convertToGraph output path can escape logdir.Hierarchical visualization web graph construction interface
msProfFixed the ERROR printed in parsing logs when msprof collects system data for Ascend 950 products.Ascend 950 system data collection and parsing scenarios
msProfFixed the inconsistency between the unified db data content and json in V6 scenario qos export.V6 QoS data export scenarios
msProfFixed the issue that dataSize of hccl data is presented as invalid, which does not meet usage expectations.HCCL bandwidth parsing scenarios
msProfFixed the data loss caused by the string length of mstx communication markers exceeding the set value.MSTX communication marker collection scenarios
msProfAdapted to SOC PMMU Page Fault memory access metric collection.SOC PMU memory access metric collection scenarios
msProfFixed the incorrect table name of ENUM_OVERLAY_ANALYSIS_TYPE in db tables.Overlay Analysis DB export scenarios
msProfFixed the ERROR in plog when host-sys=numa is set.NUMA system data collection scenarios
msProfFixed the occasional data loss when mstx is enabled.MSTX data collection scenarios
msProfFixed the issue that A5 mix operators cannot distinguish actual duration through aic_time and aiv_time in scenarios where core execution is unbalanced.A5 mix operator parsing scenarios
msProfFixed the occasional exception in db storage caused by garbled hash values during parsing.Full data parsing scenarios
msProfFixed the command parsing failure caused by the --application parameter incorrectly identifying -m as a path.Command-line collection scenarios
msProfFixed incorrect addresses and bandwidth coefficients of A5 PMU main_mem read/write bandwidth events, and main_mem bandwidth is consistent across the entire link after distribution by chip.A5 PMU main_mem bandwidth parsing scenarios
msProfFixed the error reported for profiling collection with with_stack enabled in vllm-ascend 0.23.0 serving online scenarios.vLLM-Ascend online collection scenarios
msProfFixed the failure to export the aicpu.csv deliverable.AICPU data export scenarios
msProfFixed the error reported by biu perf on A2/A3 with no related data tables.BIU Perf data parsing scenarios
msProfFixed the loss of some operator names when geApi data collection is enabled.GeApi operator name parsing scenarios
msProfFixed the non-unique globalTaskId in ACLGraph static graph scenarios.ACLGraph static graph parsing scenarios
msProfFixed parsing failures in tiling sink scenarios.Tiling sink parsing scenarios
msProfFixed the missing data in chip_trans_v6 timeline export.V6 chip data export scenarios
msProfFixed abnormal hbm.csv deliverable data caused by different hbm quantities on different chips.HBM data export scenarios
msProfFixed duplicate export of the aicpu deliverable.AICPU deliverable export scenarios
msProfFixed the issue that multiple files in platform-profiler.run do not meet the PIE, SP, Ftrapv, and Strip requirements in secure compilation option scanning.Secure compilation and release scenarios
msProfFixed the abnormal interruption of the msprof command when the parent directory contains an invalid Profiling subdirectory.Directory parsing scenarios
msProfFixed the adaptation of msprof to the aicoreNum quantity on new chips.New chip AICore parsing scenarios
msProfFixed the inconsistency between negative time values in communication matrix data and actual expectations.Communication matrix analysis scenarios
msProfFixed the missing step_trace related data in graph mode data export.Graph mode data export scenarios
msProfFixed the occasional failure of msprof freq parsing and array out-of-bounds access in frequency data parsing.Frequency data parsing scenarios
msProfFixed the exception caused by attempting to create related tables when taskinfo does not exist.TaskInfo parsing scenarios
msProfFixed the error "LAST task has no matching FIRST task" reported in msprof parsing logs.Data parsing scenarios
msProfFixed the inconsistency between DB and Timeline values caused by QoS bandwidth write overflow.QoS bandwidth parsing and export scenarios
msProfFixed the unexpected matching error caused by warmup in kfc aicpu related data.KFC AICPU parsing scenarios
msProfFixed the problem with the enum values used by NPUModuleId.NPU Module memory parsing scenarios
msProfFixed the issue that setting the text format and op_attr when exporting db by default causes op_attr to be disabled.Data export format configuration scenarios
msProfFixed abnormal export in scenarios without computing operators.Export scenarios without computing operators
msProfFixed data parsing issues when adapting to new chip 19 scenarios.New chip data parsing scenarios
msProfFixed the empty db and missing csv in deliverables generated when host-sys=numa.NUMA data export scenarios
msProfFixed the issue that Args displays event_id when id != aclrtRecordEvent and id != aclrtStreamWaitEvent.Event Wait/Record Timeline display scenarios
msProf-analyzeFixed the error reported by advisor running when api_name in PYTORCH_API is empty, eliminating ERROR logs on the screen.advisor analysis scenarios
msProf-analyzeFixed the UnicodeDecodeError caused by the non-UTF-8 default encoding when the compare tool loads JSON trace files on Windows, by explicitly specifying encoding='utf-8'.compare tool Windows scenarios
msProf-analyzeFixed the issue that the total Uncovered Communication Time calculated by the performance comparison tool is greater than the sum of the duration of each communication domain, caused by the interval merge logic deep-copying only the first interval so that subsequent intervals share mutable objects with the input.compare tool communication duration analysis scenarios
msProf-analyzeFixed the inability of mstx2commop to process communication MSTX JSON data with backslash escapes, and the failure of new streamId associations to match TASK; the communication JSON text is normalized to be compatible with both escaped and unescaped formats.Cluster communication data parsing scenarios
msProf-analyzeFixed the appearance of -1 for step in cluster_time_summary analysis results, caused by querying the wrong table entry and thus incorrectly determining that the step does not exist.cluster_time_summary analysis scenarios
msProf-analyzeFixed the issue that when communication time or bandwidth statistics are missing individually in cluster analysis, the other available statistics are also discarded; the two types of statistics are now processed separately.Cluster communication analysis result persistence scenarios
msProf-analyzeFixed the error in DevContainer where Run Unit Tests cannot find dependencies due to the local parameter.DevContainer development and testing scenarios
msProf-analyzeFixed the issue that advisor considers analysis results to exist merely based on the presence of the cluster_analysis_output folder without checking whether the DB exists; in DB scenarios it now specifically checks whether cluster_analysis.db exists.advisor cluster analysis result invocation scenarios
msProf-analyzeReduced the security statement risks of the vscode and devcontainer reference configurations.Development environment security scenarios
msProf-analyzeUnified the copyright header statement format.Code files across the repository
msPTIFixed the stack buffer overflow vulnerability (CWE-121) caused by passing the fixed 128-byte stack buffer commName in the HcclInnerMark constructor to HcclGetCommName without a length constraint; a heap buffer is now used with an agreed maximum length.HCCL communication operator collection scenarios
msPTIFixed the occasional abnormal termination of MindSpore model processes after setting the libmspti.so path in LD_PRELOAD scenarios, caused by a coredump in <regex> version parsing under specific environments.LD_PRELOAD integration + MindSpore scenarios
msPTIFixed the device-side error reported when MSPTI collects Kernel and other data in A3 and A5 scenarios, eliminating HCCL reporting failures by adding AICPU device channel collection.A3/A5 device Kernel collection scenarios
msPTIFixed the issue that the tool does not identify the resetDevice operation, which may cause an error due to the device data channel being closed later when the user calls resetDevice before closing the tool.Device reset + tool closing scenarios
msPTIFixed the issue that ActivityBuffer never requests a new buffer to save data after obtaining an empty buffer; the buffer validity is now checked, cur_buf_ is released when invalid, and a new buffer is requested when new data is subsequently recorded.Activity data collection scenarios
msPTIFixed the issue that the ActivityBuffer constructor uses reserve instead of resize, resulting in an actual available buffer size of 0.Activity data collection scenarios
msPTIFixed the issue that MSPTI collects one fewer marker record than expected.Marker data collection scenarios
msPTIFixed the mismatch in the amount of data when collecting single-operator data based on MSPTI (events do not count the operator in single-operator scenarios, and operators with an execution time of 0 are occasionally collected in multi-operator scenarios).Single-operator NPU data collection scenarios
msPTIFixed the missing device-side data collection after communication ends in the MSPTI HCCL Activity sample code.HCCL Activity samples
msPTIFixed the timing dependency between aclrtResetDevice and drvstop caused by a defect in the call order of DeInit and DeInitMspti in test cases.Unit test and developer self-test scenarios
msPTIFixed the issue that the host side still reports data during UnRegister and that device data is not reported in time, causing data loss; added the unregistering_ switch and the RetryFlushUntilDrained retry mechanism.Activity collection end and data flush scenarios
msPTIFixed the issue that the tool may collect less data on A5.A5 device data collection scenarios
msPTIFixed the matching failure and association failure under the A5 unique ID feature, where the Runtime taskid is uint32 but the Communication taskid is still uint16.A5 Communication data collection scenarios
msSanitizerFixed a series of race detection false alarms: abnormal DN2NZ instruction offset calculation, mutual races of ELEMENT records within vgather instructions, UB inter-core scalar write races, single pipe races, races of the atomic operations SCALAR_RED/SCALAR_ATOM, SIMT cross-core UB races, false alarms caused by missing DSB synchronization instructions, and incorrect call stack display in race alarms.Typical race detection (racecheck) scenarios
msSanitizerFixed a series of uninitialized and memory detection issues: false alarms of uninitialized memory when LOAD_L1_2D loads padding address ranges, false UB uninitialized alarms on A5 (detection of the corresponding scenario is temporarily disabled), false alarms of whole-network UB access caused by the failure to obtain the SIMT UB dynamic size, incorrect stack(private) memory size calculation on 950 series chips, and incorrect core_type determination of 950 physical cores.Uninitialized detection (initcheck) and 950/A5 chip scenarios
msSanitizerFixed synchronization detection false alarms: when the sync id of AIV inter-core synchronization exceeds 15, the hardware actually truncates it, and only the lower 3 bits of the event id of set_flag/wait_flag are valid, but the tool previously reported a deadlock as an invalid value; also fixed the false alarm of synchronization detection hanging.Synchronization detection (synccheck) inter-core synchronization mode4 scenarios
msSanitizerFixed memory detection and tool usability issues: false alarms caused by incorrect address space identification of pc_preload instructions, missed detection of invalid release caused by BadSize=0 validation, missing size validation for abnormal output, LOAD_L1_2D not supporting a negative src_stride, and garbled binary content printed in IPC interface logs.Memory detection, instruction parsing, and log output scenarios
msSanitizerFixed the performance degradation of race detection for the 05_grouped_matmul_slice_k operator in the A2 CATLASS template library (detection time degraded from 27 minutes to 65 minutes).Race detection scenarios for large-shape operators in the CATLASS template library
msSanitizerFixed false alarms in open-source operator repository detection: abnormal WAW races of dense_lightning_indexer_softmax_lse and false write out-of-bounds alarms in DataCopyPad Compact mode in the ops-transformer repository, false L1 out-of-bounds alarms of conv3d_transpose_v2 and race false alarms of operators such as max_pool_grad_with_argmax in the ops-nn repository, and race false alarms between atomic operations of scalar_atomic_operations in the asc-devkit repository.Full-scan detection scenarios for the ops-transformer / ops-nn / asc-devkit operator repositories
msSanitizerFixed tool build and detection startup issues: detection failures caused by changed stub function binding names after a compiler upgrade, failure to detect memory leaks when --log-level=error and --leak-check=yes are used together, and the inability of build.py to build by the latest commit on the master branch as well as build failures on locally created branches.Source code build, historical version build, and memory leak detection scenarios
msTXFixed unit test and coverage statistics issues: when executing python build.py test, the number of C/C++ core test cases actually executed is 0 (the static library containing gtest cases is discarded by the linker), coverage instrumentation applies only to test code and cannot cover product code, and the coverage script path is invalid. After the fix, all test cases can be executed properly and an HTML coverage report covering the c/ and python/ product code is generated.Unit test and coverage statistics scenarios
msTXFixed the error when executing the Test: Run Unit Tests task in Dev Container.Dev Container development environment
msTXFixed the conflict between the License declared in setup.py and the repository license, and the inability of the module-level next(sys_tags()) to run in build environments lacking packaging.whl package compilation and packaging scenarios

7. Known Issues

SourceContentWorkaroundImpact
msDebugIn SIMT scenarios, the code line where each thread is currently located cannot be displayed after a Ctrl-c interruption.After the interruption, switch between cores and threads to check the thread status one by one.Thread status localization after a SIMT debugging interruption
msDebugIn A2 scenarios, the address of vector operators is displayed as invalid during coredump parsing; the LLVM_EXTRACT_DI_LOCAL_VARIABLES function is abnormal during on-board debugging on A2, causing some variables to be non-printable.Locate the issue manually based on the kernel source code and the call stack; to view variables, verify in a 950 series environment instead.Coredump parsing and variable viewing on A2 chips
msDebugDuring multi-NPU debugging, the context switch is not NPU-wide, so the step count of each NPU is offset.During multi-device debugging, check the stepping status of each NPU to avoid relying on a global step count.Stepping consistency in multi-device parallel debugging
msDebugThe step in single-step function is not supported for Triton operators, which has been noted in the documentation and command-line instructions.For Triton operators, use step over or set a breakpoint in the target function.Usability of Triton operator debugging
msKLThe necessity analysis of third-party dependencies and the reduction plan for redundant dependencies (sympy/scipy/attrs/psutil/decorator, etc.) have not been merged yet.Install based on the current dependency list; when installing manually, evaluate whether the involved dependencies are actually required.Installation package size and dependency installation time
msKLThe PR that adds unit test cases has not been merged yet, so regression protection coverage for some modules is insufficient.Perform end-to-end verification based on service scenarios before the upgrade.Adequacy of regression verification during version upgrade
msOpGenThe directory structure of the custom operator project generated by msOpGen is inconsistent with that of product repositories such as ops-math. Users need to adjust it manually when migrating from the generated project to a product repository.Use the tool according to its purpose: msOpGen is used for rapid development and verification of minimal compilation units, and finished operators should follow the project structure of the product repository.Migration efficiency from custom operator development to repository upload
msOpProfWhen data of multiple kernel functions is collected in a single run, the data of each kernel is saved in a separate folder, and no aggregated data view is provided yet.Use --launch-count to specify the number of collection times, and view the data folder by folder.Efficiency of viewing aggregated data in multi-kernel scenarios
msOpProfIn camodel simulation scenarios, simulation of some A5 operators containing SyncAll hangs (a minimized test case has been submitted and is still being followed up).Use on-board collection in such scenarios; before simulation, verify that the operator synchronization instructions are correctly paired.Collection of A5 operators in camodel simulation
msOpProfWhen msprof op collects Triton operators, the driver channel fails to be enabled, which requires further reproduction and confirmation (usually caused by occupation by another process).Confirm that no other collection process is occupying the channel, and supplement a reproduction script for localization.Performance collection of Triton operators
msOpProfThe AIC Metrics Set on-demand collection capability (an open-source co-construction task) has not been delivered yet, so Metrics must be collected as a whole set currently.Collect the whole set, or use the existing grouping parameters provided by --aic-metrics.Metrics collection granularity and collection time
msOpProfIn simulation scenarios, metrics such as the cache hit rate cannot be viewed, and the interpretation of serial simulation data of multiple operators requires manual distinction.Focus on the cache miss instruction information in the pipe; for cache behavior analysis, use the L2 cache data collected on board.Performance interpretation of simulation results
msSanitizerThe race detection algorithms for inter-core, inter-pipe, and intra-pipe races have not been parallelized, so detection of extra-large operators takes a long time.Use --block-id to narrow the detection scope, or enable only the required main detection functions.Race detection time for large-shape operators
msSanitizerThe version verification function for detection stubs is not provided yet, and the prompt is not clear enough when the stub version does not match the tool version.Use the stub version that matches the tool, and check the version consistency between the stub and the tool first when an exception occurs.Issue localization efficiency in version mismatch scenarios
msSanitizerDetection conclusions cannot be directly returned for abnormal operator execution results (for example, a failed accuracy comparison).Analyze the detection alarms together with the operator accuracy comparison script.Accuracy issues still require manual comparison and localization
msSanitizerThe launch mode in which MC2 operators deliver CCU and AIC tasks simultaneously, as well as HCCL shared memory scenarios, have not been adapted yet.For related scenarios, use the conventional single-operator detection process for verification before the adaptation is complete.Detection coverage of MC2 and HCCL shared memory scenarios
msSanitizerFalse alarms still exist in scenarios where atomic operations (atomic_intrinsics) avoid races through soft synchronization, as well as in SIMD_VF scenarios.Confirm manually based on the alarm call stack and the operator synchronization logic.Interpretation of detection results for operators that use this programming mode
msTXThe interface alignment capabilities for the Payload class and Counter class planned in the roadmap have not been delivered in this version.Use the existing msTX marker interfaces to mark code segments; custom values can be analyzed in association with logs or Profiler-side data.Code ranges with custom values (such as batch size and sequence length) cannot be marked directly, and custom statistical metrics (such as memory usage and queue depth) cannot be reported as time series.
msTXThe necessity analysis and reduction report of third-party dependencies has not been delivered.Prepare dependencies according to the dependencies.json in the repository and the installation guide.There is no clear conclusion on dependency trimming, and users need to prepare the build environment based on the current dependency list.

8. Virus Scan Result

Antivirus SoftwareAntivirus Software VersionVirus Database VersionScan TimeScan Result
QiAnXin8.0.5.52602026-09-26 08:00:00.02026-09-27No virus, no malware
Kaspersky12.0.0.66722026-09-27 10:11:002026-09-27No virus, no malware
Bitdefender7.5.1.2002247.1010482026-09-27No virus, no malware

9. Vulnerabilities Fixed

For details, see MindStudio 26.2.0 Vulnerabilities Fixed.xls.

10. More Resources

RepositoryAccess Link
msagenthttps://gitcode.com/Ascend/msagent/releases
msdebughttps://gitcode.com/Ascend/msdebug/releases
msinsighthttps://gitcode.com/Ascend/msinsight/releases
msklhttps://gitcode.com/Ascend/mskl/releases
mskpphttps://gitcode.com/Ascend/mskpp/releases
msmemscopehttps://gitcode.com/Ascend/msmemscope/releases
msmodelinghttps://gitcode.com/Ascend/msmodeling/releases
msmodelslimhttps://gitcode.com/Ascend/msmodelslim/releases
msmonitorhttps://gitcode.com/Ascend/msmonitor/releases
msopgenhttps://gitcode.com/Ascend/msopgen/releases
msopprofhttps://gitcode.com/Ascend/msopprof/releases
msprobehttps://gitcode.com/Ascend/msprobe/releases
msprofhttps://gitcode.com/Ascend/msprof/releases
msprof-analyzehttps://gitcode.com/Ascend/msprof-analyze/releases
msptihttps://gitcode.com/Ascend/mspti/releases
mssanitizerhttps://gitcode.com/Ascend/mssanitizer/releases
mstxhttps://gitcode.com/Ascend/mstx/releases