昇腾社区首页
中文
注册

使用MindStudio Insight工具可视化性能数据

  • PyTorch训练场景使用export_type配置为Text或Db格式,生成的性能数据均可以使用MindStudio Insight工具将性能数据可视化。
  • 执行msprof-analyze分析时,输出的交付件需要使用MindStudio Insight工具将数据可视化。

操作如下:

  1. 安装MindStudio Insight

    参见MindStudio Insight工具用户指南中的安装与卸载章节下载并安装MindStudio Insight

    MindStudio Insight可视化工具推荐在Windows环境使用。

  2. 双击桌面的MindStudio Insight快捷方式图标,启动MindStudio Insight
  3. 导入性能数据。
    1. 性能数据采集执行msprof-analyze分析的性能数据拷贝至Windows环境。
    2. 单击MindStudio Insight界面左上方“导入数据”,在弹框中选择性能数据文件或目录,然后单击“确认”进行导入,如下所示。
      图1 导入性能数据(PyTorch训练场景)
      图2 展示性能数据(PyTorch训练场景)
      图3 导入性能数据(MindSpore训练场景)
      图4 展示性能数据(MindSpore训练场景)
  4. 分析性能数据。

    MindStudio Insight工具将性能数据可视化后可以更直观地分析性能瓶颈,详细分析方法请参见MindStudio Insight工具用户指南