使用MindStudio Insight工具可视化性能数据
- PyTorch训练场景使用export_type配置为Text或Db格式,生成的性能数据均可以使用MindStudio Insight工具将性能数据可视化。
- 执行msprof-analyze分析时,输出的交付件需要使用MindStudio Insight工具将数据可视化。
操作如下:
- 安装MindStudio Insight。
参见《MindStudio Insight工具用户指南》中的“安装与卸载”章节下载并安装MindStudio Insight。
MindStudio Insight可视化工具推荐在Windows环境使用。
- 双击桌面的MindStudio Insight快捷方式图标,启动MindStudio Insight。
- 导入性能数据。
- 将性能数据采集或执行msprof-analyze分析的性能数据拷贝至Windows环境。
- 单击MindStudio Insight界面左上方“导入数据”,在弹框中选择性能数据文件或目录,然后单击“确认”进行导入,如下所示。图1 导入性能数据(PyTorch训练场景)图2 展示性能数据(PyTorch训练场景)图3 导入性能数据(MindSpore训练场景)图4 展示性能数据(MindSpore训练场景)
- 分析性能数据。
MindStudio Insight工具将性能数据可视化后可以更直观地分析性能瓶颈,详细分析方法请参见《MindStudio Insight工具用户指南》。
父主题: 性能数据分析