已合并
【torch profiler】新增torch profiler解析 #48
yinqian创建于 1月6日
【torch profiler】新增torch profiler解析 #48
已合并
yinqian创建于 1月6日
从已删除 :master合入到Ascend/msserviceprofilermaster
yinqian
yinqian成员
1月6日

1. 修改描述

  • 修改原因: 需求支持torch profiler解析 代码反合
  • 修改内容:
  1. ms_service_profiler/data_source/init.py-------------------新增TorchProfilerDataSource
  2. ms_service_profiler/data_source/torch_profiler_data_source.py------------------- 用于获得所有的需要解析的文件夹路径,'*ASCEND_PROFILER_OUTPUT',并且执行解析,将解析后的文件trace.json的路径传给exporter
  3. ms_service_profiler/exporters/exporter_trace.py -------------------将所有的trace.json文件里面的内容拼接到chrome.json

2. 功能验证


3. 代码检视

  • 要求:
    • 合入代码大于 200 行,需三人以上会议检视。
    • 检视密度≥2个/100行。
    • 检视缺陷密度达不到要求的需给出说明。
    • 大于 1000 行代码原则上不允许合入,需进行备案。

4. 安全自检

典型安全编码问题


5. 变更知会

  • 资料修改:
  • 变更通知(消息知会 + 邮件知会):

6. 冒烟修改

  • PR 来源:

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 yinqian 的贡献)
ascend-robot
ascend-robot成员
1月6日 评论:

Thank your for your pull-request.

The full list of commands accepted by me can be found at here.

You can get sig-info at here

likedislike
ascend-robot
ascend-robot成员
1月6日 评论:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
repo-Ascend/msserviceprofiler minghang_c, zhengxinqian, ChenHuiwen, AvadaKedavrua, jiangruitao panyj1993, jhon-117, yaohan404, mjsz11
likedislike
ascend-robotascend-robot成员
1月6日 添加了label:ascend-cla/yes
yinqian
yinqian成员
1月6日 评论:

compile

likedislike
此处折叠了68条消息 查看更多
yinqianyinqian成员
1月14日 修改了pull request 的描述
ascend-robot
ascend-robot成员
1月14日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who wrote a comment of /approve are: mjsz11.
Reviewers who wrote a comment of /lgtm are: ChenHuiwen, mjsz11.

likedislike
ascend-robotascend-robot成员
1月14日 合入了pull request
yinqianyinqian成员
1月14日 修改了pull request 的描述
yinqianyinqian成员
1月14日 修改了pull request 的描述