调试调优工具概览与安装说明
| 类型 | 名称 | 简介 | 安装指南 |
|---|---|---|---|
| 精度调试 | msprobe | 提供精度数据采集、精度预检、精度比对和溢出检测等精度调试功能。推荐优先选择msprobe 8.2.0版本 | 安装msprobe |
| Tensorboard | 可视化比对工具:为msprobe采集的模型结构和精度数据提供可视化比对功能。仅支持MindSpore>=2.4.0版本。 | 安装tb_graph_ascend | |
| 性能调优 | Profiler | MindSpore框架内置的性能数据采集、分析工具。推荐优先选择MindSpore 2.7.1版本。 | 安装MindSpore |
| msprof-anaylze | 为采集的性能数据提供统计、分析、专家建议等功能。推荐优先选择msprof-anaylze 8.2.0版本 | 安装msprof-anaylze | |
| msleaks | CANN包提供的命令行工具,用于模型训练内存问题定位,提供Step内和Step间的内存异常检测能力,包括Step内内存泄漏分析和Step间内存对比分析。 | 安装MindSpore | |
| MindStudio Insight | 可视化性能调优工具,提供时间线视图、算子耗时、通信瓶颈分析等功能,辅助快速分析模型性能瓶颈。 | 安装MindStudio Insight 查询版本配套关系 |